Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 May 2007 13:12:52 -0400
From:      "Bob" <bob@a1poweruser.com>
To:        "JD Bronson" <jbronson@sixcompanies.com>, <freebsd-questions@freebsd.org>
Subject:   RE: ppp.conf + resolv.conf
Message-ID:  <NBECLJEKGLBKHHFFANMBAEBECCAA.bob@a1poweruser.com>
In-Reply-To: <200705061540.l46FevTF017542@cheyenne.sixcompanies.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org
[mailto:owner-freebsd-questions@freebsd.org]On Behalf Of JD Bronson
Sent: Sunday, May 06, 2007 11:40 AM
To: freebsd-questions@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@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NBECLJEKGLBKHHFFANMBAEBECCAA.bob>