Error getting tags :
error 404Error getting tags :
error 404 hostNameToAddress | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
hostNameToAddress
Basics
Expander triangle
Type
Function
Syntax
the hostNameToAddress of domainName hostNameToAddress(domainName)
Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Returns the IP addresses corresponding to a domain name.
Examples

hostNameToAddress("mail.example.org")
put hostNameToAddress("www." & thisDomain) into line 3 of theHosts

Additional Comments
Expander triangle

Use the hostNameToAddress function to find the numeric IP address of the computer or computers at a given domain name.

Parameters:

The domainName is a standard fully-qualified domain name.

Value:

The hostNameToAddress function returns the IP addresses corresponding to the domain name, one per line.

Comments:

The hostNameToAddress function does a DNS lookup on the domain name in order to find the IP address. 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 hostNameToAddress function returns an error message.

User Comments
Expander triangle
User thumbnail
Trevor DeVore
StarStarStarStarStar
Dec 17, 2010
The error message that the hostnametoaddress function returns is located in 'the result'. It is not returned by the function call.