SmartDNS is a local DNS server that identifies and returns the fastest IP addresses for websites. Supports encrypted DNS protocols including DNS-over-TLS (DoT), DNS-over-HTTPS (DoH), and DNS-over-QUIC (DoQ). Features multiple upstream DNS servers, domain routing, and IP speed testing. Runs on Raspberry Pi, OpenWrt, Linux, and Windows via WSL. Optimizes network performance by selecting the fastest available DNS resolution paths.
git clone https://github.com/pymumu/smartdns.git
# Install on Linux
curl -sSL https://github.com/pymumu/smartdns/releases/latest \
-o smartdns.deb && dpkg -i smartdns.deb
# Configure /etc/smartdns/smartdns.conf
server-tls 8.8.8.8:853
server-https https://dns.google/dns-query
speed-check-mode tcp:443,ping
# Start
systemctl start smartdns