IPv6-ready email

Short answer

What is required to send email over IPv6?

To send email over IPv6, the server IPv6 address must have a PTR record that points back, be listed in the SPF record with ip6, and the email should be signed with DKIM. Example in SPF: v=spf1 ip6:2001:db8::/48 include:spf.protection.outlook.com ~all. Gmail is stricter with IPv6 and rejects email without PTR.

Enter the domain.

Why IPv6

More and more networks and cloud services send over IPv6. Gmail requires PTR and SPF or DKIM for IPv6 senders too, and is stricter with them.

What we check

  • AAAA records on the MX servers, so email can be received over IPv6.
  • PTR for the IPv6 addresses, and whether the name points back.
  • ip6 terms in the SPF record.
  • AAAA on the website.

Common mistakes

The most common mistake is a server that has got IPv6 automatically, and starts sending over IPv6 without PTR and without ip6 in SPF. Email that used to arrive then suddenly ends up in spam at Gmail. Set up PTR and SPF for IPv6, or turn off IPv6 for outgoing email until that is done.

IPv6 addresses are written with colons and can be shortened with ::. Use the CIDR calculator to find the right ip6 term for a block.

Questions and answers

Do I need IPv6?

No, but if you send over IPv6 everything must be set up correctly, or the email ends up in spam.

Are Microsoft 365 and Google Workspace ready for IPv6?

Yes. Both send and receive over IPv6, and have PTR and SPF in place for their own addresses.

Why does ip6 not count as a DNS lookup?

ip4 and ip6 are fixed addresses in the record itself, so the receiver does not need to look anything up. Only include, a, mx, ptr, exists and redirect count.

Who sets PTR for an IPv6 address?

The owner of the address block, usually the internet or cloud provider. PTR for IPv6 lives under ip6.arpa, and many providers let you set it in the control panel.