|
我有进步了!各位大哥帮我看看。正向解析好像搞定了,反解挂了。。(后面有我的反解文件/var/named/named.arkai.com)
========================================
[root@BGG988 root]# nslookup
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.
> www.arkai.com
Server: 192.168.0.12
Address: 192.168.0.12#53
Name: www.arkai.com
Address: 192.168.0.2
> mail.arkai.com
Server: 192.168.0.12
Address: 192.168.0.12#53
Name: mail.arkai.com
Address: 192.168.0.5
> 192.168.0.2
Server: 192.168.0.12
Address: 192.168.0.12#53
2.0.168.192.in-addr.arpa name = www.arkai.com.0.168.192.in-addr.arpa.
> exit
[root@BGG988 root]# ping -c 3 192.168.0.3
PING 192.168.0.3 (192.168.0.3) from 192.168.0.12 : 56(84) bytes of data.
From 192.168.0.12 icmp_seq=1 Destination Host Unreachable
From 192.168.0.12 icmp_seq=2 Destination Host Unreachable
From 192.168.0.12 icmp_seq=3 Destination Host Unreachable
--- 192.168.0.3 ping statistics ---
3 packets transmitted, 0 received, +3 errors, 100% loss, time 2012ms
, pipe 3
[root@BGG988 root]#
==========================================================
/var/named/named.arkai.com
$TTL 86400
@ IN SOA GBB988.arkai.com root.GBB988.arkai.com (
1997022700 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
1D IN NS arkai.com
1D IN MX 10 mail.arkai.com
2 1D IN PTR www.arkai.com
3 1D IN PTR ftp.arkai.com
5 1D IN PTR mail.arkai.com
正解文件
(/var/named/arkai.com.zone)
$TTL 86400
@ IN SOA GBB988.arkai.com root.GBB988.arkai.com (
1997022700 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS BGG988.arkai.com
IN MX 10 BGG988.arkai.com
localhost IN A 127.0.0.1
GBB988 IN A 192.168.0.12
www IN A 192.168.0.2
ftp IN A 192.168.0.3
mail IN A 192.168.0.5 |
|