- To: Kyle <kl@xxxxxxxxxxx>
- Subject: Re: [SLUG] DHCP -> DDNS not updating
- From: Peter Chubb <peter.chubb@xxxxxxxxxxxx>
- Date: Tue, 15 Feb 2011 13:55:49 +1100
- Cc: slug@xxxxxxxxxxx
- Organization: National ICT Australia
- User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.8 Emacs/23.2 (i486-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)
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