无法通过主机名确定IP地址,该域名不存在 [英] Unable to determine IP address from host name, The domain name does not exist

查看:180
本文介绍了无法通过主机名确定IP地址,该域名不存在的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在服务器上设置了本地网站.网站 test.skien.kommune.no 被映射到127.0.0.1该站点是在IIS中配置的,我已经添加了绑定.一切正常工作了一周,但今天我突然收到以下错误消息:

A local website is set up on a server. The website test.skien.kommune.no is mapped to 127.0.0.1 The site is configured in IIS and I have added a binding. Everything worked for a week, but today I suddenly got this error message:

The following error was encountered while trying to retrieve the URL: http://test.skien.kommune.no/

    Unable to determine IP address from host name "test.skien.kommune.no"

The DNS server returned:

    Name Error: The domain name does not exist.

This means that the cache was not able to resolve the hostname presented in the URL. Check if the address is correct.

Your cache administrator is webmaster.

主机文件已配置'127.0.0.1 test.skien.kommune.no'

为什么它不使用主机文件中的本地dns映射?

Why doesn't it use the local dns-mapping in the host-file?

推荐答案

我发现代理设置是我的问题.

I found that the proxy settings were my problem.

在Windows的"控制面板"中,打开" Internet选项",然后转到"连接"标签.单击" LAN设置"按钮.

In Windows "Control Panel" open "Internet Options" and go to the "Connections" tab. Click the "LAN settings" button.

如果勾选了"使用代理服务器",这也可能是您遇到的问题.如果本地主机域中存在句点,则代理将启动并将URL视为完全合格的域名(它将无法找到).

If "Use a proxy server" is ticked, this may be your problem too. If there are periods in the local host domain, the proxy kicks in and treats the URL as a fully qualified domain name (which it won't be able to find).

要排除它,请单击"高级",然后将其添加到"不使用代理... "列表中.

To exclude it, click on "Advanced" and add it to the "Do not use proxy..." list.

这篇关于无法通过主机名确定IP地址,该域名不存在的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆