A toy DNS resolver I made while learning Elixir.
After cloning the repo, run in directory
iex -S mix
In IEX, to lookup the IP address for a domain, run
iex> Banyan.resolve("www.facebook.com")
querying 198.41.0.4 for www.facebook.com
querying 192.12.94.30 for www.facebook.com
querying 129.134.30.12 for www.facebook.com
querying 129.134.30.12 for star-mini.c10r.facebook.com
querying 185.89.219.11 for star-mini.c10r.facebook.com
"157.240.16.35"
Note: Only querying "A" records is supported currently.
- Kunal Kundu - @tinfoil-knight
Distributed under the MIT License. See LICENSE for more information.