DNS Over HTTPS

DPS supports DNS over HTTPS. When using DPS, the main benefit is that you can configure the DNS server directly in the browser, so you don’t need to change the system’s default DNS to access hostnames in your browser.

Enabling

Set server.doh.port for a free port, then doH will be enabled. See the configs reference for details.

$ docker run --rm -p 8443:8443 -e DPS_SERVER__DOH__PORT=8443 defreitas/dns-proxy-server:5.8.2-snapshot
$ curl -k https://localhost:8443/health
ok

Using DoH on the Browser

  • Startup DPS with DoH enabled
  • Import DPS auto assigned certificate authority
  • Configure DPS as the Browser DoH
  • Disable RFC-1918 restrictions on the Browser
  • You are done!

Configuring browsers