# CoreDNS

> CoreDNS is a DNS server that chains plugins

Source: https://talira.ai/catalog/coredns-04a21br5
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Infrastructure
- Categories: [networking / dns / servers](https://talira.ai/categories/networking/dns/servers), [infrastructure / kubernetes](https://talira.ai/categories/infrastructure/kubernetes)
- Platforms: linux, macos, windows, docker, kubernetes[^9][^10]
- Licence: Apache-2.0[^6][^7]
- Pricing: Free and open source[^6]
- Free tier: yes[^6]
- Self-hostable: yes[^5]
- Plugins: yes[^5][^8]
- Backed by: [Cloud Native Computing Foundation](https://talira.ai/orgs/cncf.md)
- Funding: non-profit[^11][^12]

CoreDNS is a fast, flexible DNS server and forwarder written in Go, built from a chain of plugins configured in a short Corefile. It's the default cluster DNS in [Kubernetes](https://talira.ai/catalog/kubernetes-ftsegx3m.md), answering service and pod names through its kubernetes plugin, and it equally serves zone files, acts as a primary or secondary (AXFR) server, forwards and caches queries, signs zones with DNSSEC on the fly, rewrites queries and serves records from [etcd](https://talira.ai/catalog/etcd-zdq64wjj.md), AWS Route 53, Azure DNS or Google Cloud DNS. It listens on plain DNS, DNS over TLS, DNS over HTTPS (HTTP/2 and HTTP/3), DNS over QUIC and gRPC, exports [Prometheus](https://talira.ai/catalog/prometheus-198e2rss.md) metrics, and can be compiled with extra out-of-tree plugins. It's an Apache-2.0 CNCF graduated project.

## Links

- Website: https://coredns.io
- GitHub: https://github.com/coredns/coredns
- Docs: https://coredns.io/manual/toc/

## Ways to install

### On your own server

- [Proxmox VE Helper-Scripts](https://talira.ai/catalog/proxmox-ve-helper-scripts-3h36wtyj.md): <https://community-scripts.org/scripts/coredns>[^1]

### On Kubernetes

- [Artifact Hub](https://talira.ai/catalog/artifact-hub-s43pzyps.md): <https://artifacthub.io/packages/helm/coredns/coredns>[^2]

### Package managers

- [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md): <https://formulae.brew.sh/formula/coredns>[^3]
- [mise](https://talira.ai/catalog/mise-0axr08xw.md): <https://mise-versions.jdx.dev/tools/coredns>[^4]

## Problems it solves

- pods in our Kubernetes cluster can't resolve service names and we need to fix cluster DNS
- forward internal domains to one DNS server and everything else to Cloudflare or Google from the cluster
- a lightweight DNS server we configure with a few lines instead of BIND's zone files and named.conf
- serve DNS for our own zone from a zone file and act as a secondary for another server
- run a DNS over TLS or DNS over HTTPS resolver endpoint for our network
- rewrite DNS queries so an old hostname resolves to a new service
- service discovery over DNS from records stored in etcd
- answer DNS queries from our AWS Route 53, Azure DNS or Google Cloud DNS zones locally
- add Prometheus metrics and query logging to our DNS server
- sign DNS answers with DNSSEC on the fly without a separate signing pipeline
- build a custom DNS server by writing a small Go plugin instead of patching a big daemon

## Features

- plugin chain configured in a Corefile; build with the plugins you need
- kubernetes plugin: the default implementation of Kubernetes cluster DNS
- UDP/TCP DNS, DNS over TLS (RFC 7858), DNS over HTTP/2 and HTTP/3, DNS over QUIC (RFC 9250) and gRPC
- serves zone files (file, auto), primary with zone transfers, secondary over AXFR
- forward to upstream resolvers over DNS or gRPC, with a response cache
- on-the-fly DNSSEC signing
- etcd backend (SkyDNS-style) and route53, azure and clouddns plugins
- rewrite and template plugins for queries and answers
- hosts file records, load balancing of answers, DNS64, NSID and ANY blocking
- Prometheus metrics, query and error logging, pprof
- out-of-tree plugins and a guide to writing your own

## Limitations

- Doesn't do incremental zone transfers (IXFR) as a secondary: it retrieves zones from primaries with AXFR only[^5]
- No NSEC3 for DNSSEC zones served from files: CoreDNS supports NSEC only[^5]

## Capabilities

- Takes plugins: plan not known

## Trust

Overall: 0.42 out of 1.
Signals: backing 0.55, extensibility 0.20.

- backed by Cloud Native Computing Foundation
- funding: non-profit
- has a plugin system

Warnings:

- GitHub activity not fetched yet

## Related

- Works with [Kubernetes](https://talira.ai/catalog/kubernetes-ftsegx3m.md)

## Alternatives

- [BIND 9](https://talira.ai/catalog/bind-9-vqnp9dyq.md): Versatile, classic, complete name server software
- [Technitium DNS Server](https://talira.ai/catalog/technitium-dns-server-d3gqttvz.md): Self host a DNS server for privacy & security
- [NSD](https://talira.ai/catalog/nsd-wmf1cgc3.md): Open-source authoritative DNS server from NLnet Labs
- [PowerDNS Authoritative Server](https://talira.ai/catalog/powerdns-authoritative-server-x054px60.md): A high-performance and versatile authoritative DNS server
- [Knot DNS](https://talira.ai/catalog/knot-dns-p5w2901g.md): High-performance authoritative-only DNS server
- [Knot Resolver](https://talira.ai/catalog/knot-resolver-c1xd3ywc.md): Full caching DNS resolver implementation

## Sources

[^1]: https://github.com/community-scripts/ProxmoxVE/blob/main/ct/coredns.sh (checked 21 Nov 2026)
[^2]: https://github.com/coredns/helm (checked 20 Nov 2026)
[^3]: https://formulae.brew.sh/api/formula.json (checked 21 Nov 2026)
[^4]: https://mise-versions.jdx.dev/tools.json (checked 21 Nov 2026)
[^5]: https://github.com/coredns/coredns (checked 20 Nov 2026)
[^6]: https://coredns.io/ (checked 20 Nov 2026)
[^7]: https://github.com/coredns/coredns/blob/master/LICENSE (checked 20 Nov 2026)
[^8]: https://coredns.io/plugins/ (checked 20 Nov 2026)
[^9]: https://github.com/coredns/coredns/releases (checked 20 Nov 2026)
[^10]: https://hub.docker.com/r/coredns/coredns (checked 20 Nov 2026)
[^11]: https://www.cncf.io/about/charter/ (checked 20 Nov 2026)
[^12]: https://www.cncf.io/ (checked 20 Nov 2026)
