# 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.
NewServerTLS returns a new CoreDNS TLS server and compiles all plugin in to it.
Transport returns the protocol of the string s.
# Constants
DefaultPort is the default port.
GRPCPort is the default port for DNS-over-gRPC.
TLSPort is the default port for DNS-over-TLS.
Supported transports.
Supported transports.
Supported transports.
# Variables
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.
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.
ServerTLS represents an instance of a TLS-over-DNS-server.