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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content