Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultResolvConfPath = "/etc/resolv.conf"
DefaultResolvConfPath is a common, default resolv.conf file present on linux server.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Resolver ¶
type Resolver struct {
ResolvConf string
}
Resolver is a drop-in Resolver for *part* of std lib Golang net.DefaultResolver methods.
func (*Resolver) LookupIPAddr ¶
Click to show internal directories.
Click to hide internal directories.