Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 853 Bytes

README.md

File metadata and controls

19 lines (12 loc) · 853 Bytes

DNS resolver

Screenshot 2024-03-01 at 11 19 14

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.

Tools used to understand the protocol:

  • Official RFC
  • Tcpdump
  • Wireshark (to view tcpdump pcap)
  • Netcat