How does Windows actually detect LAN (proxy) settings when using Automatic Configuration How does Windows actually detect LAN (proxy) settings when using Automatic Configuration windows windows

How does Windows actually detect LAN (proxy) settings when using Automatic Configuration


Its simple: Browsers (Firefox works the same) query GET http://wpad/wpad.dat.

If a web server named wpad is resolveable, it should serve wpad.dat, a script file analog to netscape PAC files. MIME type must also be "application/x-ns-proxy-autoconfig".


This info about WPAD (Web Proxy Auto Discovery) seems to describe the process in detail, though I have confirmed that what Tomalak says is also actually occurring.


The IE configuration described enables a WPAD implementation. Here's the Microsoft explanation of the entire mechanism (probably too much detail for a single post).