Module function reference
get_hostname
A reference entry for get_hostname
get_hostname(string ip) ⇒ string|boolean
Checks an IP address and attempts to resolve its hostname. Returns an empty string when the address cannot be reached, or false when resolution fails.
Example
YASS
$hostname = Network::get_hostname("192.168.1.1") print($hostname)