options

Glenn Satchell Glenn.Satchell at uniq.com.au
Wed Apr 23 14:16:55 UTC 2008


>Date: Wed, 23 Apr 2008 07:05:18 -0700 (PDT)
>From: frank miller <frankkmiller at yahoo.com>
>Subject: options
>
>Is there an option that you can put on a per-client
>basis to allow certain hosts to do dynamic dns ?
>

You could create a host statement and use the 'ddns-updates''
statement. This also works for subnets, classes, groups, etc.

# enable ddns
ddns-update-style interim;
# turn it off for most hosts
ddns-updates false;

host host1 {
	hardware ethernet a:b:c:d:e:f;
	# enable ddns for this host
	ddns-updates true;
}

This is from the dhcpd.conf man page:

     The ddns-updates statement

        ddns-updates flag;

       The ddns-updates parameter controls  whether  or  not  the
       server  will  attempt  to  do a DNS update when a lease is
       confirmed.   Set this to off  if  the  server  should  not
       attempt  to  do updates within a certain scope.  The ddns-
       updates parameter is  on  by  default.    To  disable  DNS
       updates  in  all scopes, it is preferable to use the ddns-
       update-style statement, setting the style to none.

regards,
-glenn



More information about the dhcp-users mailing list