Why my DHCPD never send DDNS updates ...
Sébastien CRAMATTE
s.cramatte at wanadoo.fr
Sun Aug 26 22:39:32 UTC 2007
Hello
I've setup DHCP3 + BIND9 on two diferents servers using dnssec key
When I do a "nsupdate" on the dhcp server I can add or remove host
on the remote DNS server without any problems.
So I suppose that my DNSSEC key setup is ok ...
But my the dhcpd daemon doesn't do his job ... I mean that it never
send ddns updates when a client get a new IP
In my /var/log/syslog I never seen DDNS updates just DHCPREQUEST and
DHCPACK
Aug 26 22:33:38 dhcp2 dhcpd: DHCPREQUEST for 192.168.0.50 from
00:16:3e:60:f0:22 (test.home) via eth0
Aug 26 22:33:38 dhcp2 dhcpd: DHCPACK on 192.168.0.50 to
00:16:3e:60:f0:22 (test.home) via eth0
I don't want that my dhcp client update dns with their own name. I would
like that dhcp generate the fqdn
I'm running DHCP 3.0.4 + BIND 9.3.4 as virtual DomU debian etch 4.0
server. The main host is a Xen 3.0.4 Dom0
My dhcp client is a Debian Etch too ...
----- 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;
}
}
------
Any ideas ?
May thanks for the help ...
Regards
More information about the dhcp-users
mailing list