Networking Forums

Networking Forums > Computer Networking > Linux Networking > DNS Reverse Zone Delegation

Reply
Thread Tools Display Modes

DNS Reverse Zone Delegation

 
 
Christian Barmala
Guest
Posts: n/a

 
      11-30-2006, 02:19 PM
Hi,

we run a demo network 192.168.25.0/24 with 2 Windows-based DNS-Servers.

ns1.lab.myorg.com manages the zones
lab.myorg.com
25.168.192.in-addr.arpa

ns2.demo.myorg.com manages the zones
demo.myorg.com
25.168.192.in-addr.arpa

Both of them automatically create reverse entries for forward entries,
and both of them think they are responsible for the whole
192.168.25.0/24 network. This does not create collisions, since
host01.lab.myorg.com ... host29.lab.myorg.com uses 192.168.25.1 ...
192.168.25.29, while host30.demo.myorg.com ... host40.demo.myorg.com
uses 192.168.25.30 ... 192.168.25.40.

I know this setup is suboptimal, but for the moment I cannot change it
and I'm just looking for a workaround:

I set up a new Linux-based DNS ns3.demo.myorg.com with 3 Zones:
demo.myorg.com and lab.myorg.com are forwarder zones and
25.168.192.in-addr.arpa delegates to ns1 or ns2 as appropriate.

I first considered rfc2317 delegation, but the address ranges for lab
and demo are not at binary boundaries like 192.168.25.0/25 and
192.168.25.128/25. Then I came across
http://homepages.tesco.net/J.deBoyne...elegation.html

I thought I simply had to set up the zone file for
25.168.192.in-addr.arpa like this:

$GENERATE 1-29 $ NS ns1.lab.myorg.com.
$GENERATE 30-40 $ NS ns2.demo.myorg.com.

However when I do an nslookup - ns3.demo.myorg.com, the lookup works for
some IP addresses, while I get an NXDOMAIN for others. nslookup -
ns2.demo.myorg.com works for the same address, which fails on ns3.

Any ideas why?

Christian
 
Reply With Quote
 
 
 
 
Christian Barmala
Guest
Posts: n/a

 
      12-08-2006, 07:15 AM
Christian Barmala wrote:
> we run a demo network 192.168.25.0/24 with 2 Windows-based DNS servers.


I found a workaround: I do a
host -l 25.168.192.in-addr.arpa ns1.lab.myorg.com
host -l 25.168.192.in-addr.arpa ns2.demo.myorg.com
and concatenate the two outputs into a zone file for ns3.demo.myorg.com.
Some additional tweaking is required, but that's the basic idea. This
way I can even map yet more chaotic setups, which you often find in
demo/test/lab/temp environments.

Christian
 
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DNS -- reverse zone delegation on a CIDR subnet Vwaju Linux Networking 9 11-21-2008 11:06 AM
Reverse zone with nondefault mask atomax@nospam.nospam Windows Networking 1 02-28-2008 01:47 PM
Reverse zone - one zone or multiple zones ? Alex Windows Networking 2 06-12-2007 02:58 PM
btexact tunnel not doing assigning reverse delegation for my ipv6address Asfand Yar Qazi Home Networking 0 02-20-2007 10:32 PM
What should be the name of my reverse zone? Spin Windows Networking 4 05-09-2006 11:09 PM



1 2 3 4 5 6 7 8 9 10 11