DHCP automatically gives devices their network settings when they join: an IP address, subnet mask, default gateway and DNS servers, leased for a set time. DNS translates names, such as a website or a server, into IP addresses. A DHCP failure usually looks like no network at all, often with a 169.254 address. A DNS failure looks like the network is up but names cannot be found, while reaching things by IP address still works.
Why interviewers ask this
These two services sit behind a large share of connectivity tickets, so a help desk technician needs to understand what each does and recognise the symptoms. The interviewer is checking that you can explain them simply and connect the theory to real calls. Telling a DHCP problem from a DNS problem in a couple of minutes, using basic commands, means faster fixes and better escalations to the network team.
How to structure your answer
- Explain what DHCP provides and how leases work.
- Explain what DNS does in plain terms.
- Describe the symptoms of each failing.
- Name the commands you use to tell them apart.
Example answer
DHCP is how a device gets its network settings without anyone typing them in. When a laptop joins the network, it asks for an address, and the DHCP server leases it an IP address along with the subnet mask, the default gateway and which DNS servers to use. The lease lasts a set time and the device renews it. DNS is like the internet's phone book. People and applications use names, and DNS turns those names into the IP addresses computers actually connect to. At the help desk, a DHCP problem usually looks like no network at all. Running ipconfig shows a 169.254 address or no address, which means the request went unanswered, perhaps because the scope has run out of addresses or the port is on the wrong network. A DNS problem looks different. The connection is up and I can ping an IP address, but names will not resolve, so websites, email and file shares all fail at once. I use nslookup to see which server answered and what it said. Knowing which one it is means I either fix it quickly or give the network team a precise escalation.
Walking into this interview soon? GhostPilot listens to your live call, spots the question the moment it is asked, and puts a structured answer on your screen in real time. Try it on your next mock, or grab a $29 Session Pass, no subscription, for the real thing.
See how it worksFollow-up questions to expect
- What would you check if only one website would not load?
- What does flushing the DNS cache actually do?
- What happens when a DHCP scope runs out of addresses?
Related help desk technician questions
Your interviewer will ask their own version of this. Paste your actual job description into the free Question Predictor and get the 20 questions that role is most likely to ask, with what each one is really probing.
Predict my questions