高手帮忙!各位路过的拔刀相助!
小弟局域网内的一台RH72,DNS配置如下:
named.conf文件如下:
// generated by named-bootconf.pl
options {
directory "/var/named";
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
// query-source address * port 53;
};
//
// a caching only nameserver config
//
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
zone "." IN {
type hint;
file "named.ca";
};
zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};
"named.conf" 47L, 871C
file "localhost.zone";
allow-update { none; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};
zone "pandonny.org" IN {
type master;
file "nameip.cf";
};
zone "0.168.192.in-addr.arpa" IN {
type master;
file "ipname.cf";
};
************************************************
nameip.cf 文件如下:
$TTL 86400
$ORIGIN pandonny.org.
@ 1D IN SOA @ root (
42 ; serial (d. adams)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
1D IN NS @
1D IN A 192.168.0.4
**************************************************
ipname.cf 文件如下:
0.168.192.in-addr.arpa. IN SOA pandonny.org. root.pandonny.org. (
1997022700 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
0.168.192.in-addr.arpa. IN NS pandonny.org.
4.0.168.192.in-addr.arpa. IN PTR pandonny.org.
**************************************************
正向解析是可以了,可是反向就是不行,能不能给个样本,或者帮忙看看?