The dnsResolve()() function resolves the IP address of the given host, typically from the URL. This function is useful if the JavaScript function has to do more advanced pattern matching than can be done with the existing functions.
host is the host name to resolve. Resolves the given DNS host name into an IP address, and returns it in the dot-separated format as a string.
dotted quad IP address as a string value
The following example would return the string 198.95.249.79.
dnsResolve("home.example.com")