<div dir="ltr">I've got a fairly standard setup here, ISC dhcpd handing out IPv4 address, updating a DNS zone handled by BIND with those hostnames. Though it seems lately (perhaps it's always been this case?) that the first time a new host comes up and requests an IP from the dhcp server, BIND is not notified of the new hostname and IP address. I have to reboot the client and then, on the subsequent request/ack cycle, is DNS updated. So my question is, why do I have to reboot the clients to get dhcpd to update bind? Is something misconfigured in my DHCPD to not do the intial update, or is it something client-side that is needed?<br><br>Infrastructure:<br><ul><li>dhcp server os: OpenBSD 6.0 on amd64 ($OPENBSD in the below logs)<br></li><li>dhcpd version: isc dhcpd 4.3.4<br></li><li>bind version: isc bind 9.10-4p2<br></li><li>client OS: CoreOS (though I also run ubuntu and OSX locally as well) ($COREOSCLIENT in the below logs)</li></ul>From the DHCPD logs, the initial request:<br><br><font face="monospace, monospace">Dec  7 06:25:49 $OPENBSD dhcpd: DHCPOFFER on 10.10.2.245 to 52:54:00:18:f7:fb via vlan12</font><br><br><font face="monospace, monospace">Dec  7 06:25:49 $OPENBSD dhcpd: DHCPREQUEST for 10.10.2.245 (10.10.2.1) from 52:54:00:18:f7:fb via vlan12</font><br><br><font face="monospace, monospace">Dec  7 06:25:49 $OPENBSD dhcpd: DHCPACK on 10.10.2.245 to 52:54:00:18:f7:fb via vlan12</font><br><br><font face="arial, helvetica, sans-serif">I reboot the client, and then:</font><br><br><font face="monospace, monospace">Dec  7 06:27:59 $OPENBSD dhcpd: DHCPREQUEST for 10.10.2.245 (10.10.2.1) from 52:54:00:18:f7:fb via vlan12</font><br><br><font face="monospace, monospace">Dec  7 06:27:59 $OPENBSD dhcpd: DHCPACK on 10.10.2.245 to 52:54:00:18:f7:fb (coreE3) via vlan12</font><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace"></font><font face="monospace, monospace">07-Dec-2016 06:27:59.177 update-security: info: client 10.10.2.1#28804/key $TSIG-KEY: signer "$TSIG-KEY" approved</font><br><br><font face="monospace, monospace">07-Dec-2016 06:27:59.177 update: info: client 10.10.2.1#28804/key $TSIG-KEY: updating zone '<a href="http://dns.zone.net/IN" target="_blank">dns.zone.net/IN</a>': adding an RR at '$COREOSCLIENT' A 10.10.2.245</font><br><br><font face="monospace, monospace">07-Dec-2016 06:27:59.177 update: info: client 10.10.2.1#28804/key $TSIG-KEY: updating zone '<a href="http://dns.zone.net/IN" target="_blank">dns.zone.net/IN</a>': adding an RR at '$COREOSCLIENT' TXT "31b0331ba3cfc488d24fbf</font><font face="monospace, monospace">c87f9e1<wbr>27924"</font><br><br><font face="monospace, monospace">Dec  7 06:27:59 $OPENBSD dhcpd: Added new forward map from $COREOSCLIENT to 10.10.2.245</font><br><br><font face="monospace, monospace">07-Dec-2016 06:27:59.182 update-security: info: client 10.10.2.1#28804/key $TSIG-KEY: signer "$TSIG-KEY" approved</font><br><br><font face="monospace, monospace">07-Dec-2016 06:27:59.182 update: info: client 10.10.2.1#28804/key $TSIG-KEY: updating zone '2.10.10.in-addr.arpa/IN': deleting rrset at '245.2.10.10.in-addr.arpa' PTR</font><br><br><font face="monospace, monospace">07-Dec-2016 06:27:59.182 update: info: client 10.10.2.1#28804/key $TSIG-KEY: updating zone '2.10.10.in-addr.arpa/IN': adding an RR at '245.2.10.10.in-addr.arpa' PTR $COREOSCLIENT.</font><br><br>relevant dhcpd config:<br><font face="monospace, monospace"><br>ddns-updates on;<br>ddns-update-style interim;<br>update-optimization off;<br><br>subnet 10.10.2.0 netmask 255.255.255.0 {<br>   range 10.10.2.200 10.10.2.250;<br>   option routers 10.10.2.1;<br>   option domain-name-servers 10.10.2.1;<br><br><br>   zone <a href="http://dns.zone.net" target="_blank">dns.zone.net</a> {<br>       primary 10.10.2.1;<br>       key "$TSIG-KEY";<br>   }<br><br>   zone 2.10.10.in-addr.arpa {<br>       primary 10.10.2.1;<br>       key "$TSIG-KEY";<br>   }<br>}</font><br><br>What am I missing here? Why does it require a restart of the client to get the dns entry added?<br><br>Thanks,<br>Jeff<div><br></div></div></div>