Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultRRTypes = []string{"A", "AAAA", "MX", "NS", "SOA", "TXT"}
View Source
var ErrNXDomain = errors.New("NXDOMAIN")
View Source
var ErrServFail = errors.New("SERVFAIL")
View Source
var NXTypes = []string{
"MX", "NS", "SOA",
}
View Source
var SupportedRRTypes = []string{
"A", "AAAA", "CAA", "CNAME", "DNSKEY", "MX", "NS", "NSEC", "RRSIG", "SOA", "SRV", "TXT",
}
View Source
var SupportedUSDs = []string{
"_dmarc", "_domainkey", "_mta-sts",
}
Functions ¶
func RunNXQuery ¶
Run a set of NXTypes dns queries on hostname, returning the number of non-NXDOMAIN responses i.e. should return 0 for NX domains
Types ¶
type Query ¶
type Query struct { Hostname string Types []string Resolvers *Resolvers Server string IgnoreErrors bool Udp bool Ptr bool Usd bool Tag bool }
dany Query - lookup Types for Hostname using Server
Click to show internal directories.
Click to hide internal directories.