Network Engineer Interview Question

Walk me through how DNS resolution works, and the record types you use most.

What the interviewer is probing, how to structure your answer, and a spoken example you can adapt.

Quick answer

A client asks its configured recursive resolver. If the answer is not cached, the resolver asks a root server, which refers it to the servers for the top-level domain, which refer it to the domain's authoritative servers, which give the answer. Everything is cached for its TTL. Common records are A and AAAA for addresses, CNAME for aliases, MX for mail, PTR for reverse lookups, NS for delegation and TXT for verification.

Why interviewers ask this

DNS sits under almost every application, so network engineers need to understand it well enough to separate a DNS fault from a network fault. The interviewer is checking that you know the difference between recursive and authoritative servers, how caching and TTLs affect changes, and which record types matter. Practical points, such as DNS needing both UDP and TCP on port 53, matter when writing firewall rules.

How to structure your answer

  • Explain the client and the recursive resolver.
  • Walk through root, top-level domain and authoritative servers.
  • Explain caching and TTLs.
  • List the common record types and a practical point.

Example answer

Spoken example, first person

The client has one or two DNS servers configured, usually by DHCP, and those are recursive resolvers. When I look up a name, the client asks the resolver, which checks its cache first. If it has nothing, it asks a root server, which does not know the answer but refers it to the servers responsible for the top-level domain, such as .com or .uk. Those refer it to the authoritative servers for the domain itself, which return the actual record. The resolver caches the answer for the record's TTL and passes it back. That caching is why changes do not appear everywhere at once, so I lower the TTL well before a planned change. The records I use most are A and AAAA for IPv4 and IPv6 addresses, CNAME for aliases, MX for mail servers, PTR for reverse lookups, NS for delegation, and TXT, which carries things like SPF and domain verification. For troubleshooting, I query specific servers with dig or nslookup and compare answers. For firewall rules, DNS needs UDP and TCP port 53, because large responses and zone transfers use TCP.

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 works

Follow-up questions to expect

  • Why would you lower a TTL before a planned change?
  • What is split-horizon DNS, and when is it useful?
  • How would you troubleshoot a name that resolves differently for different users?

Related network engineer 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

Rehearse the hard questions before they are asked

Practise with a live copilot, then walk in ready. A $29 Session Pass gets you through the interview with no subscription and no lock-in.

Get GhostPilot