|
DDNS and 2 reverse zones - not at top of zone
hi all,
thx to bastard23 for helping me resolving my problem. so now, i have my local dns also forwarding to external requests!
But now, another problem occurs:
on the machine running bind, i have 2 nics, serving 2 subnets:
Net Subnet
10.0.0.0 255.0.0.0
192.168.0.0 255.255.255.0
and i would like to make dns for both.
so i did:
1 file gwch.net.db for my forward-zone
1 file 0.10.db for my reverse-zone on the 10.0.0.0 net
1 file 168.192.db for my reverse-zone on the 192.168.0.0 net
so, i inserted it to named.conf (no problem)
but if i start named.conf, the following error occurs:
Aug 14 10:11:33 trinity /usr/sbin/named[27604]: dns_master_load: 168.192.db:11: 0.168.192.in-addr.arpa: not at top of zone
Aug 14 10:11:33 trinity /usr/sbin/named[27604]: dns_zone_load: zone 168.192.in-addr.arpa/IN: loading master file 168.192.db: not at top of zone
Does anybody know what this means? is there a problem having the 2nd reverse zone?
here my gwch.net.db
---------------------------
trinity:/var/named # more gwch.net.db
$TTL 86400 ; 1 day
$ORIGIN .
gwch.net. IN SOA trinity.gwch.net. root.trinity.gwch.net. (
2003081122; serial
10800; refresh
900; retry
604800; expire
86400; minimum
)
NS trinity.gwch.net.
A 10.0.0.2
$ORIGIN gwch.net.
morpheus A 10.0.0.1
trinity A 10.0.0.2
connect A 192.168.0.1
trinity A 192.168.0.100
link A 192.168.0.101
www CNAME link.gwch.net.
here my 0.10.db
---------------------
trinity:/var/named # more 0.10.db
$ORIGIN .
$TTL 84600
0.0.10.in-addr.arpa IN SOA trinity.gwch.net. root.trinity.gwch.net. (
2003081152; serial
10800; refresh
900; retry
604800; expire
86400; minimum
)
NS trinity.gwch.net.
A 10.0.0.2
$ORIGIN 0.0.10.in-addr.arpa.
1 PTR morpheus.gwch.net.
2 PTR trinity.gwch.net.
here my 168.192.db
--------------------------
trinity:/var/named # more 168.192.db
$ORIGIN .
$TTL 84600
0.168.192.in-addr.arpa IN SOA trinity.gwch.net. root.trinity.gwch.net. (
2003081204; serial
10800; refresh
900; retry
604800; expire
86400; minimum
)
NS trinity.gwch.net.
A 192.168.0.100
$ORIGIN 0.168.192.in-addr.arpa.
1 PTR connect.gwch.net.
100 PTR trinity.gwch.net.
101 PTR link.gwch.net.
Thx for any help!!!
DNS: Bind 9
System: SuSE 8.0 *lol* on a p1/166 mhz machine....
|