summaryrefslogtreecommitdiffhomepage
path: root/control/controlknobs/controlknobs.go
diff options
context:
space:
mode:
authorNick Khyl <nickk@tailscale.com>2024-06-10 18:34:20 -0500
committerNick Khyl <1761190+nickkhyl@users.noreply.github.com>2024-06-11 09:43:48 -0500
commit4cdc4ed7db6bab75b62d065e915b4fc2a5ce6aa5 (patch)
treefaaf75b3e4825cc2ee920cfe28d80f991d1e16e0 /control/controlknobs/controlknobs.go
parent4b6a0c42c89a6a004686a13e16d6a0821680d74d (diff)
downloadtailscale-4cdc4ed7db6bab75b62d065e915b4fc2a5ce6aa5.tar.xz
tailscale-4cdc4ed7db6bab75b62d065e915b4fc2a5ce6aa5.zip
net/dns/resolver: return an empty successful response instead of NXDomain when resolving A records for 4via6 domains
As quad-100 is an authoritative server for 4via6 domains, it should always return responses with a response code of 0 (indicating no error) when resolving records for these domains. If there's no resource record of the specified type (e.g. A), it should return a response with an empty answer section rather than NXDomain. Such a response indicates that there is at least one RR of a different type (e.g., AAAA), suggesting the Windows stub resolver to look for it. Fixes tailscale/corp#20767 Signed-off-by: Nick Khyl <nickk@tailscale.com>
Diffstat (limited to 'control/controlknobs/controlknobs.go')
0 files changed, 0 insertions, 0 deletions