What is an AAAA record?
An AAAA record ("quad A") maps a name to an IPv6 address. It does the same job as an A record, for the newer and much larger IPv6 address space.
Most sites publish both. Devices with IPv6 connectivity prefer the AAAA record and fall back to the A record.
How to read an AAAA record
In a zone file, the record looks like this:
example.com. 300 IN AAAA 2001:db8:85a3::8a2e:370:7334
- The name the record belongs to.
- The TTL in seconds.
- The IPv6 address, written in hexadecimal groups. A double colon stands for a run of zeros.
From the command line
Look up AAAA records without this site.
On macOS and Linux, use dig:
dig example.com AAAA +short
On Windows, use nslookup:
nslookup -type=AAAA example.com
To skip caches, ask one of the domain’s nameservers directly: dig @ns1.example.net example.com AAAA. The “Its own nameservers” option on the result page does the same.
Questions and answers
My domain has no AAAA record. Is that a problem?
The site still works, because nearly every network can also reach IPv4. But IPv6-only clients need a translation gateway to reach you, and some mobile networks are faster over IPv6.
Do I need an AAAA record for my mail server?
No. Mail is delivered over IPv4 when there is no AAAA record. If you add one, make sure the address also has a reverse DNS (PTR) record, or receivers may reject your mail.