From owner-freebsd-questions Thu May 30 20: 8:32 2002 Delivered-To: freebsd-questions@freebsd.org Received: from cpimssmtpu08.email.msn.com (cpimssmtpu08.email.msn.com [207.46.181.83]) by hub.freebsd.org (Postfix) with ESMTP id 7A3BE37B400 for ; Thu, 30 May 2002 20:08:25 -0700 (PDT) Received: from thebe ([67.24.225.159]) by cpimssmtpu08.email.msn.com with Microsoft SMTPSVC(5.0.2195.4905); Thu, 30 May 2002 20:07:40 -0700 From: "Aaron Burke" To: "FreeBSD-Questions" , "Carolyn Longfoot" Subject: RE: DNS/DHCP Irritation Date: Thu, 30 May 2002 20:07:46 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-OriginalArrivalTime: 31 May 2002 03:07:41.0147 (UTC) FILETIME=[5385AAB0:01C20850] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I am no expert with broadband on FreeBSD, but the following may help. User ppp has an option called "enable dns". This line just tells the ppp daemon to update the resolv.conf file. All I have to do is rem this line out. Take a look for this line in your config of ppp. If you run your own DNS server the only thing in this file should be nameserver your-domain.com nameserver 127.0.0.1 The dns server will do lookups regardless of the contents of this file. And I do not completly undestand your situation. But I hope that the "enable dns" line being commented out helps. > -----Original Message----- > From: owner-freebsd-questions@FreeBSD.ORG > [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Carolyn > Longfoot > Sent: Thursday, May 30, 2002 07:03 PM > To: freebsd-questions@FreeBSD.ORG > Subject: DNS/DHCP Irritation > > > > Now that I have my own DNS server running I noticed an annoying > issue: I get > my static IP from the DHCP server that's built into the DSL > gatway. The DHCP > server always gives me the same IP but the effect is that > whenever the lease > expires, /etc/resolv.conf gets rewritten and the entry that points to my > local DNS server is lost. > > Of course I could create the desired resolv.conf and copy it via > cron every > X minutes to /etc/resolv.conf but that feels sooooo clunky that I was > thinking some smart people might have a better idea, like a way > to convince > the dhcp client to leave /etc/resolv.conf alone. > > Any takers? > > Cheers, > > Caro > > _________________________________________________________________ > Get your FREE download of MSN Explorer at > http://explorer.msn.com/intl.asp. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message