fix: return NXDOMAIN for .local mDNS queries #18
Reference in New Issue
Block a user
Delete Branch "fix/local-domain-servfail"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
.localis reserved for mDNS (RFC 6762) and cannot be resolved by upstream DNS servers_grpc_config.localhost.localwere falling through to upstream resolution, timing out (~560ms), and returning SERVFAIL.localtois_special_use_domain()so these queries get an immediate NXDOMAIN response locallyTest plan
dig @127.0.0.1 _grpc_config.localhost.local TXTreturns NXDOMAIN (not SERVFAIL).localqueries no longer appear with SERVFAIL in the dashboard query logmake allpasses (fmt, clippy, audit, build, 82 tests)🤖 Generated with Claude Code