Articles
Practical guides and lab write-ups about PAC files, WPAD and how browsers really evaluate them.
Start with What is a PAC file? if you are new to PAC files, or with the top 20 mistakes if you maintain one.
- Should you still use a PAC file in 2026? Weaknesses, security and alternatives
The weaknesses of proxy.pac and wpad.dat, whether a PAC file is secure, when it is still the right choice in 2026, what replaces it, and when to rethink it.
- The wpad DNS record: A or CNAME, the block list and the suffix list
The wpad record exists but WPAD is still not loading? A or CNAME, the Windows DNS global query block list, DNS suffixes and devolution, and lookups that leak.
- Flush the PAC cache: what Windows, Chrome, Edge, Firefox and macOS keep
ipconfig /flushdns does not flush the PAC cache. What WinHTTP, WinINet, Chrome, Edge, Firefox and macOS keep after a PAC or WPAD change, and how to clear each.
- PAC file not applied by Group Policy or Intune: where the setting really lands
PAC file not applied after a Group Policy or Intune rollout? Per-user and per-machine settings, the Edge and Chrome proxy policy, gpresult and WinHTTP.
- DHCP option 252 for WPAD: who reads it and how to set it
DHCP option 252 hands out the wpad.dat URL, but only Windows and a few browsers read it. Set it on Windows DHCP, ISC dhcpd, Kea or dnsmasq and check it.
- WPAD not loading: seven checks in the order the client makes them
WPAD not loading or wpad.dat not found? Seven checks in order for wpad issues, from the auto-detect switch to DHCP, DNS, the server answer and the cache.
- Proxy.pac ignored on Windows 11: why the setup script has no effect
Windows 11 ignores your proxy.pac, or only some programs use it? The user and WinHTTP proxy settings, VPN settings, and the errors 12166, 12167 and 12180.
- PAC file not working in Chrome or Edge: causes and fixes
Chrome or Edge ignores your proxy.pac, goes direct or picks the wrong proxy? Check the settings that win, the file itself and what Chrome passes to it.
- Windows runs PAC files differently from Chrome and Firefox
Windows answers some proxy.pac calls differently from Chrome and Firefox, from dateRange to shExpMatch and newer JavaScript. What differs and how to test.
- pactester vs Chrome, Edge, Firefox and Windows: why a PAC file passes in pactester and fails in the browser
pactester (pacparser) does not always answer like Chrome, Edge, Firefox or Windows WinHTTP. Which PAC functions differ, and how to test your proxy.pac.
- Troubleshoot proxy.pac: why a PAC file is not working and how to fix it
How to troubleshoot a proxy.pac or wpad.dat file that is not working. Find the cause by symptom, from a file that does not load to the wrong proxy, and confirm the fix with a live trace.
- How to set up a proxy.pac file: create it, host it, point clients to it, test it
Set up a proxy.pac or wpad.dat step by step: write FindProxyForURL, serve it over HTTPS with the right MIME type, deploy it by GPO, Intune or WPAD, test it.
- Testing PAC files in CI with pactester
Turn your proxy.pac into a tested artefact. A list of URLs with expected answers, pactester or the pacparser Python module in CI, and a check that fails the build when routing changes. Copyable script included.
- IPv6 in PAC files: isInNet, isInNetEx and what actually works
isInNet only understands IPv4. The Microsoft *Ex functions (isInNetEx, dnsResolveEx, myIpAddressEx) exist in Chromium and WinHTTP but not in Firefox. How to handle IPv6 literals in a proxy.pac portably.
- FindProxyForURL.com (2007–2024): the PAC and WPAD resource, remembered
For 17 years FindProxyForURL.com was the place to learn proxy.pac and WPAD. Its history, from a 2008 one-pager to a WordPress resource and its farewell in late 2024, what made it so useful, and why its ideas are worth keeping.
- Online PAC file testers compared: what to look for (2026)
Which online PAC file testers exist, what each one does, and the seven things that matter when you test a proxy.pac or wpad.dat online, from in-browser execution and engine differences to DNS and date simulation.
- Zscaler PAC file checklist: gateways, ports, variables and Client Connector
Eight checks for a Zscaler PAC file, from ${GATEWAY} plus ${SECONDARY_GATEWAY} and the documented ports to variable spelling, Forwarding vs App Profile PAC, local bypasses and ES5 for Zscaler Client Connector.
- DNS in PAC files: what isInNet and dnsResolve really cost
isInNet(host, ...), dnsResolve and isResolvable make the routing of a proxy.pac depend on DNS. How the engines cache the answers, what really costs time, and how to write the rules without DNS.
- Debugging a PAC file in Chrome, Edge and Firefox
How to see which proxy a browser picked and why. Chrome and Edge NetLog with chrome://net-export, a test profile with --proxy-pac-url, Firefox prefs and MOZ_LOG, and where alert() output goes.
- How to open, view and edit a .pac file
A .pac file is plain JavaScript text. How to find the PAC URL your computer uses, download and open the file, view it with line numbers, and edit it without breaking routing.
- How to test a proxy.pac file (online, with pactester, and in the browser)
How to test a proxy.pac or wpad.dat file in three ways. An online PAC file tester with a live step-by-step trace, the pactester command line, and the browser itself. Which URLs to test and what to look for.
- What is a PAC file? proxy.pac and wpad.dat explained
A PAC (proxy auto-config) file is a small JavaScript file that tells browsers, for every URL, whether to use a proxy or connect directly. How it works, what proxy.pac and wpad.dat are, and the mistakes to avoid.
Last updated: