Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultUDPPort is ... DefaultUDPPort = 53 // DefaultTCPPort is ... DefaultTCPPort = 53 // DefaultTLSPort is ... DefaultTLSPort = 853 // DefaultQuicPort is ... DefaultQuicPort = 853 )
View Source
const CaddyAppID = "dnsproxy"
CaddyAppID is ...
View Source
const NextProtoDQ = "doq-i02"
NextProtoDQ is the ALPN token for DoQ. During connection establishment, DNS/QUIC support is indicated by selecting the ALPN token "dq" in the crypto handshake. Current draft version: https://datatracker.ietf.org/doc/html/draft-ietf-dprive-dnsoquic-02
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdGuard ¶
type AdGuard struct { // Server is ... Server string `json:"server"` // Bootstrap is ... Bootstrap string `json:"bootstrap,omitempty"` // Timeout is ... Timeout caddy.Duration `json:"timeout,omitempty"` // Upstream is ... upstream.Upstream `json:"-,omitempty"` }
AdGuard is ...
type App ¶
type App struct { // Handlers is ... Handlers []struct { // UpstreamRaw is ... UpstreamRaw json.RawMessage `json:"upstream" caddy:"namespace=dnsproxy.upstreams inline_key=upstream"` // MatchersRaw is ... MatchersRaw []json.RawMessage `json:"match" caddy:"namespace=dnsproxy.matchers inline_key=matcher"` } `json:"handlers"` // ListenUDP is ... ListenUDP int `json:"udp,omitempty"` // ListenTCP is ... ListenTCP int `json:"tcp,omitempty"` // ListenTLS is ... ListenTLS int `json:"tls,omitempty"` // ListenQuic is ... ListenQuic int `json:"quic,omitempty"` // Servers is ... Servers []string `json:"servers,omitempty"` // contains filtered or unexported fields }
App is ...
type Cache ¶
type Cache struct { UpstreamRaw json.RawMessage `json:"upstream" caddy:"namespace=dnsproxy.upstreams inline_key=upstream"` // contains filtered or unexported fields }
Cache is ...
type Const ¶
type Const struct { // Type is ... Type string `json:"type,omitempty"` // Name is ... Name string `json:"name"` // contains filtered or unexported fields }
Const is ...
type MatchAnd ¶
type MatchAnd struct { MatchersRaw []json.RawMessage `json:"match" caddy:"namespace=dnsproxy.matchers inline_key=matcher"` // contains filtered or unexported fields }
MatchAnd is ...
type MatchDomain ¶
type MatchDomain struct { // Domains is ... Domains []string `json:"domains,omitempty"` // contains filtered or unexported fields }
MatchDomain is ...
func (MatchDomain) CaddyModule ¶
func (MatchDomain) CaddyModule() caddy.ModuleInfo
CaddyModule is ...
func (*MatchDomain) Provision ¶
func (m *MatchDomain) Provision(ctx caddy.Context) error
Provision is ...
type MatchNot ¶
type MatchNot struct { MatcherRaw json.RawMessage `json:"match" caddy:"namespace=dnsproxy.matchers inline_key=matcher"` // contains filtered or unexported fields }
MatchNot is ...
type MatchOr ¶
type MatchOr struct { MatchersRaw []json.RawMessage `json:"match" caddy:"namespace=dnsproxy.matchers inline_key=matcher"` // contains filtered or unexported fields }
MatchOr is ...
type MatchType ¶
type MatchType struct { Types []string `json:"query_type"` // contains filtered or unexported fields }
MatchType is ...
type Packet ¶
type Packet struct { // Conn is ... Conn net.PacketConn // contains filtered or unexported fields }
Packet is ...
type Quic ¶
type Quic struct { // Listener is ... Listener *quic.Listener // contains filtered or unexported fields }
Quic is ...
Click to show internal directories.
Click to hide internal directories.