How does Windows actually detect LAN (proxy) setti

2020-01-29 03:31发布

When Windows Internet Properties -> Connections -> LAN Settings -> Automatic Configuration is set to "Automatically detect settings" how does Windows actually determine/discover what the settings are? Is it a network broadcast or some kind of targeted query to a server configured somewhere in the registry, or something else?

6条回答
倾城 Initia
2楼-- · 2020-01-29 03:51

Its DHCP ;)

In modern systems it is DHCP who does this all.

查看更多
贪生不怕死
3楼-- · 2020-01-29 03:54

•Go to Tools > Options > General > Connection Settings > •Set to “Manual Proxy Configuration”

查看更多
冷血范
4楼-- · 2020-01-29 03:55

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".

查看更多
Root(大扎)
5楼-- · 2020-01-29 03:56

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).

查看更多
唯我独甜
6楼-- · 2020-01-29 03:59

It's a network broadcast, usually using DHCP.

That there wikipedia page should tell you all you need to know.

查看更多
太酷不给撩
7楼-- · 2020-01-29 04:18

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.

查看更多
登录 后发表回答