Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Hostsfile ¶
type Hostsfile struct { sync.RWMutex // list of zones we are authoritive for Origins []string // contains filtered or unexported fields }
Hostsfile contains known host entries.
func (*Hostsfile) LookupStaticAddr ¶
LookupStaticAddr looks up the hosts for the given address from the hosts file.
func (*Hostsfile) LookupStaticHostV4 ¶
LookupStaticHostV4 looks up the IPv4 addresses for the given host from the hosts file.
func (*Hostsfile) LookupStaticHostV6 ¶
LookupStaticHostV6 looks up the IPv6 addresses for the given host from the hosts file.
Click to show internal directories.
Click to hide internal directories.