Google Public DNS64 (original) (raw)

Introduction

Dual-stack networks with both IPv6 and IPv4 connectivity are now common, but they are still far from universal. To take the next step of the transition to IPv6 and deploy IPv6-only networks, network operators must still preserve access to IPv4-only networks and services. There are several transition mechanisms to provide IPv6 access to IPv4; an increasingly popular choice with many network operators is NAT64. Using a NAT64 gateway with IPv4-IPv6 translation capability lets IPv6-only clients connect to IPv4-only services via synthetic IPv6 addresses starting with a prefix that routes them to the NAT64 gateway.

DNS64 is a DNS service that returns AAAA records with these synthetic IPv6 addresses for IPv4-only destinations (with A but not AAAA records in the DNS). This lets IPv6-only clients use NAT64 gateways without any other configuration.Google Public DNS64 provides DNS64 as a global service using the reserved NAT64 prefix 64:ff9b::/96.

Important: Before you start

Before configuring your systems to use Google Public DNS64, consider the following limitations that may affect your use of the service:

Configuring Google Public DNS64

If your systems have no problems with the above Google Public DNS64 limitations, you can follow the usual Google Public DNS getting started instructions, replacing the standard resolver addresses with the following:

Do not configure any other IPv6 addresses: doing so makes DNS64 unreliable. If you also configure Google Public DNS IPv4 addresses (8.8.8.8 or 8.8.4.4), dual-stack hosts may not get synthesized AAAA records sometimes.

Some devices use separate fields for all eight parts of IPv6 addresses and cannot accept the :: IPv6 abbreviation syntax. For such fields enter:

Expand the 0 entries to 0000and the 64 entry to 0064if four hex digits are required.

Secure DNS64

Google Public DNS64 supports DNS over HTTPS (DoH) andDNS over TLS (DoT) secure DNS transports using thedns64.dns.google domain instead of dns.google. This domain resolves to the IPv6 addresses listed above, and the DoH and DoT services at ports 443 and 853 for those addresses have TLS certificates fordns64.dns.google.

The RFC 8484 DoH URI template for Google Public DNS64 ishttps://dns64.dns.google/dns-query{?dns} and the JSON API is also supported with URLs like https://dns64.dns.google/resolve?name=ipv4only.arpa&type=AAAA(only accessible from IPv6-capable systems).

Test your DNS64 settings

You can follow the test steps in the getting started guide to verify that your DNS64 configuration is working. If you don't have access to a NAT64 gateway, Wikipedia lists several NAT64 implementations you can deploy yourself.

Some NAT64 implementations are known not to work with Google Public DNS64: