package
0.9.10
Repository: https://github.com/codewaycn/coredns.git
Documentation: pkg.go.dev

# Packages

Package auto implements a on-the-fly loading file backend.
Package autopath implements autopathing.
Package bind allows binding to a specific interface instead of bind to all of them.
Package cache implements a cache.
Package chaos implements a plugin that answer to 'CH version.bind TXT' type queries.
No description provided by the author
Package dnssec implements a plugin that signs responses on-the-fly using NSEC black lies.
No description provided by the author
Package erratic implements a plugin that returns erratic answers (delayed, dropped).
Package errors implements an HTTP error handling plugin.
Package etcd provides the etcd backend plugin.
Package federation implements kubernetes federation.
Package file implements a file backend.
Package health implements an HTTP handler that responds to health checks.
No description provided by the author
Package kubernetes provides the kubernetes backend.
Package loadbalance shuffles A and AAAA records.
Package log implements basic but useful request (access) logging plugin.
Package metrics implement a handler and plugin that provides Prometheus metrics.
No description provided by the author
Package pprof implement a debug endpoint for getting profiles using the go pprof tooling.
Package proxy is plugin that proxies requests.
No description provided by the author
Package rewrite is plugin for rewriting requests internally to something different.
No description provided by the author
Package secondary implements a secondary plugin.
Package test contains helper functions for writing plugin tests.
No description provided by the author
Package trace implements OpenTracing-based tracing.
Package whoami implements a plugin that returns details about the resolving querying it.

# Functions

A returns A records from Backend or an error.
AAAA returns AAAA records from Backend or an error.
BackendError writes an error response to the client.
ClientWrite returns true if the response has been written to the client.
CNAME returns CNAME records from the backend or an error.
Error returns err with 'plugin/name: ' prefixed to it.
MX returns MX records from the Backend.
NextOrFailure calls next.ServeDNS when next is not nill, otherwise it will return, a ServerFailure and a nil error.
NS returns NS records from the backend.
PTR returns the PTR records from the backend, only services that have a domain name as host are included.
SOA returns a SOA record from the backend.
SplitHostPort splits s up in a host and port portion, taking reverse address notation into account.
SRV returns SRV records from the Backend.
TXT returns TXT records from Backend or an error.

# Constants

Namespace is the namespace used for the metrics.
Duplicated from core/dnsserver/address.go !.
Duplicated from core/dnsserver/address.go !.
Duplicated from core/dnsserver/address.go !.

# Structs

Options are extra options that can be specified for a lookup.

# Interfaces

No description provided by the author
ServiceBackend defines a (dynamic) backend that returns a slice of service definitions.
Transferer defines an interface for backends that provide AXFR of all records.

# Type aliases

No description provided by the author
No description provided by the author
Name represents a domain name.
No description provided by the author
Zones respresents a lists of zone names.