A straightforward and intelligible DNS Server written in safe rust to provide a quick and easy understanding of DNS. Disclaimer: This project is not meant for production usecase. No DNSSEC implemented. Use at own risk.
This assumes that you have Rust stable installed. These presume that the simple-dns repo have already been synced to the local system. In the simple-dns directory, execute the following commands in the terminal:
cargo build
cargo run
- Stub Resolver
- Recursive Resolve
- DNS compression when writing
- Caching Server
- Forwarding Queries to a DNS Server of choice
- Protect against DDOS attacks (to a degree)
- TTD
This is not an Authoritative Server.
Thanks Emil for a guide on how to build a DNS.
Feel free to comment and open PRs to contribute to this project under the specified license terms.
Author: Saksham Madan