Why my DHCPD never send DDNS updates ...
Simon Hobson
dhcp1 at thehobsons.co.uk
Mon Aug 27 07:48:30 UTC 2007
Sébastien CRAMATTE wrote:
>----- dhcpd.conf ------
>ddns-update-style interim;
>ddns-updates on;
>deny client-updates;
>authoritative;
>
>update-static-leases on;
>
>option domain-name-servers 192.168.0.254;
>
>ddns-domainname "home";
>ddns-rev-domainname "in-addr.arpa";
>ddns-hostname = concat ("dhcp-", binary-to-ascii (10, 8, "-",
>leasedaddress));
>
>default-lease-time 600;
>max-lease-time 7200;
>
>log-facility local7;
>
>include "/etc/dhcp3/dhcp-update.key";
>
>subnet 192.168.0.0 netmask 255.255.255.0 {
> range 192.168.0.50 192.168.0.100;
> option routers 192.168.0.254;
> option host-name = config-option server.ddns-hostname;
>
> zone home.
> {
> primary 192.168.0.5;
> key DHCP-UPDATE-KEY;
> }
>
> zone 0.168.192.in-addr.arpa.
> {
> primary 192.168.0.6;
> key DHCP-UPDATE-KEY;
> }
>
>}
Firstly, try moving the zone declarations outside
of the subnet - they are global configs.
'ddns-rev-domainname "in-addr.arpa";' is
redundant as that's the default.
More importantly, your seem to have three
different addresses for your DNS server :
>option domain-name-servers 192.168.0.254;
> primary 192.168.0.5;
> primary 192.168.0.6;
I would suggest fixing those and see if it still
doesn't work, the rest seems OK.
More information about the dhcp-users
mailing list