isResolvableEx()

Microsoft IPv6 extension. True if the host resolves to any IPv4 or IPv6 address.

isResolvableEx(host)  →  boolean

Only in engines with the “Ex” extensions.

Example

if (isResolvableEx(host)) { /* ... */ }

Engine notes

EngineBehaviourSource
pacparserTests the dnsResolveEx result against null, but dnsResolveEx returns "" on failure, so it is always true (read in the code, not yet probed).code, verified 2026-10-04
src/pac_utils.h@v1.5.3
chromiumTests the dnsResolveEx result against the empty string.code, verified 2026-10-04
services/proxy_resolver/pac_js_library.h@cb6eb0e7 PAC_JS_LIBRARY_EX

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
isResolvableExyesyesnoyesyesyesno

Related rules