Documentation ¶
Index ¶
- func LookupAAAACustom(name string, dnsResolver string) ([]string, error)
- func LookupACustom(name string, dnsResolver string) ([]string, error)
- func LookupSRVCustom(name string, dnsResolver string, recurse bool) ([]*dns.SRV, error)
- func LookupSRVSystem(name string, recurse bool) ([]*dns.SRV, error)
- func LookupSRVSystemNet(name string, recurse bool) ([]*net.SRV, error)
- func LookupSystem(name string) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LookupAAAACustom ¶ added in v0.4.0
LookupAAAACustom resolves a DNS name using a custom resolver (via github.com/miekg/dns), returning AAAA records.
func LookupACustom ¶ added in v0.4.0
LookupACustom resolves a DNS name using a custom resolver (via github.com/miekg/dns), returning A records.
func LookupSRVCustom ¶
LookupSRVCustom resolves a DNS name using a custom resolver (via github.com/miekg/dns), returning dns.SRV records.
func LookupSRVSystem ¶
LookupSRVSystem resolves a DNS SRV name using the Golang resolver, returning dns.SRV records.
func LookupSRVSystemNet ¶
LookupSRVSystemNet resolves a DNS SRV name using the Golang resolver, returning net.SRV records.
func LookupSystem ¶ added in v0.4.0
LookupSystem resolves a DNS name using the Golang resolver, returning both A and AAAA records.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.