Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CachingDNSClient ¶
type CachingDNSClient struct {
// contains filtered or unexported fields
}
func NewCachingDNSClient ¶
func NewCachingDNSClient(server string) *CachingDNSClient
type SimpleDNSClient ¶
type SimpleDNSClient struct {
Server string
}
SimpleDNSClient uses miekg/dns to look up TXT records, and supports falling back to TCP for big records.
Exists because Go's built-in DNS client has problems with some TXT records.
Click to show internal directories.
Click to hide internal directories.