# 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。

Repository: https://github.com/pymumu/smartdns
Canonical: https://ross.abutalabs.com/products/smartdns
Homepage: https://pymumu.github.io/smartdns/
Language: C
License: GPL-3.0
License Family: copyleft
Topics: smartdns, openwrt-package, dns-server, dns-over-https, dns-over-tls, dns, dot, doh, openwrt, stubby, nftables, nftables-sets, c, dns64, doh3, doq
Last push: 2026-08-12T18:37:04+00:00

## Health v2 (maintenance only)
Score: 97/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 97, release rhythm 96, longevity 100
- inputs: {"age_days": 3055, "days_push": 21, "days_rel": 28, "gap_med": 29, "n_releases_24m": 8}
- flags: no_readme
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 11273, forks 1243 (observed 2026-08-28T04:10:46.630859+00:00)

## What it is
SmartDNS is a local DNS server written in C that queries multiple upstream DNS servers concurrently and returns the fastest-responding IP to clients, improving network access speed. It supports DoT, DoH, and DoQ for encrypted queries, per-client rules, domain-based routing, and ad filtering, and runs on Linux, OpenWrt, ASUS routers, Raspberry Pi, and Windows/WSL.

## Use cases
- speed up website access by resolving the fastest IP
- run a local DNS server with DNS over HTTPS/TLS/QUIC
- block ads and malicious domains via DNS
- split DNS queries across different upstream servers per domain
- set up DNS on an OpenWrt or ASUS router
- apply parental controls per client device by MAC or IP

## When to choose
- you want faster browsing by picking the fastest IP from multiple upstream DNS servers
- you need encrypted DNS (DoT/DoH/DoQ) on a router or local network
- you want DNS-level ad filtering with high-performance domain matching
- you need per-client DNS rules or domain-based upstream routing with nftables/ipset integration

## When to avoid
- you need a full recursive authoritative DNS server rather than a forwarding/caching resolver
- you want a GUI-first DNS solution with minimal configuration
- your platform is unsupported (e.g., non-Linux embedded systems outside OpenWrt/ASUS)

## Facets
- artifact type: service
- maturity: active
- function: networking, proxy, security, caching
- domain: networking, privacy, self-hosted, developer-tools
- platform: windows, self-hosted, cross-platform, cli
- tags: dns-server, dns-over-https, dns-over-tls, dns-over-quic, openwrt, ad-blocking, fastest-ip, raspberry-pi, router, dns64, ipv6, linux

## Member repositories
- pymumu/smartdns (main) score 97

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:46.630859+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:15:59.929002+00:00, confidence not recorded.
  - homepage: https://pymumu.github.io/smartdns/ (fetched 2026-08-29T08:14:41.524236+00:00, sha c0b8098a14db)
- Data as of 2026-08-30T08:39:29.467469+00:00.
