Table of ContentsLibraryView in Frames

How DNS resolves host names

DNS uses A and AAAA (called quad A) records for resolving a domain name to an IP address. To determine a host name based on the IP address, DNS uses the reverse lookup.

The A record can store a 32-bit address and is used to resolve IPv4 addresses. The AAAA record can store a 128-bit address and is used to resolve IPv6 addresses.

IPv4 reverse DNS lookups use the in-addr.arpa domain. An IPv4 address is represented in the in-addr.arpa domain by a sequence of bytes, represented as decimal numbers, in reverse order. The numbers are separated by dots and end with the suffix .in-addr.arpa.

IPv6 reverse DNS lookups use the ip6.arpa domain. An IPv6 address is represented as a name in the ip6.arpa domain by a sequence of nibbles, represented as hexadecimal digits, in reverse order. These nibbles are separated by dots and end with the suffix .ip6.arpa.

Example

IP address Reverse lookup domain name
192.168.25.10 192.168.25.10.in-addr.arpa
2001:0db8:85a3:0:0:8a2e:0370:99 2.0.0.1.0.d.b.8.8.5.a.3.0.0.8.a.2.e.0.3.7.0.9.9.ip6.arpa