On Sun, 7 Sep 2003, Philip Clark wrote:

> Does anyone know how to configure the dhcp package to not overwrite
> resolve.conf or to append to it?

It's not exactly what you are asking for but the following may
accomplish the same result without trying to work outside dhclient's way
of doing things.

Check the docs to see how the "supersede" option works, as seen in the
following snippet from my /etc/dhcp3/dhclient.conf (editted for public
consumption).

-- start excerpt ---

script "/etc/dhcp3/dhclient-script";
supersede domain-name-servers 192.168.1.10, 192.168.1.11;
supersede domain-name "mylocaldomain.lan";
interface "eth2" {
     send dhcp-client-identifier XX:XX:XX:XX:XX:XX;
     request subnet-mask, broadcast-address, time-offset, routers,
                domain-name, domain-name-servers, host-name;
}

-- end excerpt ---

Hope yhis helps,


Terry.

http://haven.selterra.com/
---------------------------
Courtenay, BC, Canada



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to