CoreDNS: DNS and Service Discovery

Running Kubernetes and want to use CoreDNS? Read this on how to switch.

What is it?

CoreDNS is a DNS server. It is written in Go. It can be used in a multitude of environments because of its flexibility. CoreDNS is licensed under the Apache License Version 2, and completely open source.
Development takes place on Github. Most devs hang out on Slack on the #coredns channel.


CoreDNS chains plugins. Each plugin performs a DNS function, such as Kubernetes service discovery, Prometheus metrics or rewriting queries. And many more.


We strive keep things as simple as possible and have sane defaults. Here is the Corefile for {
    file {
        transfer to *

Service Discovery

CoreDNS integrates with Kubernetes via the Kubernetes plugin, or directly with etcd with the etcd plugin.

Fast and Flexible

We aim to make CoreDNS fast and efficient. It is also flexible thanks to its plugins. You can compile CoreDNS with only the plugins you need.

Cloud Native Computing Foundation Logo


We are a Cloud Native Computing Foundation incubating project.

Some of Our Users