From owner-freebsd-questions@FreeBSD.ORG Tue Apr 17 08:09:46 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 06A4516A400 for ; Tue, 17 Apr 2007 08:09:46 +0000 (UTC) (envelope-from yunikan@gmail.com) Received: from smtp.telkom.net (smtp.telkom.net [125.160.6.251]) by mx1.freebsd.org (Postfix) with ESMTP id AF48913C458 for ; Tue, 17 Apr 2007 08:09:45 +0000 (UTC) (envelope-from yunikan@gmail.com) Received: from [125.162.129.51] (helo=storage.icommbali.local) by smtp.telkom.net 251 with esmtp id 1HdhTF-0007e2-IP for freebsd-questions@freebsd.org; Tue, 17 Apr 2007 13:47:21 +0700 Received: from richard (richard.icommbali.local [192.168.0.19]) by storage.icommbali.local (Postfix) with ESMTP id 8E1C9F1835 for ; Tue, 17 Apr 2007 14:45:45 +0800 (CIT) From: "Richard Simmonds" To: References: <000d01c780b2$1303f930$0105a8c0@northamerica.corp.microsoft.com> Date: Tue, 17 Apr 2007 14:48:25 +0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: AceAuoB5ajSjZJXwS0mcZiysWGtCPQAAOJ9A X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 In-Reply-To: <000d01c780b2$1303f930$0105a8c0@northamerica.corp.microsoft.com> Subject: 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: Tue, 17 Apr 2007 08:09:46 -0000 >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