Plugins

All in-tree plugins for CoreDNS.

auto

auto enables serving zone data from an RFC 1035-style master file, which is automatically picked up from disk.

autopath

autopath allows for server-side search path completion.

bind

bind overrides the host to which the server should bind.

cache

cache enables a frontend cache.

chaos

chaos allows for responding to TXT queries in the CH class.

debug

debug disables the automatic recovery upon a crash so that you’ll get a nice stack trace.

dnssec

dnssec enable on-the-fly DNSSEC signing of served data.

dnstap

dnstap enable logging to dnstap.

erratic

erratic a plugin useful for testing client behavior.

errors

errors enable error logging.

etcd

etcd enables reading zone data from an etcd version 3 instance.

federation

federation enables federated queries to be resolved via the kubernetes plugin.

file

file enables serving zone data from an RFC 1035-style master file.

forward

forward facilitates proxying DNS messages to upstream resolvers.

health

health enables a health check endpoint.

hosts

hosts enables serving zone data from a /etc/hosts style file.

k8s_external

k8s_external resolve load balancer and external IPs from outside kubernetes clusters.

kubernetes

kubernetes enables the reading zone data from a Kubernetes cluster.

loadbalance

loadbalance randomize the order of A, AAAA and MX records.

log

log enables query logging to standard output.

loop

loop detect simple forwarding loops and halt the server.

metadata

metadata enable a meta data collector.

prometheus

prometheus enables Prometheus metrics.

nsid

nsid adds an identifier of this server to each reply.

pprof

pprof publishes runtime profiling data at endpoints under /debug/pprof.

reverse

reverse allows for dynamic responses to PTR and the related A/AAAA requests.

proxy

proxy facilitates both a basic reverse proxy and a robust load balancer.

reload

reload allows automatic reload of a changed Corefile.

rewrite

rewrite performs internal message rewriting.

root

root simply specifies the root of where to find (zone) files.

route53

route53 enables serving zone data from AWS route53.

secondary

secondary enables serving a zone retrieved from a primary server.

template

template allows for dynamic responses based on the incoming query.

tls

tls allows you to configure the server certificates for the TLS and gRPC servers.

trace

trace enables OpenTracing-based tracing of DNS requests as they go through the plugin chain.

whoami

whoami returns your resolver’s local IP address, port and transport.