ppp.conf + resolv.conf

Bob bob at a1poweruser.com
Sun May 6 17:13:00 UTC 2007


Be sure you have this statement in your ppp.conf

enable dns

# Gets the ISP's DNS IP address & places them
# in resolv.conf for reference by FBSD.


-----Original Message-----
From: owner-freebsd-questions at freebsd.org
[mailto:owner-freebsd-questions at freebsd.org]On Behalf Of JD Bronson
Sent: Sunday, May 06, 2007 11:40 AM
To: freebsd-questions at freebsd.org
Subject: ppp.conf + resolv.conf

I am using 6.2 as a DSL (PPPoE) router and also run my own internal DNS
on the same machine. I would like to APPEND my ISP's dished out DNS
servers to my current resolv.conf but anytime I enable dns in my
ppp.conf it nukes my entire resolv.conf....!

I am looking to end up with this:

% cat /etc/resolv.conf
domain mydomain
nameserver 192.168.1.1
nameserver ISP's DNS
nameserver ISP's DNS


How do I do this and still retain my own entries in resolv.conf?
If I was using DHCPclient, I could edit dhclient.conf of course but
PPPoE does not consult this file during negotiation that I am aware of.

Any comments will be appreciated...

-JD


_______________________________________________
freebsd-questions at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"



More information about the freebsd-questions mailing list