How does Windows actually detect LAN (proxy) settings when using Automatic Configuration
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).