[EMAIL PROTECTED] escribis:
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
Mathew
Yes, you will have to install isc-dhcp-server in order to do the setup
you want.
cheers,
-ssf.