<div dir="ltr"><div dir="ltr"><div>Summary - dhcpd removes A record, but leaves DHCID and PTR behind, causing problems in future. </div><div><br></div><div>dhcpd 4.3.5 (custom install with no options to configure)</div><div>bind-9.8.2-0.47.rc1.el6_8.3.<wbr>x86_64</div><div><br></div><div>ddns-updates on;</div><div>ddns-update-style standard;</div><div>ddns-rev-domainname "in-addr.arpa.";</div><div>update-optimization off;</div><div>#update-conflict-detection false;</div><div><br></div><div>update-static-leases on;</div><div>ignore client-updates;</div><div>one-lease-per-client on;</div><div><br></div><div>We are using host definitions as such</div><div><br></div><div>host esxi-xxxx-a5-30-10 {</div><div>  hardware ethernet 2C:59:E5:49:56:38;</div><div>  ddns-hostname "esxi-xxxx-a5-30-10";</div><div>  ddns-domainname "<a href="http://domain.com/" target="_blank">domain.com</a>.";</div><div>  option host-name "esxi-xxxx-a5-30-10";</div><div>  option domain-name "<a href="http://domain.com/" target="_blank">domain.com</a>";</div><div>}</div><div><br></div><div>The host boots on untagged network (no DDNS), PXE boots ESXi with tagged interface on different VLAN with DDNS enabled. At this point it registers A, PTR and DHCID just fine.</div><div>Autodeploy then applies a host profile which cause the interface to down/up on the same network segment. When it goes down, dhcp removes the A record, but not the DHCID or PTR. When it comes back up on the same IP address (MAC address stayed the same), I get</div><div><br></div><div>Feb 28 19:16:22 dhcp001 dhcpd: DHCPOFFER on 10.1.66.37 to 2c:59:e5:49:15:98 via 10.1.66.2</div><div>Feb 28 19:16:22 dhcp001 dhcpd: DHCPREQUEST for 10.1.66.37 (10.1.71.135) from 2c:59:e5:49:15:98 via 10.1.66.2</div><div>Feb 28 19:16:22 dhcp001 dhcpd: DHCPACK on 10.1.66.37 to 2c:59:e5:49:15:98 via 10.1.66.2</div><div>Feb 28 19:16:22 dhcp001 dhcpd: Added new forward map from <a href="http://esxi-xxxx-a5-30-14.domain.com/" target="_blank">esxi-xxxx-a5-30-14.domain.com</a>. to 10.1.66.37</div><div>Feb 28 19:18:58 dhcp001 dhcpd: DHCPRELEASE of 10.1.66.37 from 2c:59:e5:49:15:98 via eth0 (found)</div><div>Feb 28 19:18:58 dhcp001 dhcpd: Removed forward map from <a href="http://esxi-xxxx-a5-30-14.domain.com/" target="_blank">esxi-xxxx-a5-30-14.domain.com</a>. to 10.1.66.37</div><div>Feb 28 19:19:01 dhcp001 dhcpd: DHCPOFFER on 10.1.66.37 to 2c:59:e5:49:15:98 via 10.1.66.3</div><div>Feb 28 19:19:01 dhcp001 dhcpd: DHCPREQUEST for 10.1.66.37 (10.1.71.135) from 2c:59:e5:49:15:98 via 10.1.66.3</div><div>Feb 28 19:19:01 dhcp001 dhcpd: DHCPACK on 10.1.66.37 to 2c:59:e5:49:15:98 via 10.1.66.3</div><div>Feb 28 19:19:04 dhcp001 dhcpd: DHCPREQUEST for 10.1.66.37 from 2c:59:e5:49:15:98 via eth0</div><div>Feb 28 19:31:52 dhcp001 dhcpd: Forward map from <a href="http://esxi-xxxx-a5-30-14.domain.com/" target="_blank">esxi-xxxx-a5-30-14.domain.com</a>. to 10.1.66.37 FAILED: timed out</div><div>and</div><div>updating zone '<a href="http://domain.com/IN" target="_blank">domain.com/IN</a>': update unsuccessful: esxi-xxxx-a5-30-10.domaincom: 'name not in use' prerequisite not satisfied (YXDOMAIN)</div><div><br></div><div># host -a <a href="http://esxi-xxxx-a5-30-10.domain.com/" target="_blank">esxi-xxxx-a5-30-10.domain.com</a></div><div>Trying "<a href="http://esxi-xxxx-a5-30-10.domain.com/" target="_blank">esxi-xxxx-a5-30-10.domain.com</a><wbr>"</div><div>;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 42622</div><div>;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 3</div><div><br></div><div>;; QUESTION SECTION:</div><div>;<a href="http://esxi-xxxx-a5-30-10.domain.com/" target="_blank">esxi-xxxx-a5-30-10.domain.com</a><wbr>. IN ANY</div><div><br></div><div>;; ANSWER SECTION:</div><div><a href="http://esxi-xxxx-a5-30-10.domain.com/" target="_blank">esxi-xxxx-a5-30-10.domain.com</a>. 3600 IN DHCID AAEBABsJWn8ZMp8B0wG1h6pv4FVrVZ<wbr>obDzBUVM8QVYrQPak=</div><div><br></div><div>;; AUTHORITY SECTION:</div><div><a href="http://domain.com/" target="_blank">domain.com</a>.  86400   IN      NS      <a href="http://dns002.domain.com/" target="_blank">dns002.domain.com</a>.</div><div><a href="http://domain.com/" target="_blank">domain.com</a>.  86400   IN      NS      <a href="http://dns003.domain.com/" target="_blank">dns003.domain.com</a>.</div><div><a href="http://domain.com/" target="_blank">domain.com</a>.  86400   IN      NS      <a href="http://dns001.domain.com/" target="_blank">dns001.domain.com</a>.</div><div><br></div><div><br></div><div>It's my understanding it should be deleting the DHCID record because there is no A record? The esxi server still has a valid lease on 10.1.66.34</div><div><br></div><div>What am I missing?</div><div><br></div></div></div>