smartdns

SmartDNS is a local DNS server that queries several upstream servers (UDP, TCP, DoT, DoH, DoQ) and returns the fastest result.

  • Network Services
SmartDNS is a local DNS server that queries several upstream servers (UDP, TCP, DoT, DoH, DoQ) and returns the fastest result. It supports per-domain upstream groups, domain rules, IP sets and ip-alias (map CDN IP ranges such as Cloudflare's to preferred IPs). Put smartdns.conf in the config directory before starting. See https://pymumu.github.io/smartdns/en/ for configuration. Web UI (optional): add `plugin smartdns_ui.so`, `smartdns-ui.ip http://0.0.0.0:6080`, `smartdns-ui.user` and `smartdns-ui.password` to smartdns.conf, then open port 6080. Set your own password and keep `smartdns-ui.enable-terminal no` unless you need a shell. Port 53: in bridge mode the host's port 53 must be free. If something else on the host already uses it (or you run another DNS container), switch Network Type to a custom network (br0 / macvlan) and give the container its own IP.

Platform availability

Available on 1 of 10 platforms

  • Unraid
  • TrueNAS (not listed)
  • Umbrel (not listed)
  • ZimaOS (not listed)
  • Proxmox (not listed)
  • Helm (not listed)
  • Mac (not listed)
  • Windows (not listed)
  • Linux (not listed)
  • Any server (not listed)

Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.

75/100 Good

Maintained
100last commit 1 day ago
Popular
8111,491 GitHub stars
Easy to install
201 install platform, Docker image
Light to run
No data
Security check
73no serious findings, CI, tests, OpenSSF Scorecard 4/10

Based on 4 of 5 factors.

Availability: platform listings confirmed today

GitHub stars
11,491
Open issues
342
Last commit
2026-12-02
Latest release
Release48.5
License
GPL-3.0
Activity
steady

Checked today - source: GitHub (pymumu/smartdns)

Resources & Compatibility

Minimum requirements: 2 GB RAM, 5 GB disk. ARM (e.g. Raspberry Pi) is supported.

Checked today - source: Docker Hub image tags and published docs

First-install notes

No first-install notes yet.

Alternatives

No alternatives collected yet.

Common questions

Why won't the container start in bridge mode when something else uses port 53?

In bridge mode the host's port 53 must be free. If something else on the host already uses it or you run another DNS container, switch the network type (e.g., host mode).

How can SmartDNS resolve local hostnames?

SmartDNS can cooperate with dnsmasq's DHCP server by reading its lease file to resolve local host names to IP addresses.

Do I need to prepare a config file before first start?

Yes, put smartdns.conf in the config directory before starting the container.

Answers sourced from github.com, pymumu.github.io

Community

No community discussions collected yet.