ddns-hostname not working

Yannick CHAMPS yannick at viti.pf
Wed Dec 28 01:48:53 UTC 2011


Why dhcpd is using hostname provided by my laptop and not the
ddns-hostname option ?
I want ddns-hostname option to be used to update dns server.

Dec 27 15:04:59 vitiwebsrv2 dhcpd: added reverse map from to yannick-acer.viti.pf

here is my dhcpd.conf

ddns-update-style interim;
log-facility local7;
update-static-leases on;
shared-network Private {
subnet netmask {

# VLAN404 test DNS/DHCP automatic update
subnet netmask {
ddns-updates on;
ddns-domainname "acme.com";
ddns-rev-domainname "in-addr.arpa";
ddns-hostname = binary-to-ascii(10, 8, "-", leased-address);
option routers        ;
option host-name = config-option server.ddns-hostname;
option subnet-mask    ;
option domain-name              "acme.com";
option domain-name-servers;
default-lease-time 360;
max-lease-time 360;

key "cle-ns.acme.com" {
        algorithm       hmac-md5;
        secret "xxxxxxxxx==";

zone acme.com {
key cle-ns.acme.com;

zone 68.187.123.in-addr.arpa {
key cle-ns.acme.com;



More information about the dhcp-users mailing list