ddns-hostname not working

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


Hi,

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
199.68.187.123.in-addr.arpa to yannick-acer.viti.pf


here is my dhcpd.conf


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


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


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


zone acme.com {
primary 192.168.1.145;
key cle-ns.acme.com;
}


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

}


-- 
Regards




More information about the dhcp-users mailing list