Re: Resolving hostnames using DHCP
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Mon, Apr 07, 2003 at 11:43:40AM +1000, Michael Wardle wrote:
> Add the following lines to /etc/dhcp3/dhcpd.conf:
> ddns-update-style interim;
> option domain-name-servers <your server's IP address>;
>
> Add the folling lines to /etc/bind/named.conf:
> zone "<your network address backwards>.in-addr.arpa" IN {
> type master;
> file "db.<your network address>";
> allow-update { localhost; };
> };
> zone "<your local domain name>" IN {
> type master;
> file "db.<your domain name>";
> allow-update { localhost; };
> };
>
> And restart your DHCP and DNS servers:
> /etc/init.d/bind restart
> /etc/init.d/dhcp3-server restart
>
> This is really neat, but I've been unable to get it working on my Debian
> box (whilst it works very nicely on my Red Hat box).
I just tried this out without reading the entire message and it works
like a charm for me using bind9 and dhcp3. Not sure why it wouldn't
work for you...
- --
.''`. Paul Johnson <baloo@ursine.ca>
: :' : proud Debian admin and user
`. `'`
`- Debian - when you have better things to do than fix a system
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQE/HQg8J5vLSqVpK2kRAvrbAKC38mRDW9Sk0bQd8AOPY2R0W2neGwCg47DZ
tTEU7BECEI2qO2o7nzZGd4c=
=p/k1
-----END PGP SIGNATURE-----
Reply to: