Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type NameServer ¶ added in v0.0.6
type Settings ¶
type Settings struct {
DebugLevel uint8
AutoReload bool
// ["ip:port", ...]
// Each instance should identify a working ip address from this list
Listeners []string
// If true, when multiple records are found for a domain, only one is returned
// A different one every time.
// If false, all records are returned.
LoadBalance bool
// In lazy mode, when a CNAME is found, the CNAME is returned and the
// target is not resolved.
Lazy bool
// A caching DNS will not refresh its knowledge until Ttl value expires
Cache bool
// If true, CNAME chains will be merged into a single record
Flatten bool
// Disabling the rule engine speeds up simple DNS lookups
DisableRuleEngine bool
// DNS to recurse to when an authoritative answer does not exist.
Parent Parent
}
Click to show internal directories.
Click to hide internal directories.