Documentation
¶
Index ¶
Constants ¶
View Source
const SOATemplate = "%s. hostmaster.localhost. 1 28800 7200 604800 86400"
Variables ¶
This section is empty.
Functions ¶
func ReverseNetwork ¶
Types ¶
type AutoBackend ¶
type AutoBackend struct { Encode yaml.MapSlice `yaml:"encode"` Filler bool `yaml:"filler"` Prefix, Suffix string SOA *SOA DNS []string Answers map[string]*AutoBackendAnswer // contains filtered or unexported fields }
func (*AutoBackend) Check ¶
func (b *AutoBackend) Check() (err error)
type AutoBackendAnswer ¶
type BackendConfig ¶
type BackendConfig struct { AutoBackends []*AutoBackend `yaml:"auto"` GeoBackends []*GeoBackend `yaml:"geo"` }
type GeoBackend ¶
type GeoBackend struct { Zones []string `yaml:"zones"` Options struct { Database string `yaml:"database"` Answers struct { Continent map[string][]*Record Country map[string][]*Record } Default struct { Continent string Country string } } // contains filtered or unexported fields }
func (*GeoBackend) Check ¶
func (b *GeoBackend) Check() (err error)
Click to show internal directories.
Click to hide internal directories.