Skip to content

compters/LearnDNS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Learn DNS

A simple Haskell DNS server to learn about DNS, currently takes a map of hosts / IPs to construct its answers. Neither standards compliant nor production ready, purely a learning exercise.

If you want a good Haskell DNS server then take a look at Kazu Yamamoto's DNS library https://github.com/kazu-yamamoto/dns. I used this as a reference whilst building and took a couple of data structures, but his approach uses conduit and I believe provides more complete functionality.

Brought to you by the RFC's http://www.ietf.org/rfc/rfc1035.txt and http://www.ietf.org/rfc/rfc1034.txt

Todo

  • Respond with something other than A records
  • Multiple resolver types
  • Basic DNS client

About

A simple DNS server you probably shouldn't ever actually use

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published