IP fundamentals
NAT64 and DNS64 on IPv6-only networks
NAT64 translates traffic between IPv6 and IPv4; DNS64 can synthesize IPv6 address records for IPv4 destinations under configured policy.
Updated
In this guide
Synthesis example
A DNS64 resolver may embed an IPv4 address into a configured IPv6 translation prefix. The well-known prefix 64:ff9b::/96 is one possible design; networks can use other permitted prefixes.
Translation path
The IPv6 client sends toward the synthesized address, and a translation gateway connects to the IPv4 destination. The IPv4 service sees the translated IPv4 source rather than a native IPv6 source.
Application limits
Applications that use literal IPv4 addresses or embed addresses in protocols may need additional mechanisms. DNS64 answers do not mean the destination has native IPv6. DNSSEC and network policy must be handled correctly.
A synthesized destination example
With the well-known prefix 64:ff9b::/96, the IPv4 documentation address 192.0.2.10 can be represented as 64:ff9b::c000:20a. DNS64 may synthesize an AAAA record when appropriate, and NAT64 translates traffic at the configured gateway. The written address alone cannot prove that translation is available.
Step-by-step example
Follow an IPv6-only client reaching an illustrative IPv4-only service through translation.
- 01
Start with an IPv4-only record
An authoritative name might offer only A = 192.0.2.10. A DNS64 resolver can synthesize an AAAA using its configured NAT64 prefix when appropriate.
- A
- 192.0.2.10
- DNS64
- Synthesize AAAA
Illustration · example, not a live result - 02
Read a synthesized example
Using the well-known 64:ff9b::/96 prefix for illustration, the embedded IPv4 192.0.2.10 yields 64:ff9b::c000:20a. This is a mathematical documentation example, not a usable translation destination. The well-known prefix has restrictions on non-global IPv4 addresses; real deployments must use an appropriate configured prefix.
- Translation prefix
- 64:ff9b::/96
- Embedded IPv4
- c000:020a
- Result
- 64:ff9b::c000:20a
Illustration · example, not a live result - 03
Follow the translator
The client sends IPv6 traffic toward the NAT64 translator, which communicates with the IPv4 destination. A fixed public DNS lookup does not necessarily observe the network's DNS64 behavior.
- IPv6 client
- IPv6 packet
- NAT64
- Translation
- IPv4 service
- IPv4 packet
Illustration · example, not a live result
Check your understanding
Do not infer native IPv4 connectivity or a specific translator from a synthesized address alone.
Try this tool →Try this
Analyze 64:ff9b::c000:20a as an example address; do not infer an active translator from the text alone.
IPv6 address analyzer →