Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultNameServer = "8.8.8.8:53"
DefaultNameServer - Google
Variables ¶
View Source
var ErrEmptyIPS = errors.New("No IP's for a given hostport")
ErrEmptyIPS - no IP's were found for given hostport
Functions ¶
This section is empty.
Types ¶
type Pool ¶
type Pool struct { NameServer string Randomize bool Timeout, StepTimeout, RetryWait time.Duration // contains filtered or unexported fields }
Pool - for caching DNS records and easy retrieval
type TCPMap ¶
TCPMap - map of host+port and resolved IP's, added some syntactic sugar and convenience methods
Directories ¶
Path | Synopsis |
---|---|
Godeps
|
|
_workspace/src/github.com/golang/glog
Package glog implements logging analogous to the Google-internal C++ INFO/ERROR/V setup.
|
Package glog implements logging analogous to the Google-internal C++ INFO/ERROR/V setup. |
_workspace/src/github.com/miekg/dns
Package dns implements a full featured interface to the Domain Name System.
|
Package dns implements a full featured interface to the Domain Name System. |
_workspace/src/github.com/miekg/dns/idn
Package idn implements encoding from and to punycode as speficied by RFC 3492.
|
Package idn implements encoding from and to punycode as speficied by RFC 3492. |
Click to show internal directories.
Click to hide internal directories.