CoreDNS: DNS and Service Discovery

In Kubernetes 1.13, CoreDNS is the default cluster DNS server.

Running an older version of 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.

Plugins

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

Simplicity

We strive keep things as simple as possible and have sane defaults. Here is the Corefile for coredns.io:

coredns.io {
    file coredns.io.signed {
        transfer to * 185.49.140.62
    }
    prometheus
    errors
    log
}
        

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

CNCF

We are a Cloud Native Computing Foundation incubating project.

Some of Our Users