Alternatives to CoreDNS
A DNS server written in Go that builds its behavior from a chain of plugins. The listings below can replace it for an important use case. Each note says what changes if you switch.
The original
CoreDNS
A DNS server written in Go that builds its behavior from a chain of plugins.
Replacements
Listings that take over the same core job as CoreDNS.
Unbound
Validating, recursive, caching DNS resolver.
Unbound is a BSD-3-Clause recursive, validating resolver with DNSSEC and encrypted transports, but has no plugin chain or service discovery.
dnsmasq
Lightweight DNS forwarder, DHCP server and TFTP server in one.
dnsmasq is a tiny GPL-2.0 forwarder that adds DHCP and network boot, with automatic local hostname resolution for DHCP clients.
Knot Resolver
A caching DNS resolver with a small core and optional modules, from home routers to resolver farms.
Knot Resolver is a GPL caching resolver with optional C and Lua modules and DNS-over-HTTPS, performing recursion itself rather than chaining plugins.
PowerDNS Recursor
A recursive DNS resolver from the PowerDNS project that you run on your own server.
PowerDNS Recursor is a recursive resolver with tested DNSSEC validation that pairs with dnsdist and PowerDNS Authoritative.
Blocky
Lightweight DNS proxy with blocklists, written for container deployments.
Blocky is a small Apache-2.0 DNS proxy with ready blocklists and per-client rules, avoiding the manual plugin setup CoreDNS needs for blocking.
mosdns
A plugin-based DNS forwarder with rule-based routing, domain blocking and encrypted DNS support.
mosdns is a GPL-3.0 plugin-based forwarder focused on rule-based routing, domain blocking and DoT, DoH and DoQ, with documentation in Chinese.
RouteDNS
A DNS stub resolver, proxy and router with blocklists and DoT, DoH, DoQ and DTLS support.
RouteDNS is a file-configured stub resolver and router with built-in blocklists and DoT, DoH, DoQ and DTLS upstreams.
Also worth comparing
These listings name CoreDNS as their own alternative, so the relationship runs both ways.
BIND 9
Open-source DNS server software from ISC that also provides the dig command-line query tool.
CoreDNS is an Apache-2.0 Go DNS server built from a plugin chain with a short Corefile, suited to Kubernetes and homelabs, but it does not bundle dig.
Technitium DNS Server
A self-hosted DNS server that blocks ads network-wide, hosts your own zones, and encrypts upstream queries.
CoreDNS is an Apache-2.0 plugin-based server with short Corefile configuration, but ad blocking needs manual plugin setup and there is no graphical dashboard.
Similar software
Related functionality, not a direct replacement.
dnsdist
A DNS load balancer that routes queries to backend servers and blocks abusive traffic with rules.
dnsproxy
A simple DNS proxy server supporting DNS-over-TLS, DNS-over-HTTPS, DNSCrypt and DNS-over-QUIC.
Pi-hole
A DNS server for your home network that refuses to look up ad and tracker domains, for every device at once.
AdGuard Home
Network-wide ad and tracker blocking in a single binary, with encrypted DNS built in rather than bolted on.
SmartDNS
A local DNS server that queries several upstream resolvers and returns the fastest-responding IP address.