我有一台Windows Server机器,其DNS设置方式如下:
Zone: home.local
Domain: apache
A (same as parent) 192.168.2.4
A xml 192.168.2.4我希望能够连接到'apache‘和'xml.apache',并被带到相同的地址-但是这是行不通的。在服务器和另一台机器上,我得到以下信息:
> nslookup apache
Server: UnKnown
Address: 192.168.2.2
Server: apache.home.local
Address: 192.168.2.4
> nslookup xml.apache
Server: UnKnown
Address: 192.168.2.2
Server: apache.home.local
Address: 192.168.2.4唯一的区别是第一个结果是dns服务器上的localhost &环回地址。Pings是这样做的:
> ping apache
Reply from 192.168.2.4
> ping xml.apache
Could not find host.
> ping xml.apache.home.local
Reply from 192.168.2.4我试过/flushdns和net stop dnscache,但都没有用。我的主机文件里没有什么不对的地方。
我该怎么做呢?
发布于 2013-09-05 21:03:02
AFAIK,您需要使用FQDN,它将是xml.apache.home.local。
https://serverfault.com/questions/536764
复制相似问题