What Is IPv6 (Internet Protocol Version 6)?
IPv6 is the latest version of the Internet Protocol, designed to replace IPv4 and provide a vastly larger address space. It uses 128-bit addresses, allowing for approximately 340 undecillion unique addresses compared to IPv4's 4.3 billion.
How IPv6 Works
IPv6 addresses are 128 bits long, written as eight groups of four hexadecimal digits separated by colons. For example: 2001:0db8:85a3:0000:0000:8a2e:0370:7334. The protocol was developed to solve IPv4 address exhaustion and includes built-in improvements like simplified header format, mandatory IPsec support, and better multicast routing.
In DNS, IPv6 addresses are stored in AAAA records (quad-A records), while IPv4 addresses use A records. When a client queries DNS for a hostname, it may receive both A and AAAA responses. Modern systems prefer IPv6 when available, falling back to IPv4 if needed (a mechanism called Happy Eyeballs).
Why IPv6 Matters for Email
Major email providers including Gmail, Outlook, and Yahoo support IPv6 for both sending and receiving. As IPv6 adoption grows, having AAAA records for your mail servers ensures you can communicate directly over IPv6, reducing reliance on IPv4 NAT gateways and improving connection efficiency.
However, IPv6 email comes with strict requirements. You need proper reverse DNS (PTR records) for your IPv6 addresses, your SPF record must include ip6: mechanisms for your IPv6 ranges, and your sending reputation on IPv6 must be established separately from IPv4. Gmail in particular is strict about IPv6 email sender requirements.
AAAA Records in DNS
An AAAA record maps a domain name to an IPv6 address, just like an A record maps to an IPv4 address. The name "AAAA" reflects that IPv6 addresses are four times the size of IPv4 addresses (128 bits vs. 32 bits). You can look up AAAA records for any domain to verify IPv6 connectivity and DNS configuration.
Frequently Asked Questions
What is an AAAA record?
An AAAA record (quad-A record) is a DNS record that maps a hostname to an IPv6 address, just like an A record maps to an IPv4 address. The name reflects that IPv6 addresses are four times longer than IPv4 (128 bits vs. 32 bits).
Do I need IPv6 for email?
While not strictly required today, supporting IPv6 is increasingly important. Major providers support IPv6 connections, and having AAAA records for your mail servers ensures future compatibility. Note that IPv6 email requires proper reverse DNS and SPF configuration for your IPv6 addresses.
What does an IPv6 address look like?
An IPv6 address is written as eight groups of four hexadecimal digits separated by colons, such as 2001:0db8:85a3:0000:0000:8a2e:0370:7334. Leading zeros can be omitted and consecutive zero groups can be replaced with :: for brevity.