2022-08-26 14:18:35 +03:00
|
|
|
package agd
|
|
|
|
|
2023-02-03 15:27:58 +03:00
|
|
|
import "github.com/AdguardTeam/AdGuardDNS/internal/dnsserver"
|
2022-08-26 14:18:35 +03:00
|
|
|
|
|
|
|
// Common DNS Message Constants, Types, And Utilities
|
|
|
|
|
|
|
|
// Protocol is a DNS protocol. It is reexported here to lower the degree of
|
|
|
|
// dependency on the dnsserver module.
|
|
|
|
type Protocol = dnsserver.Protocol
|
|
|
|
|
|
|
|
// Protocol value constants. They are reexported here to lower the degree of
|
|
|
|
// dependency on the dnsserver module.
|
|
|
|
const (
|
|
|
|
// NOTE: DO NOT change the numerical values or use iota, because other
|
|
|
|
// packages and modules may depend on the numerical values. These numerical
|
|
|
|
// values are a part of the API.
|
|
|
|
|
2022-11-07 10:21:24 +03:00
|
|
|
ProtoInvalid = dnsserver.ProtoInvalid
|
|
|
|
ProtoDNS = dnsserver.ProtoDNS
|
|
|
|
ProtoDoH = dnsserver.ProtoDoH
|
|
|
|
ProtoDoQ = dnsserver.ProtoDoQ
|
|
|
|
ProtoDoT = dnsserver.ProtoDoT
|
|
|
|
ProtoDNSCrypt = dnsserver.ProtoDNSCrypt
|
2022-08-26 14:18:35 +03:00
|
|
|
)
|