Use it when IPv6 clients connect to the wrong address or fall back to IPv4.
AAAA record
An AAAA record maps a DNS name to an IPv6 address; dual-stack clients usually ask for both A and AAAA and prefer IPv6 when it works.
1. AAAA maps a name to an IPv6 address.
2. Clients prefer IPv6 if AAAA exists.
3. Broken IPv6 with AAAA causes delays.
4. Test IPv6 reachability when publishing.
5. Keep A and AAAA consistent.
query AAAA → resolver → authoritative → IPv6 address
Context & applicabilityCommon mistakes · platform/version boundaries
- AAAA published for a service that does not listen on IPv6.
- Firewalls allowing IPv4 but not IPv6 to the same service.
- Resolvers filtering AAAA (
filter-aaaa) unexpectedly.
Test both: curl -4 and curl -6, or Test-NetConnection -ComputerName host -Port 443 with each address.
Operational reference
Fast context before you go deeper.
dig AAAA www.example.com +shortVerification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Commands Verify boundary
dig AAAA www.example.com +short
Resolve-DnsName www.example.com -Type AAAA
curl -6 -I https://www.example.com
If AAAA resolves but curl -6 fails, the service or path does not support IPv6 even though DNS says it does.
Step 2 Verification & troubleshooting Narrow the fault
1. Record queried name/type and resolver.
2. Test reachability and UDP/TCP 53.
3. Query the recursive resolver.
4. Trace delegation/authority when needed.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- A/AAAA map names to IPv4/IPv6; CNAME aliases one name; PTR is reverse lookup
- Recursive and authoritative roles answer different questions
- UDP 53 is common, while TCP 53 is required for some large replies and zone operations
- NXDOMAIN, NODATA, SERVFAIL and timeout indicate different boundaries; TTL controls cache lifetime.
dig <name> AAAA +short— IPv6 addressResolve-DnsName <name> -Type AAAA— Windows
ReferenceWhat it is1 section · depth on demand
Dual stack behaviour
Clients query A and AAAA and normally prefer IPv6 (RFC 6724), using Happy Eyeballs to fall back to IPv4 quickly if IPv6 fails. A broken IPv6 path with a published AAAA record causes slow connections, so publish AAAA only when IPv6 really works. dig name AAAA +short.
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
AAAA records
An AAAA record maps a name to an IPv6 address. RFC 3596 defines the type with value 28, storing one 128-bit IPv6 address in network byte order; a host with several IPv6 addresses has several AAAA records.
Format
www.example.net. 300 IN AAAA 2001:db8:10:20::80
Reverse lookups (RFC 3596)
IPv6 reverse names live under IP6.ARPA: the address is written nibble by nibble (each hex digit), lowest-order first, followed by .ip6.arpa. For 2001:db8:10:20::80:
0.8.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.0.1.0.0.8.b.d.0.1.0.0.2.ip6.arpa. IN PTR www.example.net.
Additional section (RFC 3596)
A direct AAAA query doesn't trigger additional-section processing, but answers to NS, SRV and MX queries must include both A and AAAA addresses for the named hosts when available locally.
host$ dig +short www.example.net AAAA
2001:db8:10:20::80
host$ dig +short -x 2001:db8:10:20::80
www.example.net.
host$ curl -6 -sI https://www.example.net | head -1
HTTP/2 200
R1# show hosts | include example
Dual stack behaviour
| Client behaviour | Effect |
|---|---|
| Ask for both A and AAAA | Most clients query both |
| Prefer IPv6 when reachable | Address selection rules prefer IPv6 |
| Happy Eyeballs | Race IPv6 and IPv4 connections; fall back quickly |
Pitfalls
| Pitfall | Symptom |
|---|---|
| AAAA published, IPv6 path broken | Slow connections or timeouts for IPv6-capable clients |
| No AAAA for a dual-stack service | IPv6 clients use IPv4 only |
| Missing reverse zone | Logs and some checks show addresses instead of names |
Publish AAAA records only for services that are actually reachable over IPv6.
Documented example, not captured output.
Quick reference
An AAAA ("quad-A") record is the IPv6 equivalent of an A record. Dual-stack clients query both and normally prefer IPv6, so publishing an AAAA record is effectively a promise that the service works over IPv6. If that promise is broken, users see slow connections or failures even though the IPv4 path is fine.
AAAA records map names to IPv6 addresses. Dual-stack clients prefer IPv6 when available (RFC 6724, Happy Eyeballs falls back quickly if IPv6 fails).
dig +short www.example.com AAAA
Resolve-DnsName www.example.com -Type AAAA
Publishing an AAAA record for a service that is not actually reachable over IPv6 causes delays or failures for IPv6-capable clients — test IPv6 end to end before adding AAAA.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in IP Services → DNS → AAAA record. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc1034.html · confidence 94%