我正在使用 Windows 8 开发人员预览版 (x64) 进行测试。我想通过 DNS 访问一些本地网络资源。所以,我在我的主机文件 ( %sindir%/system32/drivers/etc/hosts
) 中添加了下一行:
169.254.1.20 host.local
Run Code Online (Sandbox Code Playgroud)
但是当我尝试 ping host.local 时,我收到以下错误
Ping request could not find host unsecure.local. Please check the name and try a
gain.
Run Code Online (Sandbox Code Playgroud)
尝试从 IE 中打开它也会显示连接错误(不需要本地代理并已关闭)。
但输出
C:\Users\moonorg>ipconfig /displaydns
Run Code Online (Sandbox Code Playgroud)
显示我的主机:
Windows IP Configuration
61.2.254.169.in-addr.arpa
----------------------------------------
Name does not exist.
20.1.254.169.in-addr.arpa
----------------------------------------
Record Name . . . . . : 20.1.254.169.in-addr.arpa.
Record Type . . . . . : 12
Time To Live . . . . : 86400
Data Length …
Run Code Online (Sandbox Code Playgroud)