@IPNAME |
@IPNAME[numeric_IP] : Returns the host name for the specified numeric_IP address. An IP address 0 returns the name of the current local host (usually the computer name). The IP address can be expressed in the common format nnn.nnn.nnn.nnn or as a packed decimal. An invalid or unknown IP address returns an error (see @ERRTEXT to decipher the error number if necessary).
See also: @IPADDRESS.
Examples:
echo %@ipname[173.194.43.40]
lga15s35-in-f8.1e100.net
echo %@ipname[0]
ASUS-PC