Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { dns.Client DCache DelegationCache LCache LookupCache }
Client is a DNS client capable of performing parallel requests.
func (*Client) ParallelQuery ¶
ParallelQuery perform an exchange using m with all servers in parallel and return all responses.
type DelegationCache ¶
type DelegationCache struct {
// contains filtered or unexported fields
}
DelegationCache store and retrive delegations.
type LookupCache ¶ added in v1.1.0
type LookupCache struct {
// contains filtered or unexported fields
}
LookupCache stores mixed lookup results for A and AAAA records of labels with not support of TTL.
func (*LookupCache) Get ¶ added in v1.1.0
func (c *LookupCache) Get(label string) []string
func (*LookupCache) Set ¶ added in v1.1.0
func (c *LookupCache) Set(label string, addrs []string)
Click to show internal directories.
Click to hide internal directories.