Author Topic: forgetting dhcp clients  (Read 1367 times)

craigyk

  • Zen Apprentice
  • *
  • Posts: 28
  • Karma: +4/-0
    • View Profile
forgetting dhcp clients
« on: April 05, 2014, 02:02:23 am »
does anyone else find that zentyal forgets DHCP DNS entries?

BrunovonTroba

  • Zen Monk
  • **
  • Posts: 61
  • Karma: +3/-0
    • View Profile
Re: forgetting dhcp clients
« Reply #1 on: April 05, 2014, 09:53:15 pm »
Please expand Your question - more data needed

pcready.cl

  • Zen Samurai
  • ****
  • Posts: 286
  • Karma: +13/-1
  • Zentyal Installer in Chile
    • View Profile
    • PC Ready Chile SpA
Re: forgetting dhcp clients
« Reply #2 on: April 06, 2014, 09:06:36 pm »
does anyone else find that zentyal forgets DHCP DNS entries?

Try this:  ;)

Code: [Select]
sudo -i
cd /var/lib/dhcp/
rm -rf dhcpd.leases~
echo "" > dhcpd.leases
service zentyal dhcp restart
Email: contacto@pcready.cl
Teléfono: (+56 32) 314 0883
Skype: pcready.cl
Web: https://www.pcready.cl

craigyk

  • Zen Apprentice
  • *
  • Posts: 28
  • Karma: +4/-0
    • View Profile
Re: forgetting dhcp clients
« Reply #3 on: April 07, 2014, 11:48:25 pm »
Please expand Your question - more data needed

I meant in general, but more specifically in my case trying HA, it seems to happen quite a lot.  I've seen my two HA server spontaneously decide to switch DHCP from one host to the other, upon which, all the DHCP DNS entries on the old host seem to disappear causing me a cascading set of headaches when my computers stop being able to find one another.  Also it seems that when the DHCP server is running on one of the hosts reverse DNS mappings get correctly updated on both hosts, but when running DHCP on the other server, one of the DNS servers stops getting reverse DNS entries, even though I can see it getting zone update notifications.