RFC 10029 lets one DNS query ask for several record types

In short

20 and 21 option codes for the query and the response; 4 suggested limit on extra types in public DNS; 1 questions a DNS query may carry (RFC 9619)

The problem it solves

The Domain Name System turns names into the data computers need. Each kind of data has a record type: an A record holds an IPv4 address, an AAAA record an IPv6 address, and an HTTPS record carries hints about how to connect to a website. A client that wants all three for one name normally sends three separate queries.

RFC 10029 says "a commonly requested DNS feature" is to receive several related records in one response, and names that exact A, AAAA and HTTPS case. It lists why the obvious routes do not work:

How can one DNS query ask for several record types?

The new option goes in the EDNS section of the query. EDNS (Extension Mechanisms for DNS, RFC 6891) is the existing way to add optional fields to a DNS message without changing its core format. The query still has its one normal question, such as "A for www.example.com", and the option adds a list of other types the client would also like. Each is a 2-byte value (this layout is in section 3.1).

The response uses a different code on purpose. The RFC says this is "protection against DNS middleboxes that echo EDNS options verbatim": a device that simply bounces the query's option back would otherwise look like a server that supports the feature.

A server that supports it must first build the normal answer for the main question. It then tries to merge in the answers for the extra types, with these conditions from section 3.4:

The client has to cope with gaps. If a type is missing from the response's list, the RFC says the client "MUST subsequently initiate separate standalone queries" for it. Servers that do not support the option, or that answer FORMERR, leave the client to fall back to ordinary queries. So the feature can only save round trips, not remove the old path.

What the RFC's examples show

Appendix A gives three examples in the style of the dig tool. In the first, a stub resolver (the small resolver inside a device) asks for A with extra AAAA and HTTPS. The answer contains the A and AAAA records with their DNSSEC signatures. HTTPS is listed in the response option but absent from the answer, which, together with proof-of-nonexistence records, tells the client the recursive server currently holds no data for that type. The second asks for DS with DNSKEY, two records used to validate DNSSEC, and gets both. In the third, a recursive resolver asks a parent-zone server for DS and NS. The DS answer is authoritative but the NS data at that point is not, so the flags differ, the server cannot merge them and returns an empty list.

The risk, stated plainly

The RFC says the method "does increase the potential amplification factor" when DNS is used in a denial-of-service attack, and that it could let an attacker "maliciously cause recursive servers to perform large amounts of additional work".

In an amplification attack, an attacker sends small queries with a forged sender address, and the server sends much larger answers to the victim. Asking for several record types per query makes each answer bigger relative to the query. The RFC says implementors should let operators configure limits on the number of extra types and the response size. In public DNS, it expects "a limit of four" extra types to be appropriate, while DNS-based service discovery or private networks could allow more. The RFC adds that it does not change the security properties of the DNS protocol itself.

It also warns client designers: coalescing queries on an application's behalf, when the application did not ask for that, needs "careful considerations".

Where it applies

The RFC covers both stub-to-recursive and recursive-to-authoritative queries. It does not apply to multicast DNS, which already allows several records in one query, but does apply to DNS-Based Service Discovery. The RFC Editor's metadata lists the source as the working group "Extensions for Scalable DNS Service Discovery" and the status as Proposed Standard, the entry level of the Standards Track.

Terms in plain English

Where things stand

The RFC is published; it says nothing about which software supports it, and we did not find a measurement of adoption. Any saving in lookups will depend on resolvers and servers implementing it and operators setting their limits. We did not find a later primary source that changes this picture. The RFC gives only "July 2026" as its date, so this story uses the start of the month.

Sources

Sources

Related stories

More from Wi-Fi Wizards

All stories from Wi-Fi Wizards