Summary

  • RFC 9872 says endpoints should learn the NAT64 synthesis prefix from the RFC 8781 PREF64 Router Advertisement option before they ever ask DNS.
  • The point is authority, not just latency: an on-link advertisement ties a prefix, a lifetime and an upstream to the network where the translator is supposed to live.

The awkward moment arrives before the first translated packet. A host has landed on an IPv6-only network, it holds an IPv4 destination, and to build a synthetic IPv6 address it needs the one thing the network has not yet told it: the prefix its local NAT64 translator actually recognises. Guess wrong, or borrow the right prefix from the wrong network, and the host will assemble a destination that is perfectly well-formed and completely unreachable.

RFC 9872 moves that answer to where the attachment happens. Endpoints should first pull PREF64 from Router Advertisements using the option RFC 8781 defines. Operators running NAT64 should put it there. RFC 7050's DNS method does not vanish—it stays for routers that never advertise the option and endpoints that cannot parse it—but it drops from default source of truth to fallback.

A routing advertisement carries more than a prefix

RFC 8781 gives PREF64 Neighbor Discovery option type 38. Inside sit the prefix bits, a prefix-length code and a lifetime counted in eight-second ticks; a zero lifetime pulls the prefix back. The spec warns against advertising a PREF64 lifetime shorter than the default-router lifetime, because otherwise the translation prefix can quietly expire while the router that steered the host toward it still looks perfectly healthy.

Those fields turn a humble advertisement into a small control surface. The host can tie the prefix to the link it arrived on, and a host that speaks Provisioning Domains must bind it to the matching PvD. Advertise several PREF64s and the host may use any with a nonzero lifetime. Offer several discovery mechanisms and RFC 8781 says pick one source rather than blending answers that may disagree.

That last rule earns its keep on multihomed boxes. A prefix learned from one upstream is not a reusable string to be passed around like a password. Traffic for addresses synthesized with it has to reach a translator that actually serves it. RFC 9872 therefore treats the prefix-interface-upstream relationship as part of getting discovery right, not an afterthought.

DNS still works, but its viewpoint can wander

RFC 7050 finds PREF64 by asking a DNS64 resolver for a special IPv4-only name and lifting the common IPv6 prefix out of the synthesized AAAA answers. It works—until you ask which resolver answered. Encrypted DNS, a VPN, or a resolver someone picked by hand can sit well outside the access network and know nothing about that network's translator. DNS policy can drift away from packet forwarding without anyone noticing.

Caching adds a second wrinkle. DNS-discovered prefixes inherit DNS TTL behavior, so an operator that needs to change or withdraw a prefix must chase cached answers around the world. Router Advertisements carry the new prefix—or a zero lifetime—straight down the link, keeping change control in the same channel that handed out the route context in the first place.

The primary reference is RFC 9872. The wire option and host processing rules live in RFC 8781; the DNS alternative is RFC 7050. RFC 6052 defines the IPv4-embedded IPv6 address formats, and RFC 7915 specifies stateless translation. None of these documents proves current deployment, translator health or vendor support.

And discovery on its own settles nothing larger: it does not authenticate the Router Advertisement, prove a translator is reachable, demonstrate deployment or performance, or make RFC 6052's Well-Known Prefix valid on every NAT64 network. The learned prefix stays scoped configuration—its authority and its data path each need separate evidence.