Documentation ¶
There is no documentation for this package.
Directories ¶
Path | Synopsis |
---|---|
Package core registers the server and all plugins we support.
|
Package core registers the server and all plugins we support. |
dnsserver
Package dnsserver implements all the interfaces from Caddy, so that CoreDNS can be a servertype plugin.
|
Package dnsserver implements all the interfaces from Caddy, so that CoreDNS can be a servertype plugin. |
Package coremain contains the functions for starting CoreDNS.
|
Package coremain contains the functions for starting CoreDNS. |
Package plugin provides some types and functions common among plugin.
|
Package plugin provides some types and functions common among plugin. |
auto
Package auto implements an on-the-fly loading file backend.
|
Package auto implements an on-the-fly loading file backend. |
autopath
Package autopath implements autopathing.
|
Package autopath implements autopathing. |
bind
Package bind allows binding to a specific interface instead of bind to all of them.
|
Package bind allows binding to a specific interface instead of bind to all of them. |
bufsize
Package bufsize implements a plugin that modifies EDNS0 buffer size.
|
Package bufsize implements a plugin that modifies EDNS0 buffer size. |
cache
Package cache implements a cache.
|
Package cache implements a cache. |
cache/freq
Package freq keeps track of last X seen events.
|
Package freq keeps track of last X seen events. |
cancel
Package cancel implements a plugin adds a canceling context to each request.
|
Package cancel implements a plugin adds a canceling context to each request. |
chaos
Package chaos implements a plugin that answer to 'CH version.bind TXT' type queries.
|
Package chaos implements a plugin that answer to 'CH version.bind TXT' type queries. |
clouddns
Package clouddns implements a plugin that returns resource records from GCP Cloud DNS.
|
Package clouddns implements a plugin that returns resource records from GCP Cloud DNS. |
deprecated
Package deprecated is used when we deprecated plugin.
|
Package deprecated is used when we deprecated plugin. |
dns64
Package dns64 implements a plugin that performs DNS64.
|
Package dns64 implements a plugin that performs DNS64. |
dnssec
Package dnssec implements a plugin that signs responses on-the-fly using NSEC black lies.
|
Package dnssec implements a plugin that signs responses on-the-fly using NSEC black lies. |
erratic
Package erratic implements a plugin that returns erratic answers (delayed, dropped).
|
Package erratic implements a plugin that returns erratic answers (delayed, dropped). |
errors
Package errors implements an error handling plugin.
|
Package errors implements an error handling plugin. |
etcd
Package etcd provides the etcd version 3 backend plugin.
|
Package etcd provides the etcd version 3 backend plugin. |
etcd/msg
Package msg defines the Service structure which is used for service discovery.
|
Package msg defines the Service structure which is used for service discovery. |
file
Package file implements a file backend.
|
Package file implements a file backend. |
file/rrutil
Package rrutil provides function to find certain RRs in slices.
|
Package rrutil provides function to find certain RRs in slices. |
file/tree
Package tree implements Left-Leaning Red Black trees as described by Robert Sedgewick.
|
Package tree implements Left-Leaning Red Black trees as described by Robert Sedgewick. |
forward
Package forward implements a forwarding proxy.
|
Package forward implements a forwarding proxy. |
health
Package health implements an HTTP handler that responds to health checks.
|
Package health implements an HTTP handler that responds to health checks. |
ipin
Package whoami implements a plugin that returns details about the resolving querying it.
|
Package whoami implements a plugin that returns details about the resolving querying it. |
k8s_external
Package external implements external names for kubernetes clusters.
|
Package external implements external names for kubernetes clusters. |
kubernetes
Package kubernetes provides the kubernetes backend.
|
Package kubernetes provides the kubernetes backend. |
kubernetes/object
Package object holds functions that convert the objects from the k8s API in to a more memory efficient structures.
|
Package object holds functions that convert the objects from the k8s API in to a more memory efficient structures. |
loadbalance
Package loadbalance is a plugin for rewriting responses to do "load balancing" Package loadbalance shuffles A, AAAA and MX records.
|
Package loadbalance is a plugin for rewriting responses to do "load balancing" Package loadbalance shuffles A, AAAA and MX records. |
log
Package log implements basic but useful request (access) logging plugin.
|
Package log implements basic but useful request (access) logging plugin. |
metadata
Package metadata provides an API that allows plugins to add metadata to the context.
|
Package metadata provides an API that allows plugins to add metadata to the context. |
metrics
Package metrics implement a handler and plugin that provides Prometheus metrics.
|
Package metrics implement a handler and plugin that provides Prometheus metrics. |
nsid
Package nsid implements NSID protocol
|
Package nsid implements NSID protocol |
pdsql
Package whoami implements a plugin that returns details about the resolving querying it.
|
Package whoami implements a plugin that returns details about the resolving querying it. |
pkg/cache
Package cache implements a cache.
|
Package cache implements a cache. |
pkg/dnstest
Package dnstest allows for easy testing of DNS client against a test server.
|
Package dnstest allows for easy testing of DNS client against a test server. |
pkg/dnsutil
Package dnsutil contains DNS related helper functions.
|
Package dnsutil contains DNS related helper functions. |
pkg/edns
Package edns provides function useful for adding/inspecting OPT records to/in messages.
|
Package edns provides function useful for adding/inspecting OPT records to/in messages. |
pkg/fall
Package fall handles the fallthrough logic used in plugins that support it.
|
Package fall handles the fallthrough logic used in plugins that support it. |
pkg/fuzz
Package fuzz contains functions that enable fuzzing of plugins.
|
Package fuzz contains functions that enable fuzzing of plugins. |
pkg/log
Package log implements a small wrapper around the std lib log package.
|
Package log implements a small wrapper around the std lib log package. |
pkg/nonwriter
Package nonwriter implements a dns.ResponseWriter that never writes, but captures the dns.Msg being written.
|
Package nonwriter implements a dns.ResponseWriter that never writes, but captures the dns.Msg being written. |
pkg/parse
Package parse contains functions that can be used in the setup code for plugins.
|
Package parse contains functions that can be used in the setup code for plugins. |
pkg/singleflight
Package singleflight provides a duplicate function call suppression mechanism.
|
Package singleflight provides a duplicate function call suppression mechanism. |
pkg/uniq
Package uniq keeps track of "thing" that are either "todo" or "done".
|
Package uniq keeps track of "thing" that are either "todo" or "done". |
pkg/up
Package up is used to run a function for some duration.
|
Package up is used to run a function for some duration. |
pkg/upstream
Package upstream abstracts a upstream lookups so that plugins can handle them in an unified way.
|
Package upstream abstracts a upstream lookups so that plugins can handle them in an unified way. |
pprof
Package pprof implements a debug endpoint for getting profiles using the go pprof tooling.
|
Package pprof implements a debug endpoint for getting profiles using the go pprof tooling. |
ready
Package ready is used to signal readiness of the CoreDNS process.
|
Package ready is used to signal readiness of the CoreDNS process. |
reload
Package reload periodically checks if the Corefile has changed, and reloads if so.
|
Package reload periodically checks if the Corefile has changed, and reloads if so. |
rewrite
Package rewrite is a plugin for rewriting requests internally to something different.
|
Package rewrite is a plugin for rewriting requests internally to something different. |
route53
Package route53 implements a plugin that returns resource records from AWS route53.
|
Package route53 implements a plugin that returns resource records from AWS route53. |
secondary
Package secondary implements a secondary plugin.
|
Package secondary implements a secondary plugin. |
sign
Package sign implements a zone signer as a plugin.
|
Package sign implements a zone signer as a plugin. |
test
Package test contains helper functions for writing plugin tests.
|
Package test contains helper functions for writing plugin tests. |
trace
Package trace implements OpenTracing-based tracing
|
Package trace implements OpenTracing-based tracing |
whoami
Package whoami implements a plugin that returns details about the resolving querying it.
|
Package whoami implements a plugin that returns details about the resolving querying it. |
Package request abstracts a client's request so that all plugins will handle them in an unified way.
|
Package request abstracts a client's request so that all plugins will handle them in an unified way. |
Package test contains function and types useful for writing tests.
|
Package test contains function and types useful for writing tests. |
Click to show internal directories.
Click to hide internal directories.