PPP and resolv.conf

Richard Simmonds yunikan at gmail.com
Tue Apr 17 08:09:46 UTC 2007


 
>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 192.168.0.10;
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



More information about the freebsd-questions mailing list