- 论坛徽章:
- 1
|
linux 8.0 DNS 配置问题
[root@linux5 etc]# cat resolv.conf
nameserver 192.168.1.210
nameserver 127.0.0.1
search dns.domain
domain domain
[root@linux5 etc]#
我是在dns服务器上本身运行的。都给加去了。
[root@linux5 X11]# ping www.domain
PING www (192.168.1.51) from 192.168.1.210 : 56(84) bytes of data.
64 bytes from www (192.168.1.51): icmp_seq=1 ttl=128 time=3.28 ms
64 bytes from www (192.168.1.51): icmp_seq=2 ttl=128 time=1.61 ms
--- www ping statistics ---
2 packets transmitted, 2 received, 0% loss, time 1004ms
rtt min/avg/max/mdev = 1.611/2.445/3.280/0.835 ms
[root@linux5 X11]# ping dns.domain
PING domain (192.168.1.210) from 192.168.1.210 : 56(84) bytes of data.
64 bytes from domain (192.168.1.210): icmp_seq=1 ttl=64 time=1.64 ms
64 bytes from domain (192.168.1.210): icmp_seq=2 ttl=64 time=0.105 ms
64 bytes from domain (192.168.1.210): icmp_seq=3 ttl=64 time=0.202 ms
64 bytes from domain (192.168.1.210): icmp_seq=4 ttl=64 time=0.346 ms
64 bytes from domain (192.168.1.210): icmp_seq=5 ttl=64 time=0.110 ms
--- domain ping statistics ---
5 packets transmitted, 5 received, 0% loss, time 4011ms
rtt min/avg/max/mdev = 0.105/0.480/1.640/0.586 ms
我也是9.0
Note: nslookup is deprecated and may be removed from future releases.
Consider using the `dig' or `host' programs instead. Run nslookup with
the `-sil[ent]' option to prevent this message from appearing.
>; dns.domain
Server: 192.168.1.210
Address: 192.168.1.210#53
** server can't find dns.domain: SERVFAIL
>; www.domain
;; connection timed out; no servers could be reached
>; localhost
Server: 192.168.1.210
Address: 192.168.1.210#53
Name: localhost
Address: 127.0.0.1
>; dns
;; connection timed out; no servers could be reached
>; |
|