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. |
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. |
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. |
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. |
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/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/singleflight
Package singleflight provides a duplicate function call suppression mechanism.
|
Package singleflight provides a duplicate function call suppression mechanism. |
pkg/storage
Package storage abstracts away where middleware can store assests (zones, keys, etc).
|
Package storage abstracts away where middleware can store assests (zones, keys, etc). |
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. |
proxy/pb
Package pb is a generated protocol buffer package.
|
Package pb is a generated protocol buffer package. |
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 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.