From owner-freebsd-questions@FreeBSD.ORG Wed Apr 18 09:14:41 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 2970F16A400 for ; Wed, 18 Apr 2007 09:14:41 +0000 (UTC) (envelope-from yunikan@gmail.com) Received: from smtp.telkom.net (smtp.telkom.net [125.160.6.253]) by mx1.freebsd.org (Postfix) with ESMTP id CA3F713C45D for ; Wed, 18 Apr 2007 09:14:40 +0000 (UTC) (envelope-from yunikan@gmail.com) Received: from [125.162.132.211] (helo=storage.icommbali.local) by smtp.telkom.net 253 with esmtp id 1He6Hs-00008M-A6 for freebsd-questions@freebsd.org; Wed, 18 Apr 2007 16:17:17 +0700 Received: from richard (richard.icommbali.local [192.168.0.19]) by storage.icommbali.local (Postfix) with ESMTP id 97401F1835 for ; Wed, 18 Apr 2007 17:12:57 +0800 (CIT) From: "Richard Simmonds" To: References: <000d01c780b2$1303f930$0105a8c0@northamerica.corp.microsoft.com> <20070417181115.6e908026@gumby.homeunix.com> Date: Wed, 18 Apr 2007 17:15:36 +0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <20070417181115.6e908026@gumby.homeunix.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 Thread-Index: AceBhxY4AgDnCdyPT42XDE/lfnQpWAAEaPtQ Subject: RE: PPP and resolv.conf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: yunikan@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Apr 2007 09:14:41 -0000 -----Original Message----- From: RW [mailto:fbsd06@mlists.homeunix.com] Sent: Wednesday, April 18, 2007 1:11 AM To: freebsd-questions@freebsd.org Cc: yunikan@gmail.com Subject: Re: PPP and resolv.conf On Tue, 17 Apr 2007 14:48:25 +0800 "Richard Simmonds" wrote: > > >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. >This is unlikely. PPP normally provides the dns server addresses itself, in which case the suggestion to remove "enable dns" from ppp.conf is correct. Well, as always, YMMV. If the connection is providing a dynamic address via dhcp, as my ADSL provider is, it appears to be dhclient that's updating resolv.conf so the setup as stated works for me. I have 'enable dns' in my ppp.conf file as well but my provider doesn't seem to be able to offer a dns server address correctly, which is why I run one locally on the network. I suspect it is probably a setup error on my part but I have neither the time or the inclination to tinker with it any more than I have to.