Skip to content

net/dns: quad-100 forwards resolver.arpa queries upstream, contrary to RFC 9462 #21849

Description

@JeroenvdV

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.

The built-in resolver at 100.100.100.100 currently forwards these queries to the configured upstream resolvers:

$ dig +short @100.100.100.100 _dns.resolver.arpa SVCB
1 one.one.one.one. alpn=h2,h3 ...

The client receives the upstream's Designated Resolver even though it is talking to quad-100.

On macOS, a consequence of the response is that subsequent DNS queries for the upstream server are sent through the tunnel when they should not be, as the DDR request was scoped to the interface.

Clients may also act on this answer opportunistically (RFC 9462 Section 4.3) and switch to the upstream's encrypted DNS endpoint, bypassing MagicDNS and split DNS.

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.

Activity

  1. added 3 commits that reference this issue on Oct 19, 2026
    530e8bd
    8058b1b
    257c995
  2. knyar commented on Oct 21, 2026

    @knyar
    Contributor

    On macOS, a consequence of the response is that subsequent DNS queries for the upstream server are sent through the tunnel when they should not be, as the DDR request was scoped to the interface.

    Could you please share more details on how you determined that? Reading DDR spec, a Designated Resolver can only be used if the TLS cert contains IP address of unencrypted resolver, or if Designated Resolver and the Unencrypted DNS Resolver share the same IP address. Neither should be true in this case.

    I can see how forwarding resolver.arpa upstream might be triggering TLS connection attempts to e.g. 1.1.1.1:443 and 1.1.1.1:853 that you might see in Tailscale logs, but I don't think this necessarily means that the OS is actually using the Designated Resolver to serve queries?

  3. added theissue type on Oct 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions