Someone mailed me offlist, and said that it wasn't clear what I was
asking in my initial post...  I'll try a more terse version:

I want to run a DNS server (named) and dhcpd on my OpenBSD box
(which is the firewall/gateway/router for my home network).  I also
want the DNS server to provide name resolution for the
dynamically-addressed hosts in my LAN.

Does the dhcpd that is shipped with OpenBSD 3.7 support the ability
to update bind?  Does the dhcpd that is shipped with OpenBSD 3.9
support this?  If not, is the recommended approach to install ISC
DHCP 3.x, as suggested by documents such as this:

    http://www.bsdguides.org/guides/openbsd/networking/dynamic_dns_dhcp.php

Thanks again,
Matt


On Fri, Jul 14, 2006 at 10:49:34AM -0500, [EMAIL PROTECTED] wrote:
> I've got the (ubiquitous?) home LAN setup, with OpenBSD 3.7 as my
> firewall/gateway/router.  (I know, need to upgrade.)
> 
> Previously, my LAN was setup as follows: all machines had static IP
> addresses, and had the same /etc/hosts file.  All machines also had
> the same /etc/resolv.conf file.
> 
> I got a laptop, and decided that I'd like to run a dhcp server on
> the OpenBSD box (didn't want to update a bunch of /etc/hosts files).
> Also, my ISP kept changing their DNS servers, so I had to update
> /etc/resolv.conf on every box several times.
> 
> Now I'm thinking that the "least maintenance" approach is to have
> the OpenBSD box run named and dhcpd, and have all the other boxes be
> dynamically configured.
> 
> I've got dhcpd and named working, but they are not talking to each
> other.  In other words, I don't know how to have named updated by
> dhcpd.
> 
> There's a handful of howto-type documents on the net for this, but
> the dhcpd shipped with OpenBSD 3.7 doesn't seem to support the
> needed features.  For example, if I put this line in
> /etc/dhcpd.conf:
> 
> ddns-update-style interim;
> 
> I get this in /var/log/daemon when starting dhcpd:
> 
> Jul 14 09:06:53 excrement dhcpd: /etc/dhcpd.conf line 13: expecting a 
> parameter or declaration.
> Jul 14 09:06:53 excrement dhcpd: ddns-update-style 
> Jul 14 09:06:53 excrement dhcpd: ^
> 
> My assumption is that the dhcpd that ships with OpenBSD 3.7 doesn't
> support the ddns-update-style option.  Some of the 'howto' documents
> I found on the net suggest installing ISC DHCP version 3.
> 
> So my questions are:
> 
>     - Is installing isc-dhcp-3 the right path to take for OpenBSD
>       3.7?
>     - In there some way to use the default dhcpd in 3.7 to get
>       dynamic dns updates?
>     - Does the dhcpd in OpenBSD 3.9 make this process any "easier"?
> 
> Thank you for any suggestions!
> Matt

Reply via email to