From owner-freebsd-questions Thu May 30 19: 2:40 2002 Delivered-To: freebsd-questions@freebsd.org Received: from hotmail.com (f61.sea1.hotmail.com [207.68.163.61]) by hub.freebsd.org (Postfix) with ESMTP id 8084937B401 for ; Thu, 30 May 2002 19:02:36 -0700 (PDT) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 30 May 2002 19:02:36 -0700 Received: from 156.153.255.236 by sea1fd.sea1.hotmail.msn.com with HTTP; Fri, 31 May 2002 02:02:35 GMT X-Originating-IP: [156.153.255.236] From: "Carolyn Longfoot" To: freebsd-questions@freebsd.org Subject: DNS/DHCP Irritation Date: Thu, 30 May 2002 22:02:35 -0400 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 31 May 2002 02:02:36.0259 (UTC) FILETIME=[3C070B30:01C20847] 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 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