A simple DNS proxy server that supports all existing DNS protocols including DNS-over-TLS, DNS-over-HTTPS, DNSCrypt, and DNS-over-QUIC. Moreover, it can work as a DNS-over-HTTPS, DNS-over-TLS or DNS-over-QUIC server.
apt install -y sudo wget
sudo -i
- Install DNSproxy
- Install systemd service
- Install DoH config w Cloudflare DNS, cache
dnsproxy -l 127.0.0.1 -p 53 -u https://dns.cloudflare.com/dns-query -b 1.1.1.1:53 -f 8.8.8.8:53 --cache- Other config and option https://github.com/AdguardTeam/dnsproxy?tab=readme-ov-file#usage
- Rewrite service config if you need
๐ Copy, paste and run
wget "https://raw.githubusercontent.com/Onair-santa/Adguard-DNSproxy-1-click/main/dnsproxy.sh" -O dnsproxy.sh && chmod +x dnsproxy.sh && bash dnsproxy.sh
๐ Start, stop, restart.
- systemctl start dnsproxy
- systemctl stop dnsproxy
- systemctl restart dnsproxy