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 middleware provides some types and functions common among middleware.
|
Package middleware provides some types and functions common among middleware. |
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. |
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. |
chaos
Package chaos implements a middleware that answer to 'CH version.bind TXT' type queries.
|
Package chaos implements a middleware that answer to 'CH version.bind TXT' type queries. |
dnssec
Package dnssec implements a middleware that signs responses on-the-fly using NSEC black lies.
|
Package dnssec implements a middleware that signs responses on-the-fly using NSEC black lies. |
dnstap/msg
Package msg helps to build a dnstap Message.
|
Package msg helps to build a dnstap Message. |
dnstap/taprw
Package taprw takes a query and intercepts the response.
|
Package taprw takes a query and intercepts the response. |
erratic
Package erratic implements a middleware that returns erratic answers (delayed, dropped).
|
Package erratic implements a middleware that returns erratic answers (delayed, dropped). |
errors
Package errors implements an HTTP error handling middleware.
|
Package errors implements an HTTP error handling middleware. |
etcd
Package etcd provides the etcd backend middleware.
|
Package etcd provides the etcd backend middleware. |
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. |
federation
Package federation implements kubernetes federation.
|
Package federation implements kubernetes federation. |
file
Package file implements a file backend.
|
Package file implements a file backend. |
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. |
health
Package health implements an HTTP handler that responds to health checks.
|
Package health implements an HTTP handler that responds to health checks. |
kubernetes
Package kubernetes provides the kubernetes backend.
|
Package kubernetes provides the kubernetes backend. |
loadbalance
Package loadbalance is middleware for rewriting responses to do "load balancing" Package loadbalance shuffles A and AAAA records.
|
Package loadbalance is middleware for rewriting responses to do "load balancing" Package loadbalance shuffles A and AAAA records. |
log
Package log implements basic but useful request (access) logging middleware.
|
Package log implements basic but useful request (access) logging middleware. |
metrics
Package metrics implement a handler and middleware that provides Prometheus metrics.
|
Package metrics implement a handler and middleware that provides Prometheus metrics. |
metrics/test
Package test will scrape a target and you can inspect the variables.
|
Package test will scrape a target and you can inspect the variables. |
pkg/cache
Package cache implements a cache.
|
Package cache implements a cache. |
pkg/dnsrecorder
Package dnsrecorder allows you to record a DNS response when it is send to the client.
|
Package dnsrecorder allows you to record a DNS response when it is send to the client. |
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/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/singleflight
Package singleflight provides a duplicate function call suppression mechanism.
|
Package singleflight provides a duplicate function call suppression mechanism. |
pprof
Package pprof implement a debug endpoint for getting profiles using the go pprof tooling.
|
Package pprof implement a debug endpoint for getting profiles using the go pprof tooling. |
proxy
Package proxy is middleware that proxies requests.
|
Package proxy is middleware that proxies requests. |
rewrite
Package rewrite is middleware for rewriting requests internally to something different.
|
Package rewrite is middleware for rewriting requests internally to something different. |
secondary
Package secondary implements a secondary middleware.
|
Package secondary implements a secondary middleware. |
test
Package test contains helper functions for writing middleware tests.
|
Package test contains helper functions for writing middleware tests. |
trace
Package trace implements OpenTracing-based tracing
|
Package trace implements OpenTracing-based tracing |
whoami
Package whoami implements a middleware that returns details about the resolving querying it.
|
Package whoami implements a middleware that returns details about the resolving querying it. |
Package pb is a generated protocol buffer package.
|
Package pb is a generated protocol buffer package. |
Package request abstracts a client's request so that all middleware will handle them in an unified way.
|
Package request abstracts a client's request so that all middleware 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.