Local DNS forwarder with split DNS and DoT/DoH support
- Rust 100%
| src/bin | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| CHANGELOG.md | ||
| LICENSE.md | ||
| README.md | ||
unresolved
Local DNS forwarder with split DNS and DoT/DoH support
Usage
Config is a TOML file with zones and their respective resolvers; syntax example:
resolve = "quad9"
[internal.example]
resolve = ["10.0.0.8"]
[another.example]
resolve = "192.168.1.1"
[ptrc.gay]
resolve = [
"1.1.1.1",
"1.0.0.1"
]
The resolve key can either be an array of IP addresses (in which case, the resolution happens over UDP 53),
or a string - in which case, if it's a known alias, the predefined config is used instead (otherwise, it's treated as an IP address).
Aliases:
cloudflarecloudflare_httpscloudflare_tlsgooglegoogle_httpsquad9quad9_httpsquad9_tls
WIP / TODO
- unresolvectl client to check status and configure the server dynamically
- setting custom DoT/DoH servers