Record type reference
AAAA Record
An AAAA record (pronounced "quad A") maps a hostname to an IPv6 address. It is the IPv6 counterpart of the A record, and a dual-stack name publishes both.
AAAA record at a glance
| Field | Value |
|---|---|
| Type code | 28 |
| Defined in | RFC 3596 |
| Value | One IPv6 address, such as 2001:db8::10 |
| Allowed at the apex | Yes |
| Can share a name with | A, MX, TXT and most other types, but never a CNAME |
Here is how an AAAA record looks in a zone file:
example.com. 3600 IN AAAA 2001:db8::10
www.example.com. 300 IN AAAA 2001:db8::10
The name AAAA comes from the address size: an IPv6 address is 128 bits, four times the 32 bits of an IPv4 A record.
How clients choose between A and AAAA
A dual-stack client usually asks for both record types at once. Modern operating systems and browsers then use "Happy Eyeballs" (RFC 8305): they try IPv6 first and start an IPv4 attempt a fraction of a second later if IPv6 has not connected, then keep whichever wins. Users on a broken IPv6 path still get a working connection, only slightly later.
Older software that lacks Happy Eyeballs may wait for a full IPv6 timeout before falling back. That is why a published AAAA record must point at an address that really serves the site: a dead AAAA is worse than none.
Writing IPv6 addresses
IPv6 addresses are eight groups of hexadecimal digits. Leading zeros in a group can be dropped, and one run of all-zero groups can be replaced with ::, so 2001:0db8:0000:0000:0000:0000:0000:0010 is written 2001:db8::10. DNS servers store the address as 16 bytes, so any valid form you type gives the same record.
Reverse lookups for IPv6 use PTR records under ip6.arpa, one label per hex digit, reversed. The PTR record page shows the format, and IPv4 vs IPv6 covers the wider differences.
How to look up an AAAA record
Each tool below sends the query to your default resolver unless you name a server. Swap in your own domain for example.com, and add a public resolver such as 1.1.1.1 to compare answers with what your network sees.
dig (macOS, Linux, WSL)
| Command | What it does |
|---|---|
| dig example.com AAAA | The full answer, with TTL and flags |
| dig +short example.com AAAA | Only the IPv6 addresses |
| dig @2606:4700:4700::1111 example.com AAAA | Ask Cloudflare over IPv6, which also tests your own IPv6 path |
| dig @ns1.example.com example.com AAAA +norecurse | Ask the authoritative server directly |
nslookup (Windows, macOS, Linux)
| Command | What it does |
|---|---|
| nslookup -type=AAAA example.com | IPv6 addresses from your default DNS server |
| nslookup example.com | Both A and AAAA records in one answer |
| nslookup -type=AAAA example.com 8.8.8.8 | The same question, asked of Google Public DNS |
PowerShell (Windows)
| Command | What it does |
|---|---|
| Resolve-DnsName -Name example.com -Type AAAA | AAAA records with TTL and IP address columns |
| Resolve-DnsName example.com | Both A and AAAA records (the default type, A_AAAA) |
| Resolve-DnsName example.com -Type AAAA -Server 1.1.1.1 -DnsOnly | Ask a specific resolver, DNS only |
| Test-NetConnection example.com -Port 443 | Check that the address you got actually accepts connections |
Common mistakes
- Publishing AAAA before IPv6 works end to end. Test the address from an IPv6 network before you add the record.
- Copying an address with a typo in the shortened form. Using :: twice is invalid; providers usually reject it, but a misplaced group silently points somewhere else.
- A firewall that allows IPv4 but not IPv6. Rules are often written per protocol. A site that works on IPv4 can time out on IPv6 for the same reason.
- Forgetting AAAA when the CDN supports it. If your CDN gives you IPv6 addresses or a CNAME target, IPv6 users get a faster path for free.
AAAA records in Domain Visualizer
Domain Visualizer looks up AAAA records at the apex and at www on every scan, and at common subdomains in an advanced scan. Click an address to see its IP details, including network owner, ASN and reverse DNS.
FAQ
Is an AAAA record required?
No. A site works without one for IPv4 users. Adding AAAA lets IPv6-only and IPv6-preferring networks reach you directly, which is increasingly common on mobile networks.
Why is it called AAAA?
An A record holds a 32-bit IPv4 address. An IPv6 address is 128 bits, four times as long, so the record was named with four As.
Can a CNAME target have AAAA records?
Yes. Resolvers follow the CNAME and return whatever A and AAAA records exist at the target name.