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
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?

MediumTechnical
68 practiced

Your site has about 1,000 clients and a single DHCP server that has just become a single point of failure. What are your options for making DHCP redundant, how do they differ in lease state and failure behavior, and which would you pick and why?

MediumBehavioral
57 practiced

Tell me about a time you debugged a production DNS outage. Use the STAR method: describe the situation, the action(s) you took to identify and mitigate the fault, the tools you used, how you communicated with stakeholders, and what permanent changes you implemented to prevent recurrence.

MediumTechnical
82 practiced

A secondary DNS server has stopped picking up changes made on the primary. How do zone transfers work, what are the usual reasons they fail, and how would you debug and then lock transfers down?

MediumTechnical
78 practiced

Pages load slowly for users on certain ISPs, and you have narrowed it to DNS lookups taking too long. How do you find out whether the delay is in caching, the resolver, the path or the authoritative side?

Unlock Full Question Bank

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

Sign in to Continue

Join thousands of developers preparing for their dream job.