[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dhcpclient overwrites /etc/resolv.conf



On Wed, Oct 16, 2013 at 01:52:10PM +0000, Bonno Bloksma wrote:
> My uplink uses DHCP to give me my ip-number etc. It also gives me the
> dns server for the uplink but... I run my own dns servers(s) for our
> local domain.
> I want the /etc/resov.conf file to stay as it is and not be
> overwritten by the dhcp client service.

Configure dhclient.conf to hardcode the things you want, rather than
putting them in resolv.conf. 

> option domain-name-servers 8.8.8.8, 8.8.4.4

Or consider "prepend domain-name-servers…"


Reply to: