本文介绍了Windows使用自动配置时如何实际检测LAN(代理)设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当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的Web服务器是可解析的,则它应提供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(代理)设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-23 11:23