Date: Fri, 30 May 2003 15:35:35 -0500 From: David Kelly <dkelly@HiWAAY.net> To: Laszlo Vagner <george@vagner.com>, questions@freebsd.org Subject: Re: how to stop resolv.conf from being updated Message-ID: <200305301535.35126.dkelly@HiWAAY.net> In-Reply-To: <3ED79E49.30803@vagner.com> References: <3ED79E49.30803@vagner.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 30 May 2003 01:09 pm, Laszlo Vagner wrote: > I am using DHCP on a cable modem and my > providers nameserver really sucks > but changing my resolv.conf repairs > the lookups for a little while then it gets > set back to them upon bootup. > > how do i make it stay the way i set it. IMHO all the other suggestions are less good than mine. The recommendation to chmod /etc/resolv.conf simply does not work. My suggestion is to create an /etc/dhclient-enter-hooks containing these 3 lines. The advantage is this survives upgrades and mergemaster. #/bin/sh make_resolv_conf() { } -- David Kelly N4HHE, dkelly@hiwaay.net ===================================================================== The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305301535.35126.dkelly>