Following https://implement-dns.wizardzines.com/
This is of course very far from complete, but these are the things I want to look into in the future.
- support ipv6
- properly handle CNAMEs in
resolve
- split code into lib and binary
- make this a DNS server
Pretty straight forward when using dig
. Because we do not support EDNS, dig
needs to be instructed not to send a EDNS query with +noedns
like this:
$ dig @127.0.0.1 +noedns google.com IN A