Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Version string BlockLists []string BlockListDir string RootServers []string Root6Servers []string RootKeys []string FallbackServers []string ForwarderServers []string AccessList []string LogLevel string AccessLog string Bind string BindTLS string BindDOH string BindDOQ string TLSCertificate string TLSPrivateKey string API string Nullroute string Nullroutev6 string Hostsfile string OutboundIPs []string OutboundIP6s []string Timeout Duration Expire uint32 CacheSize int Prefetch uint32 Maxdepth int RateLimit int ClientRateLimit int CookieSecret string NSID string Blocklist []string Whitelist []string Chaos bool QnameMinLevel int `toml:"qname_min_level"` EmptyZones []string Plugins map[string]Plugin // contains filtered or unexported fields }
Config type
func (*Config) ServerVersion ¶ added in v1.0.0
ServerVersion return current server version
type Duration ¶ added in v0.3.0
Duration type
func (*Duration) UnmarshalText ¶ added in v0.3.0
UnmarshalText for duration type
Click to show internal directories.
Click to hide internal directories.