Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultResolvConfPath = "/etc/resolv.conf"
DefaultResolvConfPath is a common, default resolv.conf file present on linux server.
Variables ¶
View Source
var ErrNoSuchHost = errors.New("no such host")
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) IsNotFound ¶
func (*Resolver) LookupIPAddr ¶
Click to show internal directories.
Click to hide internal directories.