Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var LookupAddrFn = net.DefaultResolver.LookupAddr
LookupAddrFn is defined as variable to ease testing
Functions ¶
func GetReverseDns ¶
GetReverseDns returns the hostname for the given IP address as a string.
func GetReverseDnsForIP ¶
GetReverseDnsForIP returns the reverse DNS for the given IP address as a net.IP.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.