Local DNS forwarder with split DNS and DoT/DoH support
Find a file
2024-05-02 15:25:43 +02:00
src/bin fix: change default bind to an ipv6-one 2024-04-30 19:15:18 +02:00
.gitignore feat: initial commit 2023-03-11 05:33:10 +01:00
Cargo.lock chore: bump dependencies 2024-05-02 15:25:43 +02:00
Cargo.toml feat: initial commit 2023-03-11 05:33:10 +01:00
CHANGELOG.md feat: initial commit 2023-03-11 05:33:10 +01:00
LICENSE.md feat: initial commit 2023-03-11 05:33:10 +01:00
README.md feat: initial commit 2023-03-11 05:33:10 +01:00

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:

  • cloudflare
  • cloudflare_https
  • cloudflare_tls
  • google
  • google_https
  • quad9
  • quad9_https
  • quad9_tls

WIP / TODO

  • unresolvectl client to check status and configure the server dynamically
  • setting custom DoT/DoH servers