Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Timeout is the time in seconds the request is allowed to take before a timeout error is returned Timeout = 4 * time.Second // MaxDepth is the max recursive depth to query MaxDepth = 10 // MaxNameservers is the max name servers to query simultainiously MaxNameservers = 4 )
Variables ¶
View Source
var ( ErrMaxDepth = errors.New("Max recursion depth reached") ErrMaxParent = errors.New("Max parent reached") ErrNoNS = errors.New("no NS record found for domain") ErrQueryLoop = errors.New("loop in query") )
Various errors
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.