N10-009 ยท Disaster recovery and network services
DNS record types and zones
A, AAAA, CNAME, MX, TXT, NS, PTR; forward and reverse zones; hosts file.
Key points
- A = name to IPv4
- AAAA = name to IPv6
- CNAME = alias pointing to another name
- MX = mail servers for a domain (with priority)
- TXT = free text, used for SPF/DKIM and verification
- NS = the name servers of a zone
- PTR = IP back to a name.
- Forward zones map names to addresses; reverse zones (in-addr.arpa, ip6.arpa) hold PTR records.
- The local hosts file is checked as a static name-to-IP source.
Practice questions
Which record type maps a hostname to an IPv6 address?
- A
- AAAA
- PTR
- CNAME
Show answer
Answer: B. AAAA
AAAA holds IPv6 addresses. A holds IPv4, PTR maps address back to name, and CNAME is only an alias.
Which statements about reverse DNS and zones are correct?
- PTR records map an IP address to a name
- IPv4 reverse zones live under in-addr.arpa
- IPv6 reverse zones live under ip6.arpa
- A forward zone mainly holds PTR records
- A reverse zone is required before a hostname can resolve to an IP
Show answer
Answer: A. PTR records map an IP address to a name, B. IPv4 reverse zones live under in-addr.arpa, C. IPv6 reverse zones live under ip6.arpa
Reverse lookups use PTR records in in-addr.arpa (IPv4) or ip6.arpa (IPv6) zones. Forward zones hold A/AAAA; PTR records do not live in forward zones by default and are not required for name-to-IP lookups.
True or false: a CNAME record maps a name directly to an IP address.
Show answer
Answer: False
A CNAME maps a name to another name (an alias), which is then resolved through its own A or AAAA record.
Practice 8 questions on this topic in Bitzu
Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.
