LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 04-01-2012, 08:13 PM   #1
nixlayman
LQ Newbie
 
Registered: Apr 2012
Posts: 1

Rep: Reputation: Disabled
DNS reverse zone delgation work in BIND8 but not BIND9




I found that DNS reverse zone delgation is not working in BIND9.x but working perfectly OK in BIND8.x with the same setup.

I am getting 'Non-existent host/domain' error when querying (for eg)
nslookup -type=any 112.35.10.in-addr.arpa
* localhost can't find 112.35.10.in-addr.arpa:Non-existent host/domain
--------------------
Here are my configuration files setup.
Anyone know what are the changes in BIND9... ??
(actually this happened on an Tru64 unix server)

./named.conf
_______________________________________
| . .
|zone "35.10.in-addr.arpa" {
| type master;
| file "zone/35.10.in-addr.arpa.data";
|};
| . .

./zone/35.10.in-addr.arpa.data
____________________________________________
|$TTL 300
|@ IN SOA nsi1.testchem.org. dnsadm.testchem.org. (
| 2012032600 ; serial
| . .
| 1d ) ; min
| IN NS ns1.testchem.org.
| IN NS ns2.testchem.org.
| . .
|112 IN NS ns5.radiochem.org.
|112 IN NS ns5.radiochem.org.
| . .
|13.115 IN PTR uranium.radioactive.testchem.org.
|;---------------------------------------
|116 IN NS ns6.geochem.org.
|116 IN NS ns6.geochem.org.
|;---------------------------------------
| . .
| . .
|122 IN NS ns12.physicalchem.org.
|122 IN NS ns12.physicalchem.org.
|;--------------------------------------
| . .
|14.127 IN PTR boron.element.testchem.org.
|24.127 IN PTR carbon.element.testchem.org.
| . .
| . .
 
Old 04-03-2012, 03:26 PM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

I guess this is a consequence of:
Quote:
6. No Information Leakage between Zones

BIND 9 stores the authoritative data for each zone in a separate data
structure, as recommended in RFC1035 and as required by DNSSEC and
IXFR. When a BIND 9 server is authoritative for both a child zone and
its parent, it will have two distinct sets of NS records at the
delegation point: the authoritative NS records at the child's apex,
and a set of glue NS records in the parent.

BIND 8 was unable to properly distinguish between these two sets of NS
records and would "leak" the child's NS records into the parent,
effectively causing the parent zone to be silently modified: responses
and zone transfers from the parent contained the child's NS records
rather than the glue configured into the parent (if any). In the case
of children of type "stub", this behaviour was documented as a feature,
allowing the glue NS records to be omitted from the parent
configuration.

Sites that were relying on this BIND 8 behaviour need to add any
omitted glue NS records, and any necessary glue A records, to the
parent zone.

Although stub zones can no longer be used as a mechanism for injecting
NS records into their parent zones, they are still useful as a way of
directing queries for a given domain to a particular set of name
servers.
(Quote from bind-9.8.1-P1/doc/misc/migration)
You should use $ORIGIN and create new zone files for the child zones in the authoritatives name server(s), e.g:
Code:
$TTL 300
@ IN SOA nsi1.testchem.org. dnsadm.testchem.org. (
 2012032600 ; serial
  . .
  1d ) ; min
  IN NS ns1.testchem.org.
  IN NS ns2.testchem.org.
  . .
$ORIGIN 112.35.10.in-addr.arpa.
 IN NS ns5.radiochem.org.
 IN NS ns5.radiochem.org.

$ORIGIN 116.35.10.in-addr.arpa.
  IN NS ns6.geochem.org.
  IN NS ns6.geochem.org.
...
Regards
 
  


Reply



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
bind9 reverse zone alkingg Linux - Server 7 02-25-2011 09:36 AM
role of zone files in bind9 dns aceone Red Hat 3 12-21-2010 04:05 AM
dns: bind9: cascading server sub-zone polemon Linux - Networking 1 11-18-2009 07:30 AM
Reverse DNS on Bind9 Taleya Linux - Networking 1 11-04-2009 11:39 AM
DNS Zone x-fer - From one zone to another / Debian 3.1 + BIND9 kenwoodgt Linux - Software 0 11-01-2006 10:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:06 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration