Repository navigation
net/dns: quad-100 no longer forwards resolver.arpa queries upstream, in accordance with RFC 9462 - #21850
Open
JeroenvdV wants to merge 1 commit into
Open
net/dns: quad-100 no longer forwards resolver.arpa queries upstream, in accordance with RFC 9462#21850JeroenvdV wants to merge 1 commit into
JeroenvdV wants to merge 1 commit into
Conversation
JeroenvdV
force-pushed
the
resolver-arpa
branch
from
October 19, 2026 15:28
530e8bd to
8058b1b
Compare
RFC 9462 (Discovery of Designated Resolvers) Section 6.1 says a DNS forwarder SHOULD NOT forward queries for resolver.arpa (or any subdomains) upstream: the client only knows this resolver's address, so an upstream SVCB answer could not be authenticated against it. Section 6.4 says to serve the name locally. tailscaled has no Designated Resolver to advertise, so answer NODATA locally for every type at or below resolver.arpa, both for local queries and for peer queries handled by exit nodes. Fixes tailscale#21849 RELNOTE: DNS: resolver.arpa (DDR) queries are no longer forwarded upstream. Signed-off-by: JeroenvdV <[email protected]> Change-Id: I436ad5a8f37889dc60f20516d54028b3c0b42cb8
JeroenvdV
force-pushed
the
resolver-arpa
branch
from
October 19, 2026 15:29
8058b1b to
257c995
Compare
JeroenvdV
marked this pull request as ready for review
October 19, 2026 15:32
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
RFC 9462 (Discovery of Designated Resolvers) Section 6.1 says a DNS forwarder ”SHOULD NOT” forward queries for "resolver.arpa" (or any subdomains) upstream. Section 6.4 says resolvers treat the name as a locally served zone.
tailscaled has no Designated Resolver of its own to advertise, so the right answer for names at or below resolver.arpa is NODATA, answered locally.
This makes the resolver answer NODATA locally for every type at or below resolver.arpa, for local queries and for peer queries handled by exit nodes. The new test proves queries stay local by giving the test upstream a record under resolver.arpa that must never be used.
Fixes #21849