DHCP question

Nico CARTRON nicolas at ncartron.org
Wed Jul 6 13:04:38 UTC 2016


Hi Bryan,
On 6 July 2016 at 14:58:08, Bryan C. Everly via Unbound-users (unbound-users at unbound.net) wrote:

Hello, 

I'm running OpenBSD-current with the provided unbound and dhcpd and 
I'm trying to accomplish something that I would think should be pretty 
straightforward. When my network clients get an IP address from 
dhcpd, I'd like to be able to resolve their hostnames via my local 
unbound DNS server. 

Example: 

1. A laptop with the name foo.bar.com asks dhcpd for an IP address 
2. The laptop is assigned 192.168.1.50 
3. On a second machine on the network, I'd like to ping foo.bar.com 
and get 192.168.1.50 resolved 

Is there a configuration option for this or some nudge you can give a 
n00b to help me figure this out? My Google-Fu has failed me this time 
around. 
You mean you want the DNS zone bar.com to be updated with the hostname of your laptop (foo in your case)?
Unbound being a recursive/cache DNS server, that won’t be possible.
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.

Cheers,

-- 
Nico
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nlnetlabs.nl/pipermail/unbound-users/attachments/20160706/633e0fc0/attachment.htm>


More information about the Unbound-users mailing list