reverse zone dynamic update problem

Bob Vance bobvance at alumni.caltech.edu
Mon Jan 29 16:37:05 UTC 2001


Notice that your reverse update looks little funky:

>add 1200 IN PTR 20.2.168.192.2.168.192.in-addr.arpa.

ISC 'dhcpd' tries to add the *entire* reverse quad.
Make your dhcpd.conf look like:
   ...
    ddns-domainname "dynamic.mydomain.com.";
    ddns-rev-domainname "in-addr.arpa.";
-----------------------^^^^
    ...

In my case (for my home network of about 15 nodes), all addresses,
dynamic and static, are in the same subnet and so I use:
            ...
    ddns-domainname "dynamic.vance.";
    ddns-rev-domainname "dynamic.in-addr.arpa.";
            ...

Then, in my regular reverse zone I have.

$GENERATE 16-47 $   CNAME $.1.168.192.dynamic.in-addr.arpa.

for my dynamic subnet range.


Also, if you haven't done so already, upgrade to 3b2-pl14
(-pl16 is available, but has a reported memory leak)
and add line:

    ddns-update-style ad-hoc;




-------------------------------------------------
Tks        | <mailto:BVance at sbm.com>
BV         | <mailto:BobVance at alumni.caltech.edu>
Sr. Technical Consultant,  SBM, A Gates/Arrow Co.
Vox 770-623-3430           11455 Lakefield Dr.
Fax 770-623-3429           Duluth, GA 30097-1511
=================================================





-----Original Message-----
From: bind-users-bounce at isc.org [mailto:bind-users-bounce at isc.org]On
Behalf Of Nicolas Monier
Sent: Monday, January 29, 2001 9:47 AM
To: comp-protocols-dns-bind at oleane.net
Subject: reverse zone dynamic update problem



Hello,

I configured Bind9 with 4 zones:
- zone "static.mydomain.com" and the correponding reverse zone
"1.178.192.in-addr.arpa"
- zone "dynamic.mydomain.com" and the correponding reverse zone
"2.178.192.in-addr.arpa"

If I simply use these zones as static zones, all works well:
nslookup station1.static.mydomain.com --> 192.168.1.10
nslookup station2.dynamic.mydomain.com --> 192.168.2.24
nslookup 192.168.1.10 --> station1.static.mydomain.com
nslookup 192.168.2.24 --> station2.dynamic.mydomain.com

Now, I want use ISC DHCP 3b2 and dynamic updates capabilities.
I remove records from zones dynamic.mydomain.com and
2.178.192.in-addr.arpa .
I add "allow-update" directive in named configuration file.
I add "ddns-domainname"  and "ddns-rev-domainname" in DHCPD config file.

I connect a DHCP client. I can read in dhcpd logs:
add 1200 IN A guest1.dynamic.mydomain.com.  192.168.2.20: succeed !!!
add 1200 IN PTR 20.2.168.192.2.168.192.in-addr.arpa.
guest1.dynamic.mydomain.com: succeed !!!

I notice that two jnl files were created.

BUT if I try to send queries:
nslookup guest1.dynamic.mydomain.com --> 192.168.2.20
nslookup 192.168.2.20 --> Can't find host !!!

Have anyone the same problem ???

Thanks for your help,

Nicolas Monier
nicolas.monier at ias.fr










More information about the bind-users mailing list