dnsResolveEx()

Microsoft IPv6 extension. Returns a semicolon-separated list of IPv4 and IPv6 addresses, or an empty string.

dnsResolveEx(host)  →  string

Only available in engines that implement the Microsoft “Ex” extensions. Firefox does not, so a PAC that calls it there fails with a ReferenceError.

Example

var ips = dnsResolveEx(host);

Availability

Derived from each engine's vendored helper library plus its native bindings (see engines).
Functionchromium
<=51
chromium
>=52
firefox
all
pacparser
<=1.4.6
pacparser
1.5.0
pacparser
>=1.5.1
reference
all
dnsResolveExyesyesnoyesyesyesno

Related rules