Pcornel
Networking · Network & Protocols

DNS Protocol Reference

Cheat sheet · https://pcornel.dk/topic.php?topic=6251

Back to the Topic

Answer

These references follow a DNS answer from the resolver through delegation to the authoritative server, including caching and response size.

Remember

  • NXDOMAIN and NODATA are cached for the SOA negative TTL.
  • TC=1 makes the resolver retry over TCP.
  • Missing glue breaks in-zone name servers.

First checks

  • dig <name> +trace — delegation
  • nslookup <name> <server> — specific server
  • show hosts — device cache

Commands

nslookup
dig

Verify in this order

client → resolver → root → TLD → authoritative → cached answer

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=6251

Confirmation

Confirm action

Continue?