Bitzu

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

Single choice

Which record type maps a hostname to an IPv6 address?

  1. A
  2. AAAA
  3. PTR
  4. 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.

Select all that apply

Which statements about reverse DNS and zones are correct?

  1. PTR records map an IP address to a name
  2. IPv4 reverse zones live under in-addr.arpa
  3. IPv6 reverse zones live under ip6.arpa
  4. A forward zone mainly holds PTR records
  5. 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

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.

Download on the App StoreGet it on Google Play

More N10-009 topics in this module