Implement iterative DNS resolver #1
Labels
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sneak/dnswatcher#1
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
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?
Plan
Implement the iterative DNS resolution engine in
internal/resolver/resolver.go.Requirements
LookupNS(ctx, domain)— trace delegation chain for authoritative NSesLookupAllRecords(ctx, hostname)— query each authoritative NS independently for A, AAAA, CNAME, MX, TXT, SRV, CAA, NS. Returnmap[nameserver]map[recordType][]stringResolveIPAddresses(ctx, hostname)— resolve to all IPs following CNAME chains (depth limit 10)github.com/miekg/dnsfor wire protocolApproach
make checkbefore commits