Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type DOHProtocol ¶
type DOTProtocol ¶
type Local ¶
type Local struct {
Standard []StandardRecord `yaml:"standard"`
}
Local groups DNS records by their type for easy management and parsing.
type StandardRecord ¶
type StandardRecord struct { Domain string `yaml:"domain"` Type string `yaml:"type"` Value string `yaml:"value"` TTL int `yaml:"ttl"` }
DNSRecord represents a DNS record with common fields.
type Transport ¶
type Transport struct { UDP Protocol `yaml:"udp"` TCP Protocol `yaml:"tcp"` DOT DOTProtocol `yaml:"dot"` DOH DOHProtocol `yaml:"doh"` }
type Upstream ¶
type Upstream struct { Strategy Strategy `yaml:"strategy"` Servers []UpstreamServer `yaml:"servers"` }
Click to show internal directories.
Click to hide internal directories.