Documentation
¶
Overview ¶
Package resolver allows performing DNS queries such as resolving a DNS name querying some records, DNS zone transferences and reverse IP lookups.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoResponse = errors.New("no response")
ErrNoResponse is returned when all resolution retries were done and no response has been received yet.
Functions ¶
Types ¶
type Resolver ¶
type Resolver struct {
// Record is the DNS record that is queried.
Record string
// Retries is the number of retries done.
Retries int
// Workers is the number of concurrent goroutines used during resolution.
Workers int
}
Resolver represents a DNS resolver.
Click to show internal directories.
Click to hide internal directories.