<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 7, 2016 at 11:11 AM, /dev/rob0 <span dir="ltr"><<a href="mailto:rob0@gmx.co.uk" target="_blank">rob0@gmx.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Wed, Dec 07, 2016 at 10:33:02AM -0500, Forman, Jeffrey wrote:<br>
> I've got a fairly standard setup here, ISC dhcpd handing out IPv4<br>
> address, updating a DNS zone handled by BIND with those hostnames.<br>
> Though it seems lately (perhaps it's always been this case?) that<br>
> the first time a new host comes up and requests an IP from the dhcp<br>
> server, BIND is not notified of the new hostname and IP address. I<br>
> have to reboot the client and then, on the subsequent request/ack<br>
> cycle, is DNS updated. So my question is, why do I have to reboot<br>
> the clients to get dhcpd to update bind? Is something misconfigured<br>
> in my DHCPD to not do the intial update, or is it something<br>
> client-side that is needed?<br>
<br>
</span>What you showed us suggests it's a client issue.<br>
<br>
> Infrastructure:<br>
><br>
> - dhcp server os: OpenBSD 6.0 on amd64 ($OPENBSD in the below logs)<br>
> - dhcpd version: isc dhcpd 4.3.4<br>
> - bind version: isc bind 9.10-4p2<br>
> - client OS: CoreOS (though I also run ubuntu and OSX locally as well)<br>
<span class="">> ($COREOSCLIENT in the below logs)<br>
><br>
> From the DHCPD logs, the initial request:<br>
><br>
> Dec 7 06:25:49 $OPENBSD dhcpd: DHCPOFFER on 10.10.2.245 to<br>
> 52:54:00:18:f7:fb via vlan12<br>
><br>
> Dec 7 06:25:49 $OPENBSD dhcpd: DHCPREQUEST for 10.10.2.245 (10.10.2.1)<br>
> from 52:54:00:18:f7:fb via vlan12<br>
><br>
> Dec 7 06:25:49 $OPENBSD dhcpd: DHCPACK on 10.10.2.245 to 52:54:00:18:f7:fb<br>
> via vlan12<br>
<br>
</span>I don't see in that where any hostname was provided.<br>
<span class=""><br>
> I reboot the client, and then:<br>
><br>
> Dec 7 06:27:59 $OPENBSD dhcpd: DHCPREQUEST for 10.10.2.245 (10.10.2.1)<br>
> from 52:54:00:18:f7:fb via vlan12<br>
><br>
> Dec 7 06:27:59 $OPENBSD dhcpd: DHCPACK on 10.10.2.245 to 52:54:00:18:f7:fb<br>
> (coreE3) via vlan12<br>
<br>
</span>Here "coreE3" is the hostname ... was this a munging failure meant to<br>
be "$COREOSCLIENT"?<br></blockquote><div><br></div><div>yes </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class=""><br>
> 07-Dec-2016 06:27:59.177 update-security: info: client 10.10.2.1#28804/key<br>
> $TSIG-KEY: signer "$TSIG-KEY" approved<br>
><br>
> 07-Dec-2016 06:27:59.177 update: info: client 10.10.2.1#28804/key<br>
> $TSIG-KEY: updating zone '<a href="http://dns.zone.net/IN" rel="noreferrer" target="_blank">dns.zone.net/IN</a>': adding an RR at '$COREOSCLIENT'<br>
> A 10.10.2.245<br>
<br>
</span>"Zone.net" is not a good choice for a home zone name. If you're<br>
simply hiding the real name behind "<a href="http://zone.net" rel="noreferrer" target="_blank">zone.net</a>", use "<a href="http://example.net" rel="noreferrer" target="_blank">example.net</a>"<br>
which has been set aside for such use.<br></blockquote><div><br></div><div>Nod. I can do so in later examples if necessary.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
[snip]<br>
<span class="">> What am I missing here? Why does it require a restart of the client<br>
> to get the dns entry added?<br>
<br>
</span>Apparently it did not provide a hostname to add to DNS.<br></blockquote><div><br></div><div>Huh. Apparently even if the host knows its hostname upon install. :/ </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class="HOEnZb"><font color="#888888">--<br>
<a href="http://rob0.nodns4.us/" rel="noreferrer" target="_blank">http://rob0.nodns4.us/</a><br>
Offlist GMX mail is seen only if "/dev/rob0" is in the Subject:<br>
______________________________<wbr>_________________<br>
dhcp-users mailing list<br>
<a href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/dhcp-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/<wbr>listinfo/dhcp-users</a><br>
</font></span></blockquote></div><br></div></div>