Add resolver API definition and comprehensive live-DNS test suite
The test suite defines the full resolver contract using live DNS queries against controlled records in the sneak.cloud zone (Cloudflare). Covers FindAuthoritativeNameservers, QueryNameserver, QueryAllNameservers, LookupNS, and ResolveIPAddresses, including sorting/determinism guarantees, trailing-dot handling, per-NS response status model, lame-delegation detection, NXDOMAIN semantics, CNAME following, and context cancellation. Also adds DNSSEC validation to planned future features in README.
This commit is contained in:
1032
internal/resolver/resolver_test.go
Normal file
1032
internal/resolver/resolver_test.go
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user