Delegating a subzone to another server

Dan Newcombe <[email protected]> Sat, 16 Apr 2011 23:26:13 -0400
Newsgroups gmane.network.dns.bind9.dlz
Message-ID <[email protected]>
Hi all.  Bit of a problem/frustration here.  I have Bind 9.8.0 installed 
with the mysql dlz driver from the bind tarball source tree.   I have 
(almost) everything working, using the scheme on the example from the 
DLZ pages.  It is working GREAT!!!

The only problem I have is trying to delegate a subzone to our active 
directory servers.

  If I setup the subzone in the database as a test it works.   However, 
if I just put the NS records for the subzone, it does not.

For the domain, clayton.edu, I have an A record for addns.clayton.edu. 
I have tried putting the NS record in two ways:
One is
id, zone, ttl, type, host, data
'23', 'clayton.edu', '86400', 'NS', 'ccsunet', 'addns.clayton.edu.'

The other is
id, zone, ttl, type, host, data
'23', 'ccsunet.clayton.edu', '86400', 'NS', '@', 'addns.clayton.edu.'

On the first example, dig shows nothing for the ccsunet.clayton.edu 
subzone, however it shows addns as a nameserver for the clayton.edu 
domain, so ignoring the host field.

For the second example, dig shows addns as the nameserver for the 
ccsunet.clayton.edu subzone, however trying to lookup a host on that 
domain fails.
  query failed (SERVFAIL) for wraith.ccsunet.clayton.edu/IN/A at 
query.c:5880
Best I can guess it looks like because it finds a record for the domain, 
it assumes it is authoritative for it.

I have also put a stanza in the named.conf for the ccsunet.clayton.edu 
zone to have it forward to the ip of the addns.clayton.edu, however that 
is ignored unless I comment out the dlz config lines.

So, what is the correct method for adding the records for a subzone that 
resides elsewhere?

Many thanks!

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev