# Functions
DefaultErrorFunc responds to an DNS request with an error.
GetConfig gets the Config that corresponds to c.
NewServer returns a new CoreDNS server and compiles all plugins in to it.
NewServergRPC returns a new CoreDNS GRPC server and compiles all plugin in to it.
NewServerHTTPS returns a new CoreDNS GRPC server and compiles all plugins in to it.
NewServerTLS returns a new CoreDNS TLS server and compiles all plugin in to it.
SplitProtocolHostPort splits a full formed address like "dns://[::1]:53" into parts.
# Constants
DefaultPort is the default port.
# Variables
Directives are registered in the order they should be executed.
EnableChaos is a map with plugin names for which we should open CH class queries as we block these by default.
GracefulTimeout is the maximum duration of a graceful shutdown.
Port is the port we listen on by default.
Quiet mode will not show any informative output on initialization.
# Structs
Config configuration for a single server.
DoHWriter is a nonwriter.Writer that adds more specific LocalAddr and RemoteAddr methods.
No description provided by the author
Server represents an instance of a server, which serves DNS requests at a particular address (host and port).
ServergRPC represents an instance of a DNS-over-gRPC server.
ServerHTTPS represents an instance of a DNS-over-HTTPS server.
ServerTLS represents an instance of a TLS-over-DNS-server.