Subject: Re: How to pass DNS from DHCP?
To: Jan Schenkel <>
From: David Rogers <>
List: port-mac68k
Date: 09/01/2003 14:55:24
in your dhcpd.conf you can also add this option:

option domain-name-servers;

mine is cuz i'm using NAT but you can put whatever address 
in there that you want and as many as you'd like, one line per server.  
Using the cached nameserver is a great idea too, plus it's very easy to 
set up.

Laters and good luck


On Monday, September 1, 2003, at 02:27  PM, David Brownlee wrote:

> On Mon, 1 Sep 2003, Jan Schenkel wrote:
>> Hi All,
>> My good old MacIIci with two ethernet cards keeps chugging along, 
>> running
>> NetBSD 1.5.2 as gateway for my LAN to my cable-modem ; now my 
>> provider is
>> making changes (maybe to prevent these creative solutions?) and their 
>> DNS
>> servers will nog longer have fixed IP-numbers, but instead, these 
>> will be
>> passed along with the DHCP information.
>> So the question is : how can I let the computers on the LAN know 
>> where those
>> elusive DNS-servers are ? So far I had them on a fixed address in the
>> 192.168.x.x range with the DNS-servers typed in manually -- so if this
>> requires my gateway to also act as DHCP server, instructions on how to
>> accomplish that would be nice as well :-)
> 	The other option is to run a caching nameserver on the mac.
> 	Last I checked you could copy /etc/namedb/named.conf to /etc
> 	and set named=YES in rc.conf. Then point the local machines at
> 	the mac :)
> -- 
> 		David/absolute          -- No hype required --