Tugger the SLUGger!SLUG Mailing List Archives

Re: [SLUG] DHCP -> DDNS not updating


Hi Kyle,
   I suggest looking in /var/log/messages  (I believe the default
   confiuration for CENTOS logs everything into there )

You should see lines like:
 Feb 15 06:25:34 vampire dhcpd: DHCPREQUEST for A.B.C.D from
 some:mac:address:here  via eth0
then you might see something like
 Feb 15 06:25:35 vampire named[3921]: client 127.0.0.1#53: update
 'keg.ertos.in.nicta.com.au/IN' denied 

or, 

Feb 14 17:35:04 vampire named[4854]: client 127.0.0.1#42217: updating zone 'keg.ertos.in.nicta.com.au/IN': update unsuccessful: bigmac.keg.ertos.in.nicta.com.au: 'name not in use' prerequisite not satisfied (YXDOMAIN)


You may also want to check that can update named manually, using
nsupdate.

As root, on the machine running dhcpd, do

nsupdate -k keyfile
server whateveryournameserveris
domain domain.com
update add fred.domain.com 864000 A 192.168.1.100
show
send

or similar.  Then try host fred.domain.com to see if you can see the
record you just added.

Peter C
--
Dr Peter Chubb                                  peter DOT chubb AT nicta.com.au
http://www.ertos.nicta.com.au               ERTOS within National ICT Australia
All things shall perish from under the sky/Music alone shall live, never to die