Ad

SmartDNS: Fast local DNS with DoT/DoH/DoQ

SmartDNS is a local DNS server that prioritizes the fastest IP addresses for improved internet speed. It supports various DNS protocols and flexible configuration.
Screenshot of pymumu/smartdns homepage

SmartDNS is a local DNS server designed to enhance internet browsing speed by routing DNS queries to multiple upstream DNS servers and selecting the fastest response. It addresses the performance limitations of traditional DNS resolvers by identifying and utilizing the most responsive IP address for each domain. The project employs a multi-threaded, asynchronous I/O model and caching to further optimize performance and reduce resource consumption. It supports DNS over TLS/HTTPS (DoT/DoH) and DNS over QUIC (DoQ) for improved privacy.

SmartDNS distinguishes itself by actively measuring and returning the fastest IP address for each domain, unlike simpler caching resolvers. It offers flexible configuration options, including per-client rules and advanced filtering capabilities based on domain patterns. Its multi-platform support, including Raspberry Pi, OpenWrt, and Asus routers, provides broad applicability. The architecture emphasizes efficiency and low resource usage, making it suitable for resource-constrained devices. It implements fast matching and filtering with support for iptables and nftable.

  • Fastest IP Resolution: Returns the fastest IP address for each domain, significantly improving browsing speed.
  • Multiple DNS Servers: Supports configuration of multiple upstream DNS servers for redundancy and increased reliability.
  • Protocol Support: Supports UDP, TCP, DoT, DoH, DoQ, and DoH3 protocols for flexible network configuration.
  • Client-Specific Rules: Allows defining different DNS rules for individual clients based on MAC address or IP address.
  • Advanced Filtering: Enables filtering based on domain names, patterns, and IP address ranges for enhanced security and content control.
  • Platform Support: Compatible with various platforms including Raspberry Pi, OpenWrt, Asus routers, and Windows Subsystem for Linux (WSL).
  • Performance Optimization: Implements caching, multi-threading, and asynchronous I/O to maximize performance and minimize resource consumption.

The project has a significant number of stars and forks, indicating active community interest. Recent commits suggest ongoing development and maintenance. The documentation is reasonably comprehensive, supporting easy setup and configuration. The project's maintained release history and regular updates point to a reliable and actively developed solution.

SmartDNS benefits users seeking to improve their internet browsing speed and enhance privacy through local DNS resolution. It's particularly valuable for users with slow internet connections or those concerned about DNS privacy. By selecting the fastest IP address and supporting secure DNS protocols, SmartDNS offers a superior alternative to standard DNS resolvers and improves overall online experience.

Summarize:
Share:
Stars
10,997
Forks
1,231
Issues
290
Created
8 years ago
Commit
18 days ago
License
GPL-3.0
Archived
No
Updated 17 days ago

Similar Repositories