- 论坛徽章:
- 0
|
已经重起了named了
/var/log/messages:
Mar 30 02:22:35 xiaofam 3Ô 30 02:22:35 named: named Æô¶¯ succeeded
Mar 30 02:22:35 xiaofam named[2810]: no IPv6 interfaces found
Mar 30 02:22:35 xiaofam named[2810]: listening on IPv4 interface lo, 127.0.0.1#53
Mar 30 02:22:35 xiaofam named[2810]: listening on IPv4 interface eth0, 192.168.10.9#53
Mar 30 02:22:35 xiaofam named[2810]: command channel listening on 127.0.0.1#953
Mar 30 02:22:35 xiaofam named[2810]: zone 10.168.192.in-addr.arpa/IN: loaded serial 2001111601
Mar 30 02:22:35 xiaofam named[2810]: zone xiaofam.net/IN: loaded serial 2001111601
Mar 30 02:22:35 xiaofam named[2810]: running
..........................................................................................................................................................................
/etc/named.conf
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
include "/etc/named.custom";
include "/etc/rndc.key";
zone "xiaofam.net" IN {
type master;
file "xiaofam.net";
};
zone "10.168.192.in-addr.arpa" IN {
type master;
file "192.168.10";
};
......................................................................................................................
/var/named/xiaofam.net
$TTL 86400
$ORIGIN xiaofam.net.
@ IN SOA lf.xiaofam.net. root.lf.xiaofam.net. (
2001111601 28800 14400 3600000 86400 )
IN NS lf.xiaofam.net.
IN MX 10 lf.xiaofam.net.
;; -- default address
@ IN A 192.168.10.9
;; -- linux servers --
lf IN A 192.168.10.9
IN MX 10 lf.xiaofam.net.
;; -- cnames --
gw IN CNAME lf
www IN CNAME lf
ftp IN CNAME lf
mail IN CNAME lf
................................................................................................................
/var/named/192.168.10
$TTL 86400
@ IN SOA lf.xiaofam.net. root.lf.xiaofam.net. (
2001111601 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
@ IN NS lf.xiaofam.net.
9 IN PTR lf.xiaofam.net.
.................................................................................................................
# nslookup 192.168.10.9
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.
Server: 61.144.56.100
Address: 61.144.56.100#53
** server can't find 9.10.168.192.in-addr.arpa: NXDOMAIN
...........................................................................................................
[root@xiaofam root]# nslookup lf.xiaofam.net
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.
Server: 61.144.56.100
Address: 61.144.56.100#53
** server can't find lf.xiaofam.net: NXDOMAIN |
|