| Crates.io | micro-dns |
| lib.rs | micro-dns |
| version | 0.1.11 |
| created_at | 2024-01-05 12:27:00.915315+00 |
| updated_at | 2024-01-05 12:35:08.458567+00 |
| description | a recursive dns resolver |
| homepage | https://github.com/bitsexplained/dns |
| repository | https://github.com/bitsexplained/dns |
| max_upload_size | |
| id | 1089675 |
| size | 40,142 |
This repository contains a simple DNS resolver written in Rust. It listens on port 2053 (standard DNS port) and forwards queries to a recursive resolver.
rustc)cargo)git clone https://github.com/bitsexplained/dns.gitcd dnscargo buildThe server listens on port 2053 by default for incoming DNS queries.
The server performs recursive lookups to resolve the hostname.
The code uses the dns crate for parsing and generating DNS packets.
The utils crate provides some utility functions used by the server.
The buffer crate provides a buffer abstraction for handling byte data.
This is a basic DNS server implementation and may not be suitable for production use. It is intended for educational purposes and learning about DNS server implementation in Rust.