You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/net/dns/resolver
Nick Khyl 4cdc4ed7db 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>
4 months ago
..
debug.go all: use Go 1.22 range-over-int 6 months ago
doh_test.go net/dns/resolver: remove maxDoHInFlight 2 years ago
forwarder.go net/dns/resolver, control/controlknobs, tailcfg: use UserDial instead of SystemDial to dial DNS servers 5 months ago
forwarder_test.go all: use Go 1.22 range-over-int 6 months ago
macios_ext.go all: avoid repeated default interface lookups 1 year ago
tsdns.go net/dns/resolver: return an empty successful response instead of NXDomain when resolving A records for 4via6 domains 4 months ago
tsdns_server_test.go all: update copyright and license headers 2 years ago
tsdns_test.go net/dns/resolver: return an empty successful response instead of NXDomain when resolving A records for 4via6 domains 4 months ago