https://github.com/bipinoli/dns-resolver
DNS resolver tool similar to dig
https://github.com/bipinoli/dns-resolver
dns-server rust udp-protocol
Last synced: 3 months ago
JSON representation
DNS resolver tool similar to dig
- Host: GitHub
- URL: https://github.com/bipinoli/dns-resolver
- Owner: Bipinoli
- Created: 2024-02-27T12:56:01.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-01T10:28:00.000Z (over 1 year ago)
- Last Synced: 2025-03-16T22:38:13.698Z (7 months ago)
- Topics: dns-server, rust, udp-protocol
- Language: Rust
- Homepage:
- Size: 32.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DNS resolver
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](https://datatracker.ietf.org/doc/html/rfc1035).It is by no means complete and is purely made for fun.
Before starting the implementation, I skimmed over [this](https://github.com/EmilHernvall/dnsguide/tree/master) 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](https://datatracker.ietf.org/doc/html/rfc1035)
- Tcpdump
- Wireshark (to view tcpdump pcap)
- Netcat