Add DNS-over-QUIC server Signed-off-by: jaehnri <joao.henri.cr@gmail.com> Signed-off-by: João Henri <joao.henri.cr@gmail.com>
25 lines
555 B
Go
25 lines
555 B
Go
package transport
|
|
|
|
// These transports are supported by CoreDNS.
|
|
const (
|
|
DNS = "dns"
|
|
TLS = "tls"
|
|
QUIC = "quic"
|
|
GRPC = "grpc"
|
|
HTTPS = "https"
|
|
UNIX = "unix"
|
|
)
|
|
|
|
// Port numbers for the various transports.
|
|
const (
|
|
// Port is the default port for DNS
|
|
Port = "53"
|
|
// TLSPort is the default port for DNS-over-TLS.
|
|
TLSPort = "853"
|
|
// QUICPort is the default port for DNS-over-QUIC.
|
|
QUICPort = "853"
|
|
// GRPCPort is the default port for DNS-over-gRPC.
|
|
GRPCPort = "443"
|
|
// HTTPSPort is the default port for DNS-over-HTTPS.
|
|
HTTPSPort = "443"
|
|
)
|