<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">Hi Bryan,</div> <div id="bloop_sign_1467810029065938944" class="bloop_sign"><p style="font-family: Helvetica, Arial;">On 6 July 2016 at 14:58:08, Bryan C. Everly via Unbound-users (<a href="mailto:unbound-users@unbound.net">unbound-users@unbound.net</a>) wrote:</p></div> <div><blockquote type="cite" class="clean_bq" style="font-family: Helvetica, Arial; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span><div><div></div><div>Hello,<span class="Apple-converted-space"> </span><br><br>I'm running OpenBSD-current with the provided unbound and dhcpd and<span class="Apple-converted-space"> </span><br>I'm trying to accomplish something that I would think should be pretty<span class="Apple-converted-space"> </span><br>straightforward. When my network clients get an IP address from<span class="Apple-converted-space"> </span><br>dhcpd, I'd like to be able to resolve their hostnames via my local<span class="Apple-converted-space"> </span><br>unbound DNS server.<span class="Apple-converted-space"> </span><br><br>Example:<span class="Apple-converted-space"> </span><br><br>1. A laptop with the name foo.bar.com asks dhcpd for an IP address<span class="Apple-converted-space"> </span><br>2. The laptop is assigned 192.168.1.50<span class="Apple-converted-space"> </span><br>3. On a second machine on the network, I'd like to ping foo.bar.com<span class="Apple-converted-space"> </span><br>and get 192.168.1.50 resolved<span class="Apple-converted-space"> </span><br><br>Is there a configuration option for this or some nudge you can give a<span class="Apple-converted-space"> </span><br>n00b to help me figure this out? My Google-Fu has failed me this time<span class="Apple-converted-space"> </span><br>around.<span class="Apple-converted-space"> </span></div></div></span></blockquote></div><p>You mean you want the DNS zone <a href="http://bar.com">bar.com</a> to be updated with the hostname of your laptop (foo in your case)?<br>Unbound being a recursive/cache DNS server, that won’t be possible.<br>You’ll need to set up an Authoritative DNS server (like NSD, Bind or Knot, all of which are available for OpenBSD) to have this.</p><div id="bloop_sign_1467810029065938944" class="bloop_sign"><p>Cheers,</p><p>-- <br>Nico</p></div></body></html>