A headless, TOML-config-driven DNS/mDNS server written in Rust.
- DNS server on port 53
- mDNS multicast support (port 5353)
- TOML-based configuration
- Cross-platform (Linux, macOS, Windows)
cargo runTest with:
dig @127.0.0.1 -p 53 host.local +short
# Output: 192.168.1.1Edit config.toml:
[server]
host = "0.0.0.0"
port = 53
[mdns]
enabled = true
ttl = 300
[[zones]]
name = "local"
[[zones.records]]
name = "host"
type = "A"
value = "192.168.1.1"A- IPv4 addressAAAA- IPv6 addressPTR- Pointer recordSRV- Service recordTXT- Text record
mDNS --config custom.toml --port 5353--config,-c: Config file path (default: config.toml)--port,-p: Override DNS port
None - purely TOML-driven.
MIT