pymumu/smartdns
FreeA local DNS server to obtain the fastest website IP for the best Internet experience, support DoT, DoH, DoQ. 一个本地DNS服务器,获取最快的网站IP,获得最佳上网体验,支持DoH,DoT,DoQ。
About pymumu/smartdns
SmartDNS is a local DNS server that enhances network speed by querying multiple upstream DNS servers and returning the fastest IP address to clients. It supports encrypted DNS protocols including DNS over TLS (DoT), DNS over HTTPS (DoH), DNS over QUIC (DoQ), and DNS over HTTP/3 (DoH3) for improved privacy. Additional features include domain-based IP address specification for ad blocking, high-performance suffix matching (20 million rules in 1ms), per-client control, IPv4/IPv6 dual stack, DNS64 support, and domain sharding with iptables/nftables. It runs on standard Linux systems (including Raspberry Pi), OpenWrt, Asus routers, and Windows via WSL.
Key Features
Pros & Cons
- Returns the fastest IP address from multiple upstream servers, improving overall browsing speed
- Supports modern encrypted DNS protocols (DoT, DoH, DoQ, DoH3) for privacy
- Free and open source under the MIT license
- Cross-platform support including routers and embedded devices
- High performance with low memory and CPU footprint
- Per-client control for customized rules (e.g., parental controls)
- Built-in cache for faster repeated queries
- Active development on GitHub with over 11,000 stars
- No graphical user interface; configuration is done via command line or text files
- Setup requires some technical expertise and network knowledge
- Documentation is primarily in Chinese (English README available but less detailed)
- May conflict with existing DNS services (e.g., dnsmasq) on the same system if not configured properly
- Less widely known than alternatives like Pi-hole or dnsmasq, so community support is smaller