DNS, DHCP, and Name Resolution Questions

How names and addresses are served and kept working on a network. DNS: resolution flow (stub, recursive, authoritative, root/TLD referrals), host-side resolver configuration and why one machine or process resolves differently from another, record types and their pitfalls (including apex aliasing, MX, SRV and CAA use), zones, delegation and glue, caching, TTL and negative caching, split-horizon and private zones, reverse DNS, zone transfers (AXFR/IXFR, TSIG), DNSSEC and key rollover, resolver and authoritative fleet design, forwarding versus running recursion, encrypted DNS (DoH/DoT), truncation, TCP fallback and EDNS, DNS-layer attacks (cache poisoning, amplification, spoofed-source floods), DNS health from the user's point of view, and DNS changes, mail and registrar migrations and outages. DHCP: address assignment and leases, scopes and sizing, reservations, relay across VLANs including relay agent information (option 82), redundancy and failover, and rogue or exhausted-scope failures. Includes diagnosing resolution failures that masquerade as wider outages. Excludes the layered network fault-isolation method and general packet capture, Active Directory-integrated DNS on domain controllers, DNS-based service registries for microservices, load-balancing algorithm design and global traffic steering, incident-command process and SLO or error-budget design, and generic scripting or infrastructure-as-code tooling.

MediumTechnical
108 practiced

You are paged: customers in one region cannot reach api.example.com. How do you isolate whether the cause is DNS, the network or the service itself?

MediumTechnical
66 practiced

An internal DNS server answers for your company's names but every lookup for external names times out or fails. How do you find the cause and fix it?

MediumTechnical
70 practiced

How can an attacker get a resolver to cache a forged answer, and what makes the attack hard today? What would you still worry about?

EasyTechnical
84 practiced

Which DNS record types would you expect to find in a typical production zone, what is each one for, and which one has bitten you or a colleague with a subtle operational pitfall?

EasyTechnical
84 practiced

What is the difference between a stub resolver, a recursive resolver and an authoritative server, and where does each usually live? How does the client-side configuration on a host influence which one an application ends up talking to?

Unlock Full Question Bank

Get access to all 39 DNS, DHCP, and Name Resolution interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.