dhclient ignoring /etc/dhclient.conf

Eric Sisler esisler at westminster.lib.co.us
Thu Apr 8 21:40:50 UTC 2004


Greetings all,

I'm moving from pump to dhclient and it seems to be ignoring options in
/etc/dhclient.conf.  Specifically I don't want dhclient changing
/etc/resolv.conf.  From the documentation, I think the following should
work, but it doesn't:

interface "eth1" {
        supersede domain-name "my.domain.1 my.domain.2";
        supersede domain-name-servers x.x.x.x, y.y.y.y;
}

/etc/resolv.conf keeps getting overwritten with the values supplied by
the DHCP server.  Any help is most appreciated.

-Eric

-- 

Eric Sisler <esisler at westminster.lib.co.us>
Library Applications Specialist
Westminster Public Library
Westminster, CO USA

Linux - Don't fear the Penguin.
Want to know what we use Linux for?
Visit http://gromit.westminster.lib.co.us/linux





More information about the redhat-list mailing list