From owner-freebsd-questions@FreeBSD.ORG Sun May 6 17:13:00 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 86F0416A400 for ; Sun, 6 May 2007 17:13:00 +0000 (UTC) (envelope-from bob@a1poweruser.com) Received: from mta9.adelphia.net (mta9.adelphia.net [68.168.78.199]) by mx1.freebsd.org (Postfix) with ESMTP id 4482E13C45A for ; Sun, 6 May 2007 17:12:55 +0000 (UTC) (envelope-from bob@a1poweruser.com) Received: from laptop ([76.190.225.105]) by mta9.adelphia.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with SMTP id <20070506171254.ZNOT26012.mta9.adelphia.net@laptop>; Sun, 6 May 2007 13:12:54 -0400 From: "Bob" To: "JD Bronson" , Date: Sun, 6 May 2007 13:12:52 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <200705061540.l46FevTF017542@cheyenne.sixcompanies.com> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 Cc: Subject: RE: ppp.conf + resolv.conf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bob@a1poweruser.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 May 2007 17:13:00 -0000 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"