Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRootServers ¶
GetRootServers returns the DNS root servers
Types ¶
type Zone ¶
type Zone struct { // map of names to nameservers NS map[string][]string // map of nameservers to ipv4 and ipv6 IP map[string][]net.IP // number of records added to the zone Records int64 }
Zone contains the nameservers and nameserver IPs in a zone
func ParseZoneFile ¶
ParseZoneFile parses the provided zonefile into a Zone
func (*Zone) GetNameChan ¶
GetNameChan returns a channel of domains in the zone
Click to show internal directories.
Click to hide internal directories.