Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When creating PAC files, one can use functions like isInNet, for example if (isInNet(host, "", "")) return "DIRECT"; However, it doesn't make sense to use IP and wildcard/mask when using IPv6 address.

My question is, what is the standard for PAC files when using IP addresses? Do PAC files even support IPv6 addresses? Where can I verify?


share|improve this question

migrated from May 7 '11 at 11:14

This question came from our site for professional and enthusiast programmers.

Why do IPv6 netmasks not make sense to you? – Steve-o May 4 '11 at 10:38

Various blog articles have reduced to using shExpMatch:

On Windows stack native support for IPv6 inside Inet & WinHTTP libraries appears with Vista:

An interesting bug in the Chromium project discussing IPv6 handling between browsers:

For MSIE compatibility the following APIs only function with IPv4 addresses:


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.