Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Apr 2007 14:48:25 +0800
From:      "Richard Simmonds" <>
To:        <>
Subject:   PPP and resolv.conf
In-Reply-To: <000d01c780b2$1303f930$>
References:  <000d01c780b2$1303f930$>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
>How can I stop ppp from modifying my /etc/resolv.conf?
>Everytime I establish a pppoe session, my resolv.conf file gets
reconfigured to my ISPs DNS Servers.

It's dhclient, not ppp that's modding the file. Adding this to your
dhclient.conf file will fix the problem

interface dc0 {
prepend domain-name-servers;
request subnet-mask, broadcast-address, routers, domain-name-servers;

you will need to change the interface name and provide the actual dns server
address to match your configuration

Want to link to this message? Use this URL: <!&!AAAAAAAAAAAYAAAAAAAAAPOytc9vInVGkl54LcL/nGDCgAAAEAAAABUi1xQhdENMg1AFizNVJKYBAAAAAA==>