Names and DNS
DNS records
The typed entries of a zone: A for an address, CNAME for an alias, NS for delegation, and more.
A DNS record is one typed entry in a zone. A holds an IPv4 address, AAAA an IPv6 address, CNAME an
alias, MX the mail server, NS the name servers, SRV a service's host and port, TXT free text, SOA
the zone's serial and timers, and PTR, under in-addr.arpa, the name for an address. Each has a TTL:
resolvers cache it that long, so changes arrive as old copies expire.
Read next
- DNS The distributed directory that turns names like bank.lab into addresses.
- Authoritative server A DNS server that holds a zone's records and answers for them with the aa flag.
- Dual stack Running IPv4 and IPv6 side by side; each connection picks one.
- SMTP How mail moves: from a client to its own mail server, then from server to server, found by the domain's MX record.
- Zone transfer How a secondary name server copies a zone from its primary: whole (AXFR) or just the changes (IXFR), prompted by NOTIFY.
- NAT64 and DNS64 How an IPv6-only device reaches an IPv4-only server: DNS64 makes up the address, NAT64 translates the packets.
- DNS response codes The status on every DNS answer: found it, no such name, or couldn't get an answer.
- Virtual host Many sites on one address and port, told apart by the Host header in each request.
- SPF, DKIM and DMARC Three DNS-published policies that let a receiving mail server check that a message really comes from the domain it claims.
- Response policy zone (RPZ) A zone of DNS policy rules a resolver loads, overriding answers for listed names in bulk.