Why does dhcpd node in failover setup delete DNS records following daemon restart?

Solution Verified - Updated -

Issue

Two systems are running dhcpd in failover mode using dynamic DNS. If one of them goes down unexpectedly then upon dhcpd service restart some DNS records with valid leases may get deleted. The exact scenario is as follows:

  1. Both nodes (A and B) are up and serving dhcp leases.
  2. Node A serves lease for host MYHOST.mydomain.com and updates DNS record.
  3. Node A crashes.
  4. Host MYHOST.mydomain.com renews its lease, node B serves it.
  5. The original lease served in step 2 expires but the one served in step 4 doesn't.
  6. Node A is brought back up and dhcpd is restarted.
  7. DNS records for MYHST.mydomain.com are removed despite the fact the lease obtained in step 4 is still valid.

Environment

Red Hat Enterprise Linux 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.