Files
tailscale/cmd
Navid Khan (Ali) 82ba6c3623 cmd/k8s-nameserver: return NOERROR for A queries on IPv6-only names (#22366)
The A branch of handleFunc returned NXDOMAIN whenever a name had no
IPv4 records, without checking IPv6. A name with only AAAA records
therefore both existed and did not exist depending on the query type,
and resolvers that treat NXDOMAIN as final (musl, busybox) failed to
resolve IPv6-only names at all.

Mirror the AAAA branch: only return NXDOMAIN when the name has
neither A nor AAAA records; when only IPv6 records exist, return
NOERROR with no A answers, per RFC 4074.

Fixes #22358

Signed-off-by: Navid Khan (Ali) <[email protected]>
2026-12-04 12:15:17 +00:00
..
2026-07-10 14:26:11 -07:00
2026-07-10 14:26:11 -07:00
2026-07-10 14:26:11 -07:00