Subject: Re: DHCP problem /w/ hack work-around
To: Steven Grunza <steven_grunza@ieee.org>
From: Magnus Strahlert <stralle@mds.mdh.se>
List: netbsd-users
Date: 08/13/2001 20:44:05
On Mon, 13 Aug 2001, Steven Grunza wrote:

> Almost everything works great.  The only problem I'm seeing is with the
> dhclient-script.  It creates a new /etc/resolv.conf but leaves the search
> line empty.

The dhcp client uses its own configuration file, /etc/dhclient.conf
that can override certain values it gets from the DHCP server.

For instance:

interface "ne2" {
  supersede domain-name "sub.domain.top domain.top"
}

To override the search line in the by dhcp generated /etc/resolv.conf

Read more about it in dhclient.conf(5)

-- 
http://stralle.cjb.net/ +460739635853 ICQ:12722163 A1200T68030@50/18/4.7/32x

Learning without thought is labor lost;
thought without learning is perilous.
 -- Confucius