Documentation
¶
Index ¶
- Variables
- func QueryAXFR(target string, timeout time.Duration, nameServers []string) []string
- func QueryAXFREx(ctx context.Context, target string, servers []string) ([]string, error)
- func QueryIP(target string, timeout time.Duration, dnsServers []string) string
- func QueryIPAll(target string, timeout time.Duration, dnsServers []string) []string
- func QueryNS(target string, timeout time.Duration, nameServers []string) []string
- func QueryNSEx(client *dns.Client, ctx context.Context, target string, servers []string) ([]string, error)
- func QueryTxTEx(client *dns.Client, ctx context.Context, target string, servers []string) ([]string, error)
- func QueryTxt(target string, timeout time.Duration, nameServers []string) []string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultDNSClient = dns.Client{ Timeout: 5 * time.Second, DialTimeout: 5 * time.Second, ReadTimeout: 5 * time.Second, WriteTimeout: 5 * time.Second, } DefaultDNSConn = dns.Dial DefaultDNSServer = []string{ "223.5.5.5", "119.29.29.29", "180.76.76.76", "114.114.114.114", "1.1.1.1", } )
Functions ¶
func QueryAXFREx ¶
func QueryIPAll ¶
func QueryTxTEx ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.