0.1.0 |
|
---|
#45 in #dns-client
7KB
82 lines
Safe DNS Client for Windows
This project allows you to use DNS over HTTPS (DoH) on Windows. It's simply a DNS proxy server that forward all DNS requests to an upstream server. At the moment, there is only one server which is Cloudflare's cloudflare-dns.com.
sdns
was written for Windows, but may also compile on other platforms since it doesn't use Windows specific libraries (yet).
Getting the software
At the moment I do not plan to release binaries, so you'll have to compile sdns
yourself. You should have these things installed:
- Git - To download sources.
- Rust Toolchain - To compile sources.
The following command will download & install sdns
to the user's $PATH.
cargo install -f --git https://github.com/naim94a/sdns.git
or
cargo install rdns
Using sdns
sdns
isn't configurable at the moment. It only binds to port 53 on localhost.
All thats left to do is to configure your OS to send DNS queries to 127.0.0.1
.
Future plans
- Automatically configure Windows to use
rdns
- Installable service
- Filtering Rules (regex on domain names)
- Upstream DoH services other than Cloudflare.
- Make it 100% async
Dependencies
~33–45MB
~877K SLoC