问题描述
当 Windows Internet 属性 -> 连接 -> LAN 设置 -> 自动配置设置为自动检测设置"时,Windows 如何实际确定/发现设置是什么?是网络广播还是针对在注册表某处配置的服务器的某种有针对性的查询,还是其他什么?
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?
推荐答案
很简单:浏览器(Firefox 工作原理相同)查询 GET http://wpad/wpad.dat
.
Its simple: Browsers (Firefox works the same) query GET http://wpad/wpad.dat
.
如果名为 wpad 的网络服务器是可解析的,它应该提供 wpad.dat,一个类似于 netscape PAC 文件的脚本文件.MIME 类型也必须是application/x-ns-proxy-autoconfig".
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".
这篇关于使用自动配置时,Windows 如何实际检测 LAN(代理)设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!