cfg

package
v2.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 12, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const Version = "2.0.3"

Variables

View Source
var (
	// Addr is address to listen on, ":dns" if empty.
	Addr string
	// Zones - list of acceptable zones names
	Zones []string
	// IPv4 is default IPv4 address
	IPv4 net.IP
	// IPv6 is default IPv6 address
	IPv6 net.IP
	// Upstream DNS server for proxying
	Upstream = "1.1.1.1:53"
	// UseDefault enables "strict" mode
	UseDefault bool
	HttpAddr   string
	HubSign    string
	HubSignTTL = 24 * time.Hour
	HubEnabled bool
	AllowProxy bool
	CacheSize  int64         = 4096
	CacheTTL                 = 10 * time.Minute
	TTL        uint32        = 0
	StickyTTL  time.Duration = 30
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL