Free online tool · CertCrack Tools · Network+ N10-009

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

ServicePortsKey fact
DNSUDP and TCP 53DHCP option 006 hands out the DNS server addresses
DHCPUDP 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"

SCENARIO 1 · DNS

What the user reports:

Exhibit — the faulty PC's ipconfig /all output:

IPv4 Address . . . . . . . . . . : 192.168.1.45 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 192.168.1.1 DNS Servers . . . . . . . . . . . : 192.168.1.99 Correct DNS server on this network: 192.168.1.10 Ping to 192.168.1.99: Request timed out.

1. What is the root cause?

2. What is the fix?

Scenario 2 — "New laptops get no network at all"

SCENARIO 2 · DHCP SCOPE

What the user reports:

Exhibit — the DHCP scope status:

Scope: 192.168.10.0/24 Total addresses . . . . . : 254 usable Addresses leased . . . . : 254 Addresses free . . . . . : 0 New client address: 169.254.41.17 (APIPA)

1. What is the root cause?

2. What is the fix?

Scenario 3 — "Some PCs get the wrong gateway"

SCENARIO 3 · ROGUE DHCP SERVER

What the user reports:

Exhibit — ipconfig /all on a good PC and a bad PC:

Good PC (on all week): IPv4 Address . . : 192.168.1.50 Default Gateway : 192.168.1.1 DNS Servers . . .: 192.168.1.10 DHCP Server . . .: 192.168.1.5 Bad PC (restarted today): IPv4 Address . . : 192.168.1.87 Default Gateway : 10.9.9.1 DNS Servers . . .: 10.9.9.1 DHCP Server . . .: 10.9.9.1

1. What is the root cause?

2. What is the fix?

Scenario 4 — "The server moved, but we still reach the old one"

SCENARIO 4 · STALE DNS RECORD

What the user reports:

Exhibit — the DNS zone and a client lookup:

DNS zone record (unchanged since last month): files A 192.168.1.20 TTL 86400 Server's new address: 192.168.1.60 C:\> nslookup files Name: files Address: 192.168.1.20 (the old address)

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

More free tools

Subnet CalculatorNetwork, broadcast & usable hosts for any CIDR Network+ Interactive LabPacket journey, config PBQ & step ordering VLSM CalculatorCarve one network into right-sized subnets Common Ports QuizQuiz & flashcards for the well-known ports OSI Model QuizLearn the 7 layers and test yourself All Free ToolsThe CertCrack tools hub