DNS / DHCP Troubleshooting Lab
Four "what's broken?" scenarios, each with a real exhibit to read. For every scenario, pick the root cause and the fix — then grade it and read why the right answer is right and the tempting answers are wrong.
The approach: IP first, then DNS, then the server
When a user says "the network is down", work in this order and you will find the fault fast. First, check the IP: does the PC have a valid address, subnet mask and default gateway, or has it fallen back to an APIPA address in the 169.254.0.0/16 range, which means DHCP never answered? Second, check DNS: can the PC reach a site by its IP address but not by its name? If yes, the path is fine and name resolution is the problem — check which DNS server the PC is using and whether that server answers. Third, check the server: is the DHCP scope full, is a second server answering that should not be, or is a DNS record out of date? Each scenario below breaks at exactly one of those three steps — read the exhibit, find which step fails, and the cause follows.
Quick reference
| Service | Ports | Key fact |
|---|---|---|
| DNS | UDP and TCP 53 | DHCP option 006 hands out the DNS server addresses |
| DHCP | UDP 67 (server) and 68 (client) | No answer from a server → the client self-assigns an APIPA address, 169.254.0.0/16 |
| DNS cache | — | ipconfig /flushdns clears the client's resolver cache |
| Rogue DHCP | — | DHCP snooping on the switch blocks DHCP replies from untrusted ports |
Scenario 1 — "Websites won't load, but I can ping the IP"
What the user reports:
- Every website fails to load by name — "this site can't be reached".
- Pinging a site by its IP address works fine.
- Other PCs in the same office browse normally.
Exhibit — the faulty PC's ipconfig /all output:
1. What is the root cause?
2. What is the fix?
Scenario 2 — "New laptops get no network at all"
What the user reports:
- Existing PCs work fine, but every newly connected device gets no network access.
- The new devices show an address starting 169.254.x.x.
- Nothing on the DHCP server was changed this week — the office just hired twenty new starters.
Exhibit — the DHCP scope status:
1. What is the root cause?
2. What is the fix?
Scenario 3 — "Some PCs get the wrong gateway"
What the user reports:
- Only some PCs have problems — the ones that restarted this morning.
- Affected PCs cannot reach the internet, though they can reach each other.
- The PCs that have been on all week are fine.
Exhibit — ipconfig /all on a good PC and a bad PC:
1. What is the root cause?
2. What is the fix?
Scenario 4 — "The server moved, but we still reach the old one"
What the user reports:
- The file server moved to a new IP address last night.
- Clients typing
filesstill reach the old address — and fail. - Connecting to the server by its new IP address works fine.
Exhibit — the DNS zone and a client lookup:
1. What is the root cause?
2. What is the fix?
Your total across all four scenarios
— / 8
Grade each scenario above — your total updates as you go. 8 of 8 means you can read an exhibit and name the fault like the exam wants.
DNS and DHCP show up on Network+ — practice free
Try the free 30-question Network+ sample and the full interactive lab, then work through 800 practice questions in 8 weighted tests.
Free Network+ SampleInteractive Lab