Skip to content
Dispatching · New York Metro
(347) 262-9435
Field guide · Networking & wireless

DHCP and DNS

How a device gets an address, why that stops working the moment you add a VLAN, and what a helper address does about it. Then the other half: what DNS is actually being asked, why resolution failures look like everything else, and the specific misconfigurations that produce a network which pings by address and fails by name.

Plate 01Procedure

Doing it

Why a request never arrives, and what to configure so it does — then the resolution half, which fails in a way that looks like everything else.

  1. 01

    Understand why DHCP stops at the VLAN boundary

    A client with no address broadcasts to find a server. Broadcasts do not cross a router, and a VLAN boundary is a router. So a scope that works perfectly on the VLAN the server sits in does nothing at all for the VLAN you just created — not because the scope is wrong, but because the request never arrives.

  2. 02

    Put the helper on the client's gateway, not the server's

    A helper address — `ip helper-address` on Cisco, DHCP relay elsewhere — tells the router to take that broadcast, turn it into a unicast, and forward it to the server. It goes on the interface serving the clients that need addresses. Configuring it on the wrong side is the most common reason a correct-looking helper does nothing.

    CautionThe helper also forwards several other broadcast services by default. On a segment you do not fully trust, restrict which ones rather than relaying everything.

  3. 03

    Make the scope match the subnet the request came from

    The relay stamps the request with the interface address it arrived on, and the server picks the scope matching that subnet. If no scope matches, the server declines silently — there is no error at the client beyond a self-assigned address. Check the scope's subnet against the router interface, not against what you meant to build.

  4. 04

    Reserve rather than statically assign

    A reservation keeps the address in the server's view of the world, so the next person can see it, and it still hands out the current gateway and DNS. A static address on the device itself is invisible to everything and silently wrong the day the gateway changes. Reserve printers, access points and cameras; statically address the infrastructure that has to come up before DHCP does.

  5. 05

    Hand out DNS servers that can answer for the domain

    On a network with an internal domain, clients must use the internal resolvers — pointing them at a public resolver is the fastest way to break name resolution for everything internal while leaving the internet working. That asymmetry is exactly why it gets misdiagnosed as a general network problem.

    CautionMixing an internal and a public resolver in the same client list is worse than either alone. Whichever answers first wins, so the failure becomes intermittent.

  6. 06

    Test resolution separately from connectivity

    Ping an address, then ping a name. Working by address and failing by name is a resolution problem and nothing else. Query a specific server directly rather than relying on the client's own order, so you find out which resolver is answering rather than that something is.

Plate 02Questions
Questions people actually ask
What does ip helper-address actually do?
It turns a client's DHCP broadcast into a unicast aimed at your DHCP server, so a request can cross a router that would otherwise drop it. It goes on the router interface facing the clients, not the one facing the server. It also relays several other broadcast-based services by default, which is worth restricting on segments you do not fully trust.
I added a VLAN and nothing gets an address. Why?
Almost always the missing helper. The clients are broadcasting, the router is not forwarding those broadcasts, and the server never hears the request. The second most common cause is a helper that is configured but a scope that does not match the subnet the relay stamped on the request — the server then declines without telling the client why.
Reservation or static IP?
Reservation for almost everything — printers, access points, cameras, anything that needs a predictable address but is not infrastructure. The address stays visible in one place and the device keeps receiving current gateway and DNS settings. Statically address only what must come up before DHCP does: the DHCP server, core routing, and management interfaces.
Why is it always DNS?
Because DNS fails in a way that resembles everything else. A resolution failure produces a timeout, not an error saying resolution failed, so it looks like a down server, a firewall rule, or a broken route. The one-second test is pinging by address and then by name: if the first works and the second does not, stop looking at the network.
Can I just use a public resolver everywhere?
Only on a network with no internal domain. If there is an internal DNS zone, a public resolver cannot answer for it, so internal names break while the internet keeps working — which is exactly the pattern that gets misdiagnosed for hours. Hand out internal resolvers and let them forward outward.
Plate Other guides

The rest of the section

Free guidesNo sign-upNothing trackedWritten on the job
Rather it was just done

We do this work
as well as document it

Anyone who has just created a VLAN and found nothing on it gets an address, or is staring at a machine that pings by IP and not by name.

Or call and speak to someone who does the work(347) 262-9435inquiries@jcitsystems.com