dhcpd and no dns update

Danilo Levantesi vagninu at virgilio.it
Thu Mar 16 12:35:35 UTC 2006


Hi to all.
I'm experiencing a problem with dhcpd and dns update.
I have bind condigured and I would like dhcpd sends dns update to bind server, 
but i can not have this working.
The dhcpd's logs show no dnsupdate activity, and bind's log neither.
Moreover, using "netstat -a -n|grep 953" I can not see any TIME_WAIT 
connection on 953 port, but only a 953 LISTENING state.
Can someone help me? I tried a lot with google, but nothing helpful :'(
This is my dhcpd.conf:

# dhcpd.conf
#
#

authoritative;

ddns-updates on;
ddns-update-style interim;
ddns-domainname="engineers";
ddns-ttl 7200;

option subnet-mask 255.255.255.0;
option broadcast-address 192.168.254.255;

option routers 192.168.254.1;
option domain-name "engineers";
option domain-name-servers 192.168.254.11;

ddns-hostname = pick (option fqdn.hostname, option host-name, concat 
("host",binary-to-ascii (10, 8, "-", leased-address)));

option host-name = config-option server.ddns-hostname;

subnet 192.168.254.0 netmask 255.255.255.0 {
        range 192.168.254.20 192.168.254.29;

        ignore client-updates;

        key DHCP_UPDATER {
                algorithm HMAC-MD5;
                 secret "SsgpQcPM4Q4EJexV7TWj7Q==";
        }

        zone engineers. {
             primary 127.0.0.1;
             key DHCP_UPDATER;
        }

        zone 254.168.192.in-addr.arpa. {
             primary 127.0.0.1;
             key DHCP_UPDATER;
        }

        host antartic {
                hardware ethernet 00:11:2f:70:ae:59;
                fixed-address 192.168.254.104;
                option host-name "antartic";
                ddns-hostname "antartic";
        }
}

and this is my named.conf:


# /etc/named.conff
#
#

options {
        forward first;
        forwarders {
                212.216.112.112;
                212.216.172.62;
        };

        directory "/var/named";
        pid-file "/var/run/named.pid";
};

key DHCP_UPDATER {
         algorithm HMAC-MD5;
         secret "SsgpQcPM4Q4EJexV7TWj7Q==";
};

zone "." IN {
        type hint;
        file "root.hints";
};

zone "0.0.127.in-addr.arpa" IN {
        type master;
        file "engineers/named.local";
        allow-update { none; };
};

zone "localhost" IN {
        type master;
        file "engineers/localhost.zone";
        allow-update { none; };
};

zone "engineers" {
        type master;
        file "engineers/engineers.zone";
        allow-update { key DHCP_UPDATER; };
};

zone "254.168.192.in-addr.arpa" IN {
        type master;
        file "engineers/engineers.reverse";
        check-names ignore;
        allow-update { key DHCP_UPDATER; };
};



More information about the dhcp-users mailing list