pymumu/smartdns

A local DNS server to obtain the fastest website IP for the best Internet experience, support DoT, DoH, DoQ. 一个本地DNS服务器,获取最快的网站IP,获得最佳上网体验,支持DoH,DoT,DoQ。

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 56 minutes ago
Added to GitGenius on September 5th, 2026
Created on April 22nd, 2018
Open Issues & Pull Requests: 315 (+0)
GitHub issues: Enabled
Number of forks: 1,247
Total Stargazers: 11,298 (+0)
Total Subscribers: 132 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 2.5 hours
Mean response time: 15.6 days
90th percentile: 5.2 days
Tracked items: 532

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 99% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. 72% of tracked open issues have had no activity in three months, so the open count overstates what is actively being worked. Only 5% of issues opened in the past year have been closed.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 240
New in 7 days: 1
Closed in 7 days: 1
Avg open age: 349 days
Stale 30+ days: 234
Stale 90+ days: 202

Recent activity

Opened in 7 days: 1
Closed in 7 days: 1
Comments in 7 days: 5
Events in 7 days: 6

Top labels

  • enhancement (1)
  • feature request (1)

Detailed Description

SmartDNS is a local DNS server that returns the fastest-responding IP address for a queried domain to improve network access speed, with support for DoT, DoH, DoQ, and DoH3.

The tool solves the problem of DNS resolvers returning suboptimal IP addresses by querying multiple upstream DNS servers simultaneously and measuring response times to identify which IP provides the fastest access. Unlike DNSmasq's all-servers mode, which returns all results, SmartDNS selects only the fastest one. It also supports domain-specific IP assignment for ad filtering and malicious site blocking, with high-performance suffix matching capable of filtering 200,000 records in under 1 millisecond. The tool protects privacy through encrypted DNS protocols and enables domain-based traffic splitting to route different domain types to different resolvers.

SmartDNS suits users running local DNS infrastructure on routers, Raspberry Pi systems, or Linux machines who want to optimize DNS resolution speed for their network. It works on OpenWrt, standard Linux distributions, Asus router firmware, and Windows via WSL. The tool supports per-client control based on MAC or IP address, enabling features like parental controls. It handles both IPv4 and IPv6 with dual-stack optimization and includes DNS64 conversion support. Those choosing this over alternatives should note that it differs from DNSmasq by prioritizing speed rather than returning all available results.

The project maintains active development with regular updates addressing new DNS protocols and platform support. Code contributions flow steadily with attention to performance optimization and feature expansion. The maintainer responds to issues and incorporates community feedback into releases. Development focuses on extending protocol support and improving integration with modern routing systems and Linux networking tools like nftables.