Extending dynamic address range w/ DDNS

Simon Hobson dhcp1 at thehobsons.co.uk
Tue Mar 16 13:00:20 UTC 2010

Frank Stanek wrote:

>we have been assigned a /22 IP address range for internal use. Of this
>range we have been using a /24 range for dynamic clients with DDNS
>updates (dhcpd 3.0.3, BIND 9.4.3-P3), the other three /24 ranges are
>currently reserved for static hosts and other things. On the BIND
>side we have one static forward zone and one dynamic one. As for the
>reverse zones we have four: one dynamic zone and three static ones (one
>for each of the /24 ranges).
>The relevant part of the dhcpd configuration looks like this:
>subnet netmask {
>     authoritative;
>     range;
>     default-lease-time 172800;
>     max-lease-time 345600;
>     zone dynamic.intern. { primary; key key_ddns; }
>     zone 2.16.172.in-addr.arpa. { primary; key key_ddns; }
>     allow unknown-clients;
># ...
>Now this dynamic range is getting too small because of an increase
>in the number of dynamic clients. We tried to extend the range like
>but then obviously only the 2.16.172.in-addr.arpa. zone will get updated,
>not the 1.16.172.in-addr.arpa. zone. Adding the 1.16.172 zone does not
>work because it seems dhcpd does not recognize which zone should be updated
>based on the IP address it hands out.

Take the zone declarations out of the subnet declaration, they should 
be in the global scope.
Define zones for both 1.16.172.in-addr.arpa and 2.16.172.in-addr.arpa 
and it should all happen automagically.

Also, while it is in fact completely valid to have to in one range, in practice it has been advised to leave 
.0 and .255 out - apparently there are some badly behaved clients 
that can't cope with .0 or .255 on the assumption that they are 
network and broadcast addresses. So you would split the range thus :
pool {
Simon Hobson

WANTED: "Software CD ROM Kit" for Canon CLBP 360-PS printer (Canon 
part no RH6-3612, or possibly RH6-3810, or RH6-3610 might do). I've a 
dead HD and need this CD so I can replace the disk and re-install the 
printer OS on it.
This is NOT the same thing as the printer drivers to load on the 
computer - there's no problem there.
If anyone knows where I might get hold of one I'd be grateful - 
requests to Canon drew a blank, it's been out of support for years.
Alternatively, if anyone has one of these and would let me image 
their hard disk ...

Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.

More information about the dhcp-users mailing list