Secure DNS service

September 18th, 2022

Provide secure DNS access for clients that do not support DNS-over-TLS (DoT), -HTTPS (DoH), -QUIC (DoQ) or DNSCrypt by installing a DNS proxy:

[Unit]
Description=Custom wrapper for the DNS Proxy tool
After=network-online.target
Wants=network-online.target

[Service]
Type=simple
ExecStart=/PATH_TO_DNSPROXY/dnsproxy -l YOUR_IP -p 53 -u UPSTREAM_DNS_SERVICE
WorkingDirectory=/PATH_TO_DNSPROXY/
RemainAfterExit=no

[Install]
WantedBy=multi-user.target

If you provide the service for VPN clients (see the OpenVPN article of mine), you may wish to configure as follows:


Next: IPv6 via OpenVPN

Previous: Soil Moisture Sensors

Main Menu