Pcornel
Networking · IP Services › DNS

A record

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

Back to the Topic

Answer

An A record maps a DNS name to an IPv4 address; resolvers return it for queries of type A.

Remember

  • A/AAAA map names to IPv4/IPv6; CNAME aliases one name; PTR is reverse lookup
  • Recursive and authoritative roles answer different questions
  • UDP 53 is common, while TCP 53 is required for some large replies and zone operations
  • NXDOMAIN, NODATA, SERVFAIL and timeout indicate different boundaries; TTL controls cache lifetime.

First checks

  • dig <name> A +short — IPv4 address
  • nslookup -type=A <name> — Windows/any

Verify in this order

query A → resolver → authoritative → IPv4 address

Where it usually breaks

local configuration → reachability/transport → request/negotiation → server or policy decision → response/state installation → client-visible result

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

Confirmation

Confirm action

Continue?