From owner-freebsd-questions Sat Mar 10 16:21:15 2001 Delivered-To: freebsd-questions@freebsd.org Received: from zugzug.hq.newdream.net (zugzug.hq.newdream.net [216.246.35.10]) by hub.freebsd.org (Postfix) with SMTP id 04A8137B719 for ; Sat, 10 Mar 2001 16:21:13 -0800 (PST) (envelope-from william@hq.newdream.net) Received: (qmail 26494 invoked from network); 11 Mar 2001 00:21:12 -0000 Received: from aura.infinitejazz.net (HELO hq.newdream.net) (206.111.89.244) by zugzug.hq.newdream.net with SMTP; 11 Mar 2001 00:21:12 -0000 Message-ID: <3AAAC5A7.14CC3510@hq.newdream.net> Date: Sat, 10 Mar 2001 16:24:07 -0800 From: Will Yardley X-Mailer: Mozilla 4.75 [en] (X11; U; FreeBSD 4.2-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: questions@freebsd.org Subject: resolv.conf / dhcp Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG a couple questions about this. does anyone have a simple solution to /etc/resolv.conf being overwritten everytime the dhcp lease is renewed ?? i'm using dhclient and the dhcp server is an obsd router / firewall as far as i know, you can't specify the seach path with dhcpd - information on how to do this would be even more useful. if i just set the resolv.conf file to be immutable or something like that would that keep it from getting overwritten? i guess that might generate some weird log messages every day but would be less annoying than having to edit my resolv.conf file daily. anyone used a simple cron job to do this? i guess that might be the best option - to check every 10 minutes or so and overwrite the file with a stored copy if the two files differ???? please cc me on the response as i'm not on the list anymore for the time being. -will yardley To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message