- OS: Ubuntu 18.04 LTS
- Reverse Proxy: Nginx
- DNS Resolver: Unbound
- DoH Proxy: DNS-over-HTTPS
Our two servers have an identical setup. Here is a deployment diagram as an overview.
- Nginx is our reverse proxy which handles connections on port 853/tcp and port 443/tcp. All crypto and certificate configurations are done here.
- Unbound is our DNS resolver, all name to IP translation work is done here.
- DNS-over-HTTPS is responsible for translating HTTP to DNS and vice versa.
- index.html
/var/www/doh/index.html
Our servers welcome and information page. This site is accessable under https://dns.digitale-gesellschaft.ch/.
- nginx.conf
/etc/nginx/nginx.conf
Basic Nginx configuration file. - tls.conf
/etc/nginx/tls.conf
General TLS configuration for all TLS related connections. - doh
/etc/nginx/sites-available/doh
DoH entry point configuration. - dot
/etc/nginx/sites-available/dot
DoT entry point configuration. - res
/etc/nginx/sites-available/res
Administration interface configuration.
- unbound.conf
/etc/unbound/unbound.conf
Nginx configuration file.
- doh-server.conf
/etc/dns-over-https/doh-server.conf
DNS-over-HTTPS configuration file.