Introduction
An address, a default route and a DNS resolver answer three different questions. A domain also needs authoritative servers and records. Use a configuration worksheet to place each value on the system that consumes it.
Give the interface an address and a route
For a conventional IPv4 LAN, select a host address inside the assigned subnet and outside conflicting leases or reservations. The configured mask identifies the connected prefix. Off-link traffic follows a matching route, often a default via a router on that LAN.
DHCP can distribute the address, prefix information, router and resolver settings. In IPv6, Router Advertisements can identify default routers and on-link prefixes. Address formation and DNS configuration can use additional mechanisms depending on the design.
Connect the application and the resolver
The client's recursive resolver answers name lookups by using cached data or following the DNS hierarchy. An authoritative service publishes records for the zone it hosts. A machine can use a recursive resolver operated by a different organization from the authoritative servers for its domain.
Set up delegation and records
Create the child zone with its intended NS and SOA data and the required service records. The parent zone delegates authority using NS records. For a registered domain, the registrar typically forwards the nameserver selection to the registry. For a delegated subdomain, its existing parent zone supplies that delegation.
When a delegated child uses a nameserver whose name lies inside that child, parent-side address glue breaks the circular dependency. Keep the glue consistent with the authoritative address records. For a DNSSEC-signed delegation, coordinate the parent's DS with the child's active key material.
Diagram
- Client asks resolver
- Parent supplies delegation
- Child serves address
- Client opens application
Worked examples
Document a branch office service
- The sample LAN is 192.0.2.64/26. Its bounds are .64 and .127. Reserve 192.0.2.65 for the router and assign 192.0.2.83 to the application server.
- Delegate branch.example. from the example parent to ns1.branch.example. and a second authoritative server. Supply the required parent glue for the in-child server and publish matching address data in the child.
- In the child zone, publish portal.branch.example. with an A record for 192.0.2.83. Verify the effective interface settings, parent referral and child record separately in the configuration records. These example names and numbers illustrate the worksheet.
IPv4 Subnet Calculator: Size a LAN for 28 workstations and one gateway
- Count 29 interface addresses. A /28 contains 16 addresses and supplies 14 ordinary LAN host positions. A /27 contains 32 and supplies 30.
- For 198.51.100.100/27 the fourth-octet boundaries are multiples of 32. The input falls in the block beginning at 96 and ending at 127.
- The interface range is 198.51.100.97 through 198.51.100.126. Assigning 28 workstations and one gateway leaves one position for another interface.
Reference table
| Value | Configured at | Purpose |
|---|---|---|
| Address and prefix | Interface or provisioning service | Local identity and connected prefix |
| Default route | Host or router | Fallback next hop |
| Recursive resolver | Client configuration | Name lookups |
| Delegation and glue | Parent zone | Locate child authority |
| A or AAAA | Authoritative zone | Publish service address |
Configuration example
- Example server profile: 192.0.2.83/26, gateway 192.0.2.65, resolver supplied by the site's configuration policy.
- Example child record in zone-file notation: portal.branch.example. 300 IN A 192.0.2.83. The final dots mark absolute names. Web control panels may instead expect a label relative to the zone.
Common mistakes
- Changing the recursive resolver field to a domain's authoritative server without confirming that it provides recursion.
- Publishing the child's NS records but leaving the parent delegation pointing to a previous provider.
Frequently asked questions
Is the gateway always the first usable IPv4 address?
A site chooses the router's address. The first usable address is one possible convention. Consult the actual LAN plan.
Does publishing an AAAA record configure the server's IPv6 service?
An AAAA record advertises an IPv6 destination. The interface, routing, application listener and access policy must also support that destination.
Should a host address be configured manually or by DHCP?
Follow the network's addressing policy. DHCP simplifies managed assignment; a reservation can provide a stable lease. Manual settings need coordination to avoid pool conflicts.
Why keep a record of the previous configuration?
A saved baseline makes a change reversible and gives a comparison if connectivity fails. Record the old values before editing a production or shared interface.
Can the DNS server and default gateway use the same address?
They can when one router provides both services, but their roles remain separate. A valid gateway does not guarantee that its DNS service is working.
What should be checked after changing an address or prefix?
Verify the interface state, address and prefix, local-subnet reachability, gateway route, DNS resolution, and the intended application. Check for address conflicts and restore the prior settings if necessary.
What should a static IP change include?
Confirm address, prefix, gateway, DNS resolver, address reservation policy, and conflict status. Changing only the address can leave the host unable to route or resolve names.
How does a subnet prefix affect local delivery?
The host uses the prefix to decide whether a destination is on-link. An incorrect prefix can cause it to ARP or use neighbor discovery for the wrong next hop.
When should a network change be scheduled?
Use the site's change process, an approved maintenance window, a saved rollback path, and an authorized administrator when shared users or devices may be affected.
Can a DNS server be reachable while queries fail?
Yes. Reachability to the host does not ensure the DNS service is listening, permitted by policy, or returning valid answers. Test the service and query response separately.
What is the difference between static and dynamic DNS configuration?
A host can be configured with resolver addresses manually or receive them through a network configuration service. The chosen method should match the organization's policy and failover design.
What happens if the subnet mask is too broad?
The host may treat a remote address as on-link and try neighbor resolution instead of sending it to the gateway. That can prevent traffic from reaching destinations outside the actual LAN.
What is a DNS search suffix?
It is a domain suffix a resolver or client may append to short, unqualified names. Its use can affect which full name is queried and should follow the intended local naming policy.
Can a gateway address be outside the configured subnet?
Ordinary host configurations expect an on-link next hop, though platform-specific routing can provide exceptions. A mismatched gateway and prefix commonly prevents neighbor resolution.
Why use a rollback plan for network changes?
A change can remove the management path or interrupt dependent services. A tested rollback provides a way to restore connectivity if verification fails.

