[plug] Strange DNS/DHCP issues - Sipura 3000

Timothy White weirdit at gmail.com
Fri Jan 12 13:52:29 WST 2007


I have a Sipura 3000 getting it's IP via DHCP, and the dhcpd is
supposed to update the DNS.
Jan 12 13:09:52 myoxa named[31301]: client 192.168.0.1#46619: updating
zone 'white.lan/IN': adding an RR at 'voip.white.lan' TXT
Jan 12 13:09:52 myoxa dhcpd: Added new forward map from voip.white.lan
to 192.168.0.45
Jan 12 13:09:52 myoxa named[31301]: client 192.168.0.1#46619: updating
zone '0.168.192.in-addr.arpa/IN': deleting rrset at
'45.0.168.192.in-addr.arpa' PTR
Jan 12 13:09:52 myoxa named[31301]: client 192.168.0.1#46619: updating
zone '0.168.192.in-addr.arpa/IN': adding an RR at
'45.0.168.192.in-addr.arpa' PTR
Jan 12 13:09:52 myoxa dhcpd: added reverse map from
45.0.168.192.in-addr.arpa. to voip.white.lan
Jan 12 13:09:52 myoxa dhcpd: DHCPREQUEST for 192.168.0.45
(192.168.0.1) from 00:0e:08:ca:84:66 (voip) via eth0
Jan 12 13:09:52 myoxa dhcpd: DHCPACK on 192.168.0.45 to
00:0e:08:ca:84:66 (voip) via eth0


And of course, it works.

BUT... 30 minutes later...

Jan 12 13:39:52 myoxa named[31301]: client 192.168.0.1#46731: updating
zone 'white.lan/IN': deleting an RR
Jan 12 13:39:52 myoxa dhcpd: if voip.white.lan IN TXT
"31e2af27bf45afa31e77321a2d282d3d0f" rrset exists and voip.white.lan
IN A 192.168.0.45 rrset exists delete voip.white.lan IN A
192.168.0.45: success.
Jan 12 13:39:52 myoxa named[31301]: client 192.168.0.1#46731: updating
zone 'white.lan/IN': deleting an RR
Jan 12 13:39:52 myoxa dhcpd: if voip.white.lan IN A rrset doesn't
exist delete voip.white.lan IN TXT
"31e2af27bf45afa31e77321a2d282d3d0f": success.
Jan 12 13:39:52 myoxa named[31301]: client 192.168.0.1#46731: updating
zone '0.168.192.in-addr.arpa/IN': deleting rrset at
'45.0.168.192.in-addr.arpa' PTR
Jan 12 13:39:52 myoxa dhcpd: removed reverse map on 45.0.168.192.in-addr.arpa.
Jan 12 13:39:52 myoxa dhcpd: DHCPREQUEST for 192.168.0.45 from
00:0e:08:ca:84:66 (voip) via eth0

The relevant entries in the dhcpd.leases file.... (relating to this host)

lease 192.168.0.45 {
  starts 5 2007/01/12 04:09:52;
  ends 5 2007/01/12 05:09:52;
  tstp 5 2007/01/12 05:09:52;
  binding state active;
  next binding state free;
  hardware ethernet 00:0e:08:ca:84:66;
  uid "\001\000\016\010\312\204f";
  set ddns-fwd-name = "voip.white.lan";
  set ddns-txt = "31e2af27bf45afa31e77321a2d282d3d0f";
  set ddns-rev-name = "45.0.168.192.in-addr.arpa.";
  client-hostname "voip";
}

lease 192.168.0.45 {
  starts 5 2007/01/12 04:39:52;
  ends 5 2007/01/12 05:39:52;
  binding state active;
  next binding state free;
  hardware ethernet 00:0e:08:ca:84:66;
  uid "\001\000\016\010\312\204f";
}

So for some reason, it removes the reverse map!!

The lease times in the dhcpd.conf file are
          default-lease-time 3600;
          max-lease-time 86400;

Any ideas? What to look at next?

Thanks

(For once my googling is failing)

Tim

-- 
Linux Counter user #273956
Don't email joeblogs at scouts.org.au



More information about the plug mailing list