Networking
โ
10.6k
C
pymumu/smartdns
10.6k
Stars
1.2k
Forks
260
Issues
C
Language
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.
View on GitHub
git clone https://github.com/pymumu/smartdns.git
Quick Start Example
bash
# 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