DNS AAAA Record (IPv6)
Prepare your domain for the Internet of tomorrow with IPv6.
The DNS AAAA record (pronounced "quad-A") is the IPv6 equivalent of the A record. It maps a domain name to an IPv6 address, the next-generation Internet protocol. With IPv4 address exhaustion, IPv6 is becoming increasingly important for universal accessibility of your site.
IPv6 addresses offer a virtually unlimited address space (340 sextillion addresses) compared to 4.3 billion for IPv4. Many ISPs and mobile networks now use IPv6 natively. Without an AAAA record, these users must go through transition mechanisms that can degrade performance.
Adding an AAAA record to your domain improves accessibility, performance for IPv6 users, and prepares your infrastructure for the future. MoniTao monitors your AAAA records just like A records.
What is an AAAA Record?
The AAAA record maps a domain name to an IPv6 address:
- IPv6 format: An IPv6 address contains 128 bits in hexadecimal notation, separated by colons. Example: 2001:0db8:85a3:0000:0000:8a2e:0370:7334.
- Shortened notation: Consecutive zeros can be abbreviated with ::. The above address becomes: 2001:db8:85a3::8a2e:370:7334.
- A/AAAA coexistence: A domain can have both A and AAAA records. Clients choose IPv4 or IPv6 based on their connectivity (dual-stack).
- Happy Eyeballs: Modern browsers use the Happy Eyeballs algorithm to automatically choose the fastest connection between IPv4 and IPv6.
Why Adopt IPv6
IPv6 adoption has several advantages:
- Universal accessibility: Many mobile networks and countries use IPv6 natively. Without AAAA, these users depend on translation mechanisms that may fail or slow down.
- Better performance: IPv6 eliminates the need for NAT in many cases, reducing latency. Routing is also more efficient thanks to simplified headers.
- Future-proofing: IPv4 is in shortage. New allocations are increasingly rare and expensive. IPv6 is the inevitable future of the Internet.
- SEO and compliance: Google and other services value sites accessible via IPv6. Some government regulations require IPv6 support.
How to Configure an AAAA Record
Here's how to add an AAAA record to your domain:
- Verify IPv6 support: Make sure your host or server has an assigned IPv6 address. Contact your host if you don't have an IPv6 address.
- Get the IPv6 address: Retrieve your server's IPv6 address (from host control panel or via ip -6 addr on Linux).
- Create the AAAA record: In your DNS manager, add an AAAA type record with the same hostname as your A record.
- Test resolution: Use dig AAAA example.com to verify the record is properly propagated and returns the correct IPv6 address.
AAAA Record Examples
Here are AAAA configuration examples:
; AAAA configuration in a DNS zone
example.com. IN AAAA 2001:db8:85a3::8a2e:370:7334
www.example.com. IN AAAA 2001:db8:85a3::8a2e:370:7334
; Dual-stack configuration (A + AAAA)
example.com. IN A 93.184.216.34
example.com. IN AAAA 2001:db8:85a3::8a2e:370:7334
; Verification with dig
$ dig example.com AAAA +short
2001:db8:85a3::8a2e:370:7334
; IPv6 connectivity test
$ ping6 example.com
$ curl -6 https://example.com
Make sure A and AAAA records point to the same server (or servers with the same content). Always test IPv6 connectivity after configuration.
IPv6 Best Practices
Adopt these practices for a successful IPv6 transition:
- Systematic dual-stack: Always maintain A and AAAA records together. Don't remove IPv4 even if you have IPv6 - not all clients support IPv6 yet.
- Test from IPv6: Regularly verify that your site works correctly via IPv6. Tools like test-ipv6.com can help.
- Monitor both: Configure MoniTao to monitor both A and AAAA records. An IPv6 problem can go unnoticed if you only test IPv4.
- IPv6 firewall: Don't forget to configure your firewall for IPv6 too. IPv4 rules don't automatically apply to IPv6.
IPv6 Checklist
- IPv6 address assigned to your server
- AAAA record created for root domain
- AAAA record created for www
- IPv6 connectivity tested and functional
- IPv6 firewall configured correctly
- MoniTao monitoring enabled for AAAA
Frequently Asked Questions - IPv6 and AAAA
Do I absolutely need an AAAA record?
It's not mandatory but highly recommended. Without AAAA, IPv6-only users cannot directly access your site. As IPv6 adoption increases, the impact becomes more significant.
My host doesn't provide IPv6, what should I do?
You can use a CDN or proxy that supports IPv6 (Cloudflare, for example). The CDN receives IPv6 requests and connects to your server via IPv4. This is an effective transition solution.
Why are IPv6 addresses so long?
IPv6 uses 128 bits (compared to 32 for IPv4) to provide enough addresses for all future devices. Hexadecimal notation and shortcuts (::) help reduce visible length.
How do I check if my site is accessible via IPv6?
Use tools like test-ipv6.com, ipv6-test.com, or simply curl -6 https://yoursite.com from a system with IPv6 connectivity. MoniTao can also monitor IPv6 availability.
Does A vs AAAA order matter?
No, the order in the DNS zone doesn't matter. Modern clients use the Happy Eyeballs algorithm to simultaneously test IPv4 and IPv6 and choose the fastest.
Is IPv6 more secure than IPv4?
IPv6 was designed with integrated IPsec, but in practice security depends on configuration. IPv6 eliminates some NAT-related issues but introduces a larger attack surface if misconfigured.
Prepare the Future with IPv6
IPv6 adoption is no longer optional - it's a necessity to ensure universal accessibility of your site. With IPv4 address exhaustion and increasing IPv6-only networks, every day without AAAA is a day you potentially lose visitors.
Configure your AAAA records today and monitor them with MoniTao. Ensure your site is ready for tomorrow's Internet while remaining accessible to all of today's users.
Ready to Sleep Soundly?
Start free, no credit card required.