Plugins

All in-tree plugins for CoreDNS.
v1.6.4

any

any gives a minimal response to ANY queries.

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.

azure

azure enables serving zone data from Microsoft Azure DNS service.

bind

bind overrides the host to which the server should bind.

cache

cache enables a frontend cache.

cancel

cancel cancels a request’s context after 5001 milliseconds.

chaos

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

clouddns

clouddns enables serving zone data from GCP Cloud DNS.

debug

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

dnssec

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

dnstap

dnstap enables logging to dnstap.

erratic

erratic a plugin useful for testing client behavior.

errors

errors enables error logging.

etcd

etcd enables SkyDNS service discovery from etcd.

file

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

forward

forward facilitates proxying DNS messages to upstream resolvers.

grpc

grpc facilitates proxying DNS messages to upstream resolvers via gRPC protocol.

health

health enables a health check endpoint.

hosts

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

import

import includes files or references snippets from a Corefile.

k8s_external

k8s_external resolves load balancer and external IPs from outside Kubernetes clusters.

kubernetes

kubernetes enables reading zone data from a Kubernetes cluster.

loadbalance

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

log

log enables query logging to standard output.

loop

loop detects simple forwarding loops and halts the server.

metadata

metadata enables a metadata 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.

ready

ready enables a readiness check HTTP endpoint.

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.

sign

sign adds DNSSEC records to zone files.

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.