aboutsummaryrefslogtreecommitdiff
path: root/plugin/pkg/transport/transport.go
blob: cdb2c79b75e09f33306164e05d47521e36564ee1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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"
)