squiddy / dns-in-a-weekend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DNS in a weekend

Following https://implement-dns.wizardzines.com/

Material I found useful

TODO

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

Testing

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

About


Languages

Language:Rust 100.0%