mosdns
A plugin-based DNS forwarder with rule-based routing, domain blocking and encrypted DNS support.
These buttons open the developer's own site, repository or store listing in a new tab. wares.gg does not host downloads.
About mosdns
mosdns is a DNS forwarder configured through plugins. Rules decide which upstream handles each domain and which domains are blocked, which makes it useful for split DNS and ad blocking on a home network or router.
It supports DNS over TLS, DNS over HTTPS and DNS over QUIC. Precompiled binaries and a Docker image are provided. Its wiki, which covers features, configuration and tutorials, is written in Chinese.
Strengths
- Rule-based routing of domains to different upstreams
- Supports DoT, DoH and DoQ
- Precompiled binaries and Docker image
Limitations
- Documentation is in Chinese
- Configuration requires editing plugin rules by hand
Details
- Pricing
- FreeFree and open source under the GPL-3.0 licence.
- License
- GPL-3.0
- Developer
- IrineSistiana
- Platforms
- Self-hosted, Command line
- How it runs
- Downloadable app, Self-hosted
- Account
- Not required
- Best suited for
- Home network users who want split DNS routing and domain blocking
- Categories
- Network tools, DNS filtering
- Last verified
- Added
- Provenance
- Facts checked against the developer's own pages and store listings, 1 sources on file.
Alternatives to mosdns
Compare allSoftware that can replace mosdns for an important use case, and what changes if you switch.
SmartDNS
A local DNS server that queries several upstream resolvers and returns the fastest-responding IP address.
SmartDNS returns the fastest upstream answer and supports DoH3, with an English readme alongside the Chinese one, but ad blocking relies on domain-to-IP rules instead of routing plugins.
RouteDNS
A DNS stub resolver, proxy and router with blocklists and DoT, DoH, DoQ and DTLS support.
RouteDNS offers similar query routing and blocklists and adds DTLS upstreams, but it is not open source and still needs file-based configuration and DNS knowledge.
AdGuard Home
Network-wide ad and tracker blocking in a single binary, with encrypted DNS built in rather than bolted on.
AdGuard Home gives a web interface, per-client rules and parental controls in one binary, and acts as an encrypted DNS server, though routing by domain is less flexible.
Blocky
Lightweight DNS proxy with blocklists, written for container deployments.
Blocky is an Apache-2.0 DNS proxy with per-client and per-group blocking and encrypted upstreams, configured in YAML with English documentation but no admin interface.
dnscrypt-proxy
Encrypts your DNS lookups so your internet provider cannot read or tamper with them, and blocks domains while it is there.
dnscrypt-proxy adds DNSCrypt, Anonymized DNS and Oblivious DoH with filtering and time-based rules, configured in TOML, and runs on Windows and macOS as well as Linux.
CoreDNS
A DNS server written in Go that builds its behavior from a chain of plugins.
CoreDNS builds behaviour from a plugin chain with a short Corefile, but ad or content blocking needs manual plugin setup and it targets Kubernetes and homelab use.
mosdns as an alternative
Listings that name mosdns as an alternative.
dnsproxy
A simple DNS proxy server supporting DNS-over-TLS, DNS-over-HTTPS, DNSCrypt and DNS-over-QUIC.
mosdns adds rule-based routing to different upstreams and domain blocking with DoT, DoH and DoQ, but its documentation is in Chinese.
Technitium DNS Server
A self-hosted DNS server that blocks ads network-wide, hosts your own zones, and encrypts upstream queries.
mosdns is a GPL-3.0 forwarder with rule-based routing, domain blocking and encrypted DNS, but configuration is by hand and documentation is in Chinese.
Similar software
Related functionality, not necessarily a direct replacement.