deny client-updates and ddns-updates

Ray Phillips r.phillips at uq.edu.au
Tue Mar 31 05:33:36 UTC 2009


Rafael:

>Is this the correct behaviour? I can't deduce it from the dhcpd.conf manual.

I believe so.

>If it's the case, is there any way I can force dhcp server to update 
>the dns records even if no fqdn is sent in the client request?

Here's one example.  This code assigns DNS names to hosts which don't 
provide a name to the dhcp server, using the digits of the host's MAC 
address as an attempt to keep the names unique, based on one of 
Glenn's posts [1]:

option server.ddns-hostname = pick-first-value (
   option fqdn.hostname,
   option host-name,
   concat (
     "nn-",
     suffix (concat ("0", binary-to-ascii (16, 8, "",
       substring (hardware, 1, 1))),2), "-",
     suffix (concat ("0", binary-to-ascii (16, 8, "",
       substring (hardware, 2, 1))),2), "-",
     suffix (concat ("0", binary-to-ascii (16, 8, "",
       substring (hardware, 3, 1))),2), "-",
     suffix (concat ("0", binary-to-ascii (16, 8, "",
       substring (hardware, 4, 1))),2), "-",
     suffix (concat ("0", binary-to-ascii (16, 8, "",
       substring (hardware, 5, 1))),2), "-",
     suffix (concat ("0", binary-to-ascii (16, 8, "",
       substring (hardware, 6, 1))),2)
   )
);


Ray



[1]  http://marc.theaimsgroup.com/?l=dhcp-server&m=105689607527110&w=2



More information about the dhcp-users mailing list