| RFC 10001 | Guidelines for DNS Transport | August 2026 |
| Momoka & Fiebig | Best Current Practice | [Page] |
This document provides guidelines and documents best current practice for operating authoritative DNS servers, recursive resolvers, and stub resolvers in a mixed IPv4/IPv6 environment. This document recommends that both authoritative DNS servers and recursive resolvers support IPv4 and IPv6. It also provides guidance on how recursive DNS resolvers should select upstream DNS servers, including when IPv4-embedded IPv6 addresses are available.¶
This document obsoletes RFC 3901.¶
This memo documents an Internet Best Current Practice.¶
This document is a product of the Internet Engineering Task Force (IETF). It represents the consensus of the IETF community. It has received public review and has been approved for publication by the Internet Engineering Steering Group (IESG). Further information on BCPs is available in Section 2 of RFC 7841.¶
Information about the current status of this document, any errata, and how to provide feedback on it may be obtained at https://www.rfc-editor.org/info/rfc10001.¶
Copyright (c) 2026 IETF Trust and the persons identified as the document authors. All rights reserved.¶
This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License.¶
Despite IPv6 being first discussed in the mid-1990s [RFC2460], consistent deployment throughout the whole Internet has not yet been accomplished [RFC9386]. Hence, the Internet still consists of IPv4-only, dual-stack (networks supporting both IP address families), and IPv6-only networks.¶
This creates a complex landscape where authoritative DNS servers might be accessible only via specific network protocols [V6DNSRDY-23]. At the same time, DNS resolvers may only be able to access the Internet via either IPv4 or IPv6 connectivity. This poses a challenge for such resolvers because they may receive queries for names whose authoritative DNS servers do not support the same IP address family as the resolver itself.¶
[RFC3901] was written at a time when IPv6 deployment was not widespread and focuses primarily on maintaining name space continuity within the IPv4 landscape. Two decades later, IPv6 is widely deployed and is also becoming the de facto standard in many areas, such as mobile and access networks and data-center underlays. Furthermore, since 2012, IPv6 support being required for all IP-capable nodes has been established as a best current practice [RFC6540]. This document broadens the scope of [RFC3901] by recommending IPv6 connectivity for authoritative DNS servers, recursive resolvers, and stub resolvers.¶
This document provides:¶
Guidance on name space partitioning due to differences in IP address family support and best practices for avoiding it.¶
Guidelines for configuring authoritative DNS servers for zones.¶
Guidelines for operating recursive DNS resolvers.¶
Guidelines for DNS stub resolvers.¶
While transition and coexistence setups may mitigate some of the DNS resolution issues in a mixed IP address family Internet, making DNS data accessible over both IPv4 and IPv6 is the most robust and flexible approach. This approach allows resolvers to retrieve the information they need without requiring intermediary translation or encapsulation services, which may introduce additional failure cases.¶
Refer to Appendix A for an overview of the main changes since [RFC3901].¶
This document uses DNS terminology as described in [RFC9499]. Furthermore, the following terms are used with a defined meaning:¶
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.¶
When a resolver looks up a name, it starts at the root and follows referrals until it reaches a name server set that is authoritative for the name. However, if the referrals lead to a name server set that only contains name servers reachable via an IP address family not supported by the resolver, the resolver is unable to continue DNS resolution.¶
If this occurs, the DNS has been effectively partitioned due to mismatching IP address family support between the recursive DNS resolver and the authoritative DNS server.¶
With the deployment of both IPv4 and IPv6, name space partitioning can occur for different reasons. One reason is that DNS zones are consistently configured to support only either IPv4 or IPv6. Another reason is misconfigurations that make a zone unresolvable by either IPv4-only or IPv6-only resolvers. The latter is often hard to identify because the impact of misconfigurations affecting one IP address family (IPv4 or IPv6) may be hidden in a dual-stack setting. In the worst case, where both IP address families must be fully supported by a resolver, a specific name may only be resolvable via dual-stack enabled resolvers.¶
IPv4 and IPv6 have become comparably relevant with the final exhaustion of IPv4 address pools in Regional Internet Registries (RIRs) (see, e.g., [RIPEV4]) and the progressing deployment of IPv6. Yet, while the first zones that are exclusively IPv6 resolvable can now be observed, exclusively IPv4 resolvable zones are considerably more common [V6DNSRDY-23]. Hence, dual-stack connectivity is still instrumental to be able to resolve zones and avoid name space partitioning.¶
Having zones served only by name servers reachable via one IP address family would partition the DNS. Hence, a way to avoid this partitioning is needed.¶
The recommended approach to maintain name space continuity is to use administrative policies, as described in this section.¶
To ensure robust DNS resolution even when facing name space partitioning, every recursive DNS resolver SHOULD be dual-stack. Exceptions apply if one of the methods to prevent name space partitioning described in this section is in place.¶
While the zones that IPv6-only recursive DNS resolvers can resolve are growing, they do not yet cover all zones. Hence, a recursive DNS resolver MAY be IPv6-only if it uses a transition mechanism that allows it to also query IPv4-only authoritative DNS servers or uses a configuration where it forwards queries failing IPv6-only DNS resolution to a dual-stack recursive DNS resolver (i.e., a resolver that is also able to perform DNS resolution over IPv4). If a recursive DNS resolver is aware of a PREF64 to use for NAT64 [RFC6146], either through static configuration or by discovering it (e.g., using the option described in [RFC8781]), it MAY synthesize IPv6 addresses for remote authoritative DNS servers.¶
Similarly, a recursive DNS resolver MAY be IPv4-only if it uses a configuration where such resolvers forward queries failing IPv4-only DNS resolution to a dual-stack recursive DNS resolver (i.e., a resolver that is also able to perform DNS resolution over IPv6).¶
Finally, when responding to recursive queries (i.e., a query with the Recursion Desired (RD) bit set [RFC1035]), a DNS resolver SHOULD follow the above guidance on fragmentation avoidance (see Section 4.1) for communication between authoritative DNS servers and recursive DNS resolvers analogously.¶
Contrary to authoritative DNS servers and recursive DNS resolvers, DNS stub resolvers are more likely to find themselves in either an IPv6-mostly or IPv4-only environment, as they are usually run on end hosts or clients. Furthermore, a DNS stub resolver has to rely on recursive DNS servers discovered for the local network, e.g., using DHCPv4 [RFC2131], DHCPv6 [RFC9915], and/or router advertisements [RFC8106]. In that case, the stub resolver may obtain multiple different IPv4 and IPv6 DNS resolver addresses to use.¶
To prioritize different IPv4 and IPv6 DNS resolver addresses, a stub resolver SHOULD follow [RFC6724]. However, a DNS stub resolver SHOULD NOT utilize IPv4-embedded IPv6 addresses if it is able to identify them as such, e.g., by having discovered the PREF64 in use for the network [RFC8781].¶
When providing multiple recursive DNS servers to stub resolvers, network operators have to consider that, at the time of writing, various implementations can only configure a small set of possible DNS resolver addresses, e.g., only up to three for glibc [MAN], and additional resolver addresses provided may be non-deterministically ignored by clients.¶
Hence, when providing more than three recursive server addresses to stub resolvers, operators SHOULD ensure that either:¶
Furthermore, all supplied resolvers SHOULD be able to perform dual-stack DNS resolution to avoid name space partitioning due to IP address family support.¶
The guidelines described in this memo introduce no new security considerations into the DNS protocol itself.¶
Nevertheless, corner cases exist where forwarding queries requiring an IP address family for resolution that is not supported by the initial resolver leads to an infinite forwarding loop under the following conditions:¶
Two resolvers handle queries for a set of clients, each of these resolvers supports one and only one address family that is distinct from the address family supported by the other resolver;¶
Both resolvers are configured to forward queries requiring DNS resolution via the IP address family they do not support to the other; and¶
A query for a zone that is not resolvable via IPv4 and not resolvable via IPv6 is received.¶
In such cases, a query for the non-resolvable zone would be endlessly forwarded between these resolvers.¶
To prevent such cases, single-stack recursive DNS resolvers SHOULD be configured to forward queries they cannot resolve due to lacking support for one address family to dual-stack recursive DNS resolvers. Furthermore, recursive DNS resolvers MUST NOT be configured to forward queries to DNS resolvers that are configured to forward queries to them in the first place.¶
Recommendations for recursive and stub resolvers rely on a correctly discovered PREF64. Security issues may materialize if an incorrect PREF64 is used. Hence, guidance from [RFC9872] on securely discovering PREF64 SHOULD be followed.¶
Preventing fragmentation according to the guidance in this document may increase load on DNS servers, as more TCP fallbacks might be required. While measurements have shown this to be (at the time of writing) in the range of 3-5% of connections [DNSv6MTU], operators SHOULD monitor the actual impact on their servers when implementing guidance from this document to detect unexpected load increases early on.¶
This document has no IANA actions.¶
However, IANA should consider updating its technical requirements for authoritative DNS servers to require both IPv4 and IPv6 addresses for each authoritative server [IANANS], in accordance with the processes for reviewing and revising these procedures.¶
The following changes have been made to the guidance published in [RFC3901]:¶
Expanded the terminology section, also taking considerations from [RFC9499] into account.¶
Expanded name space partitioning, independently discussing intentional choices, misconfigurations, and network conditions, which lead to name space partitioning due to differences in IP address family support.¶
Now recommends the use of IPv4 and IPv6 for authoritative DNS servers instead of leaving IPv6 optional.¶
Now recommends testing IPv4 and IPv6 resolvability when delegating zones instead of only testing IPv4 resolvability.¶
Added guidance on handling IP layer fragmentation.¶
Added guidance for IP address family handling for recursive and stub resolvers.¶
Valuable input for this document was provided by the following individuals: Bob Harold, Andreas Schulze, Tommy Jensen, Nick Buraglio, Jen Linkova, Tim Chown, Brian E. Carpenter, Tom Petch, Philipp S. Tiesel, Mark Andrews, Stefan Ubbink, Joe Abley, Gorry Fairhurst, Paul Vixie, Lorenzo Colitti, David Farmer, Pieter Lexis, Ralf Weber, Philip Homburg, Marco Davids, Mohamed Boucadair, Thomas Fossati, Aihua Guo, Bernie Volz, David Dong, Roman Danyliw, Éric Vyncke, and Erik Nygren.¶
Furthermore, the authors express their thanks to the authors of [RFC3901], Alain Durand and Johan Ihren, and provide their original acknowledgements verbatim below:¶
This document is the result of many conversations that happened in the DNS community at IETF and elsewhere since 2001. During that period of time, a number of Internet drafts have been published to clarify various aspects of the issues at stake. This document focuses on the conclusion of those discussions.¶
The authors would like to acknowledge the role of Pekka Savola in his thorough review of the document.¶