Description
SmartDNS-rs is a local DNS server written in Rust, inspired by the C project SmartDNS and similar in role to dnsmasq. It accepts DNS queries from devices on your network, asks several upstream DNS servers at once, and returns the fastest-responding IP address for each domain, which helps avoid DNS pollution and speeds up access. Queries can go out over UDP, TCP, DNS over TLS, QUIC, HTTPS and HTTP/3, on non-standard ports, and through SOCKS5 or HTTP proxies. You can pin specific domains to addresses for ad filtering or to block malicious sites, forward domains, and write results to ipset or nftables sets. It runs on Windows, macOS and Linux as a startup service, supports IPv4 and IPv6 dual stack and DNS64, and uses Tokio's async I/O with caching and prefetching of popular domains.…
Highlights
- Queries multiple upstream DNS servers at once
- Returns the fastest IP address for each domain
- UDP, TCP, DoT, DoQ, DoH and DoH3, plus SOCKS5 or HTTP proxy
- Domain address rules for ad filtering, plus ipset and nftables
- Runs as a service on Windows, macOS and Linux
Ratings & Reviews
No ratings yet
Be the first to rate Smartdns RS.
People also visit
Smartdns RS FAQ
What is SmartDNS-rs?
A cross-platform local DNS server in Rust that queries several upstream servers and returns the fastest IP address to clients.
Which DNS protocols does it support?
UDP, TCP, DoT, DoQ, DoH and DoH3, for both queries and serving, including non-53 ports and queries over SOCKS5 or HTTP proxies.
Can it block ads?
Yes. You can assign addresses to specific domains to filter ads and avoid malicious websites.
Which operating systems are supported?
Windows, macOS and Linux, where it can be installed as a service that starts at boot.
Does it support IPv6?
Yes. It handles IPv4 and IPv6 dual stack, A and AAAA records, dual-stack IP selection, AAAA filtering and DNS64.
What are the best Smartdns RS alternatives?
Popular alternatives to Smartdns RS include Smartdns, XDP DNS Evadeproxy and Doh Server. See all Smartdns RS alternatives

