returns the domain name corresponding to an IP address.
# Metadata
Platforms: desktop, server, mobile OS: mac, windows, linux Introduced: 1.0 Security:
# Syntax
the hostAddressToName of IPAddress
# Params
- IPAddress : A numeric IP address.
# Examples
hostAddressToName("127.0.0.1")
answer "Connecting to" && hostAddressToName(newAddress) & "..."
# Description
Use the hostAddressToName function to find the domain name of the computer at a IP address.
The hostAddressToName function does a reverse DNS lookup on the IP address in order to find the domain name. This means that the computer must be connected to the Internet in order to use this function. If a connection to the Internet is not available, the hostAddressToName function returns an error message.
# Tags
# See
- **command:** accept - **function:** peerAddress, hostAddress - **control structure:** function - **glossary:** domain name, IP address, return, DNS