Testing DHCP/BIND updates

Adrian Marsh Adrian.Marsh at ubiquisys.com
Thu Mar 5 11:48:27 UTC 2009


Hi All,
 
Fairly new to using linux for DHCP and BIND.
I've a centos 5 testing environment, where I'm trying to learn. I'm
using Webmin where possible to show commands.
 
I've setup a basic DHCP and BIND server ok, but I'm not trying to see
how to get BIND updated.
My configs for both are at the end.
 
What I'm getting so far is:
 
Mar  5 11:36:25 ubiq-dell27-cen named[28322]: client 192.168.51.2#32776:
update 'labtest.ubiquisys.local/IN' denied
Mar  5 11:36:25 ubiq-dell27-cen dhcpd: if
ubiq-dell27xp.labtest.ubiquisys.local. IN A rrset doesn't exist add
ubiq-dell27xp.labtest.ubiquisys.local. 21600 IN A 192.168.51.12: timed
out.
 
I setup the domain-name.  I'm unsure if a "dot" is required at the end
of each
 
 
DHCP:
 
#
# DHCP Server Configuration file.
#   see /usr/share/doc/dhcp*/dhcpd.conf.sample  
#
# local
subnet 192.168.51.0 netmask 255.255.255.0 {
            option domain-name "labtest.ubiquisys.local.";
            allow client-updates;
            allow unknown-clients;
            ddns-updates on;
            authoritative;
            dynamic-bootp-lease-length 3600;
            option netbios-name-servers 192.168.50.3;
            option domain-name-servers 192.168.51.2;
            option routers 192.168.51.2;
            range 192.168.51.10 192.168.51.20;
            option tftp-server-name "192.168.51.2";
            }
ddns-update-style ad-hoc;
key rndckey {
            secret
jka1XyvtOTn4e03qUwHzvH2K52jm35Hv7BimwJ7jCvCi5vxXHvgBUgai89me;
            algorithm hmac-md5;
            }
# labtest
zone labtest.ubiquisys.local. {
            primary 192.168.51.2;
            key rndckey;
            }
 
 
 
 
Named.conf:
 
options {
            directory "/etc";
            pid-file "/var/run/named/named.pid";
            forwarders {
                        192.168.50.3;
                        192.168.50.28;
                        };
            forward only;
            };
 
zone "labtest.ubiquisys.local." {
            type master;
            file "/var/named/labtest.ubiquisys.local.hosts";
            };
key rndckey {
            algorithm hmac-md5;
            secret
"jka1XyvtOTn4e03qUwHzvH2K52jm35Hv7BimwJ7jCvCi5vxXHvgBUgai89me";
            };



More information about the dhcp-users mailing list