https-dns is a minimal and efficient DNS-over-HTTPS (DoH) client. DNS-over-HTTPS (RFC 8484) is a protocol for performing DNS resolution through the HTTPS protocol that prevents manipulation of DNS response. https-dns forwards DNS queries from the client to upstream DoH servers, caches the response, and sends the response back to the client.
shell
cargo install https-dns
```shell
sudo https-dns
sudo https-dns --upstream-address cloudflare-dns.com
sudo https-dns --local-port 10053 --upstream-address dns.google ```
```shell $ https-dns --help
https-dns 0.2.0 Minimal and efficient DNS-over-HTTPS (DoH) client
USAGE: https-dns [OPTIONS]
OPTIONS:
-h, --help Print help information
--local-address