I have a rather simple question. Does anyone have a function reference for the dnsResolve() function in Proxy Auto Configuration scripts? Or for that matter, a function reference for all the PAC functions? I'm looking for specifics, such as return types, error values, etc. Not examples of how to use it.
i.e. dnsResolve() returns string IP address on success or bool false on failure.
This is the closest I've found:
dnsResolve(host) hosthostname to resolve Resolves the given DNS hostname into an IP address, and returns it in the dot separated format as a string. Example: dnsResolve("home.netscape.com")returns the string "188.8.131.52".
But it doesn't list what is returned if it can't resolve it (does it return false? return original argument?)