Linux下搭建DNS,nslookup提示找不到domain
Linux下搭建DNS,nslookup提示找不到domain[root@localhosthosts]#nslookupwww.lhdtest.cnServer:10....
Linux下搭建DNS,nslookup提示找不到domain
[root@localhost hosts]# nslookup www.lhdtest.cn
Server: 10.1.12.103
Address: 10.1.12.103#53
** server can't find www.lhdtest.cn: NXDOMAIN
[root@localhost hosts]# cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=ns.lhdtest.cn
#GATEWAY=10.1.12.1
[root@localhost hosts]# cat /etc/resolv.conf
domain lhdtest.cn
search lhdtest.cn
nameserver 10.1.12.103
[root@localhost hosts]# cat other-fcdn.ucweb.com.hosts
$TTL 86400
@ IN SOA ns.lhdtest.cn. root.lhdtest.cn.(
2013051915;
60;
900;
3600000;
3600);
@ IN NS ns.lhdtest.cn.
ns IN A 10.1.12.103
www IN A 10.1.12.200
mail IN A 10.1.12.201 展开
[root@localhost hosts]# nslookup www.lhdtest.cn
Server: 10.1.12.103
Address: 10.1.12.103#53
** server can't find www.lhdtest.cn: NXDOMAIN
[root@localhost hosts]# cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=ns.lhdtest.cn
#GATEWAY=10.1.12.1
[root@localhost hosts]# cat /etc/resolv.conf
domain lhdtest.cn
search lhdtest.cn
nameserver 10.1.12.103
[root@localhost hosts]# cat other-fcdn.ucweb.com.hosts
$TTL 86400
@ IN SOA ns.lhdtest.cn. root.lhdtest.cn.(
2013051915;
60;
900;
3600000;
3600);
@ IN NS ns.lhdtest.cn.
ns IN A 10.1.12.103
www IN A 10.1.12.200
mail IN A 10.1.12.201 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询