It is an implementation of a DNS resolution tool similar to dig. I have implemented it based on the DNS protocol specified in RFC 1035.
It is by no means complete and is purely made for fun.
Before starting the implementation, I skimmed over this guide. I started with his workflow of using Netcat + Hexdump to understand the DNS packets. However, later I found that Tcpdump + Wireshark works better for me.
- Official RFC
- Tcpdump
- Wireshark (to view tcpdump pcap)
- Netcat