Systems Administrator Interview Question

How do you troubleshoot a DNS problem?

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

Quick answer

Confirm it really is DNS: if connecting by IP works but by name fails, it probably is. Check which DNS server the client uses, query that server directly with nslookup or dig, and compare its answer with the authoritative server. Look at caching and TTLs on the client and resolvers, recent record changes and forwarders, and in Active Directory, whether the client points only at the domain's DNS servers rather than a public resolver.

Why interviewers ask this

DNS sits under almost everything, so when it breaks, the symptoms look like every other kind of failure. The interviewer wants a methodical approach: confirm the layer, identify which server answered, compare with the authoritative source, and consider caching. In Windows environments, knowing that domain members must use the domain's DNS servers or they cannot find domain controllers is a very common real cause they hope you mention.

How to structure your answer

  • Confirm the problem is name resolution, not connectivity.
  • Identify the client's resolver and query it directly.
  • Compare with the authoritative answer and check caching.
  • Check Active Directory specifics and recent changes.

Example answer

Spoken example, first person

First I make sure it actually is DNS. If I can reach the server by its IP address but not by name, it almost certainly is, whereas if the IP fails too it is a network or service problem. Then I check which DNS servers the client is configured to use, because the answer depends entirely on who you ask. I query that server directly with nslookup on Windows or dig on Linux, then ask the authoritative server for the zone and compare the answers. If they differ, it is usually caching: a record changed but the old answer is still cached until its TTL expires, on a resolver or on the client, so I flush the client cache and check the record's TTL. In Active Directory environments, the classic cause is a machine pointed at a public resolver or the router instead of the domain controllers. It browses the internet happily but cannot find the domain, because the service records that locate domain controllers only exist in internal DNS. I also check for recent record changes and stale conditional forwarders.

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

  • What is the difference between a recursive resolver and an authoritative server?
  • Why would you lower a record's TTL before a planned change?
  • How would you find out why a computer cannot locate a domain controller?

Related systems administrator 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