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
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
..
art all: use Go 1.22 range-over-int 5 months ago
connstats all: use Go 1.22 range-over-int 5 months ago
dns net/dns/resolver: return an empty successful response instead of NXDomain when resolving A records for 4via6 domains 4 months ago
dnscache net/netns, net/dns/resolver, etc: make netmon required in most places 5 months ago
dnsfallback tsd, ipnlocal, etc: add tsd.System.HealthTracker, start some plumbing 5 months ago
flowtrack all: update copyright and license headers 2 years ago
ktimeout net/ktimeout: add a package to set TCP user timeout 7 months ago
memnet net/memnet: export the network name (#9111) 1 year ago
netaddr all: update copyright and license headers 2 years ago
netcheck net/netcheck: fix probeProto.String result for IPv6 probes 4 months ago
neterror net/neterror, wgengine/magicsock: use UDP GSO and GRO on Linux (#7791) 2 years ago
netkernelconf ipn/{ipnlocal,localapi},net/netkernelconf,client/tailscale,cmd/containerboot: optionally enable UDP GRO forwarding for containers (#12410) 4 months ago
netknob all: update copyright and license headers 2 years ago
netmon net/netmon: remove spammy log statements (#11953) 5 months ago
netns net/{interfaces,netmon}, all: merge net/interfaces package into net/netmon 5 months ago
netstat net/{netns,netstat}: use new x/sys/cpu.IsBigEndian 2 years ago
netutil net/netmon, add: add netmon.State type alias of interfaces.State 5 months ago
packet all: use Go 1.22 range-over-int 5 months ago
ping net/ping: fix ICMP echo code field to 0 1 year ago
portmapper all: use math/rand/v2 more 4 months ago
proxymux all: cleanup unused code, part 1 (#10661) 9 months ago
routetable net/{interfaces,netmon}, all: merge net/interfaces package into net/netmon 5 months ago
socks5 net/socks5: add password auth support 2 years ago
sockstats net/{interfaces,netmon}, all: merge net/interfaces package into net/netmon 5 months ago
speedtest all: update copyright and license headers 2 years ago
stun all: make more tests pass/skip in airplane mode 5 months ago
stunserver all: use Go 1.22 range-over-int 5 months ago
tcpinfo all: use Go 1.22 range-over-int 5 months ago
tlsdial tsd, ipnlocal, etc: add tsd.System.HealthTracker, start some plumbing 5 months ago
tsaddr types/views: remove duplicate SliceContainsFunc 5 months ago
tsdial tsnet,wgengine/netstack: add ListenPacket and tests 4 months ago
tshttpproxy all: use Go 1.22 range-over-int 5 months ago
tstun net/tstun: do SNAT after filterPacketOutboundToWireGuard 5 months ago
wsconn net/wsconn: accept a remote addr string and plumb it through 1 year ago