What is an AAAA record?
Reviewed by Prabath Thalangama · Last updated
An AAAA record maps a host name to an IPv6 address, the 128-bit counterpart of an A record. Clients with IPv6 connectivity usually try it first. This lookup lists every IPv6 address a name resolves to, so you can confirm the address is published and matches what your server actually listens on.
Publishing an AAAA record is a promise that the service works over IPv6. If the address is wrong, or the firewall blocks IPv6, dual-stack clients may wait for a timeout before falling back to IPv4, which looks like a slow or broken site to some visitors only.
Having no AAAA record is fine and is reported as information only.
How do I check a domain's IPv6 address?
- Enter the host name.
- Compare each address with the IPv6 address configured on the server or load balancer.
- Test that the service answers on that address before keeping the record.
How to read the results
- value
- Each IPv6 address in compressed form, for example 2001:db8::10.
- No AAAA records found
- The name has no IPv6 address. Clients connect over IPv4 only.
Common AAAA record problems
Site is slow or fails for some users only
The AAAA record points at an address that doesn't answer. Fix IPv6 on the server and firewall, or remove the record until it works.
curl -6 -v https://example.com/Mail rejected over IPv6
Receivers apply SPF and reverse DNS to the IPv6 address too. Add the address to SPF (ip6:) and set a PTR record for it.
Examples and command-line equivalents
Look up and test IPv6
dig +short AAAA example.com
curl -6 -I https://example.com/
ping -6 example.comFrequently asked questions
Do I need an AAAA record?
Not to be reachable, since nearly every IPv6 client can still reach IPv4. Add one when your server has working IPv6; many mobile networks are IPv6-first, so it can improve the connection for them.
Can a name have both A and AAAA records?
Yes, and that is the normal dual-stack setup. Clients choose between them using the Happy Eyeballs algorithm, which tries IPv6 first and falls back quickly.
Further reading
- IPv6 for People Who Know IPv4
- RFC 3596: DNS Extensions to Support IPv6
- RFC 8305: Happy Eyeballs Version 2
- Run a full Super Scan to check DNS, email, website and TLS for a domain at once.