LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 08-14-2003, 03:36 AM   #1
mule
Member
 
Registered: Aug 2003
Posts: 81

Rep: Reputation: 15
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....
 
Old 08-21-2003, 05:04 PM   #2
rjliebenberg
LQ Newbie
 
Registered: Jul 2003
Location: Los Angeles
Distribution: CentOS
Posts: 14

Rep: Reputation: 0
two questions.

1st. what is the output of named-checkzone ?
2nd are you possibly missing a trailing period ?

I was getting this:
# named-checkzone test.com test.zone
dns_master_load: test.zone: SOA record not at top of zone (test.com.test.com)
zone test.com/IN: loading master file test.zone: not at top of zone

Until I added a period after the second line of the zone file:
$ORIGIN test.com.

hope it helps.
 
Old 08-22-2003, 01:06 AM   #3
mule
Member
 
Registered: Aug 2003
Posts: 81

Original Poster
Rep: Reputation: 15
1st) named-checkzone
trinity:/var/named # named-checkzone gwch.net 168.192.db
dns_master_load: 168.192.db:3: ignoring out-of-zone data (0.168.192.in-addr.arpa)
dns_master_load: 168.192.db:13: ignoring out-of-zone data (1.0.168.192.in-addr.arpa)
dns_master_load: 168.192.db:14: ignoring out-of-zone data (100.0.168.192.in-addr.arpa)
dns_master_load: 168.192.db:15: ignoring out-of-zone data (101.0.168.192.in-addr.arpa)
dns_zone_load: zone gwch.net/IN: could not find NS and/or SOA records
dns_zone_load: zone gwch.net/IN: has 0 SOA records
dns_zone_load: zone gwch.net/IN: no NS records

2) the PTR-Database

$TTL 86400 ; 23 hours 30 minutes
0.168.192.in-addr.arpa IN SOA trinity.gwch.net. root.trinity.gwch.net. (
2003081157 ; serial
10800 ; refresh (3 hours)
900 ; retry (15 minutes)
604800 ; expire (1 week)
86400 ; minimum (1 day)
)
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
named classless reverse zone jon3k Linux - Software 1 03-08-2005 09:57 PM
not top zone coontie Linux - Networking 3 01-29-2004 02:02 PM
double entries at reverse zone by BIND 9 ccc Linux - Networking 0 01-08-2004 12:49 PM
reverse zone mapping ssrikant Linux - Networking 2 04-28-2003 01:32 PM
The reverse zone?? eXor Linux - Networking 1 10-15-2002 08:57 PM


All times are GMT -5. The time now is 07:24 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration