- 论坛徽章:
- 0
|
做了个最简单的DNS,一切顺利,也能开机自动启动服务,就是不能正常做解析,非要手动重新启动一次服务才能正常工作,真郁闷死了,哪位大大能指点下,哪里有问题?
[root@DNS ~]# service named status
version: 9.5.0b2
number of zones: 18
debug level: 0
xfers running: 0
xfers deferred: 0
soa queries in progress: 0
query logging is OFF
recursive clients: 0/0/1000
tcp clients: 0/100
server is up and running
named (pid 1811) is running...
[root@DNS ~]# dig www.sina.com.cn
; <<>> DiG 9.5.0b2 <<>> www.sina.com.cn
;; global options: printcmd
;; connection timed out; no servers could be reached
[root@DNS ~]# service named restart
Stopping named: [ OK ]
Starting named: [ OK ]
[root@DNS ~]# dig www.sina.com.cn
; <<>> DiG 9.5.0b2 <<>> www.sina.com.cn
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 25525
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 3, ADDITIONAL: 0
;; QUESTION SECTION:
;www.sina.com.cn. IN A
;; ANSWER SECTION:
www.sina.com.cn. 60 IN CNAME jupiter.sina.com.cn.
jupiter.sina.com.cn. 60 IN A 202.108.33.32
;; AUTHORITY SECTION:
sina.com.cn. 86400 IN NS ns1.sina.com.cn.
sina.com.cn. 86400 IN NS ns2.sina.com.cn.
sina.com.cn. 86400 IN NS ns3.sina.com.cn.
;; Query time: 575 msec
;; SERVER: 192.168.1.10#53(192.168.1.10)
;; WHEN: Mon Oct 20 22:24:25 2008
;; MSG SIZE rcvd: 125
[root@DNS ~]# |
|