DNS64 is a DNS service that helps IPv6-only devices communicate with IPv4-only services. It’s a transition technology that’s used to bridge the gap between IPv4 and IPv6.
When a DNS query is made for an IPv4-only service, DNS64 synthesizes an IPv6 address from the A record. The synthesized IPv6 address includes an IPv6/IPv4 translator (usually a NAT64 server). The IPv6-only device then sends network packets to the synthesized IPv6 address. After that, the NAT64 server translates the traffic so that IPv6 services can access IPv4 services.
Enable
Enable the DNS64 service.
Synthesize AAAA records
If enabled, synthesize AAAA records from any A records found, despite the presence of actual AAAA records. Any AAAA records, if present, will be discarded, and the synthesized records will be used in their place. This should be enabled when AAAA records returned by the DNS servers are unusable due to a lack of IPv6 connectivity.
Use NAT64 prefix
Use the NAT64 prefix that was specified in the NAT64 settings.
DNS64 IPv6 translation prefix
The DNS64 IPv6 translation prefix used for translation from IPv6 to IPv4 networks.
The prefix must be given in the form of an IPv6 prefix, for example: 64:ff9b:1::/96.
| This setting is only available if "Use NAT64 prefix" is disabled. |
Examples
An IPv4 only hostname: nat64-tutorial.mx
DNS64 service disabled:# dnsget -t AAAA nat64-tutorial.mx
#
DNS64 service enabled:# dnsget -t AAAA nat64-tutorial.mx
nat64-tutorial.mx. AAAA 64:ff9b:1::c85e:b709
#
DNS64 service enabled, NAT64 prefix disabled, and DNS64 IPv6 translation prefix set to 64:ff9b:1:1234::/64:# dnsget -t AAAA nat64-tutorial.mx
nat64-tutorial.mx. AAAA 64:ff9b:1:1234::c85e:b709
#