Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DNSLookupAddr = net.LookupAddr DNSLookupHost = net.LookupHost )
Functions ¶
This section is empty.
Types ¶
type Dns ¶
type Dns struct {
// contains filtered or unexported fields
}
func (*Dns) ArpaReverseIP ¶
ArpaReverseIP performs translation from ip v4/v6 to arpa reverse notation
func (*Dns) LookupHost ¶
LookupHost performs a forward DNS lookup for the given hostname.
func (*Dns) ReverseDNS ¶
ReverseDNS performs a reverse DNS lookup for the given IP address and trims the trailing dot from the results.
Click to show internal directories.
Click to hide internal directories.