From owner-freebsd-hackers@FreeBSD.ORG Wed Jun 20 08:08:43 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3CE3C106566C for ; Wed, 20 Jun 2012 08:08:43 +0000 (UTC) (envelope-from varuna@eudaemonicsystems.net) Received: from lnx6.securehostdns.com (174.36.194.176-static.reverse.softlayer.com [174.36.194.176]) by mx1.freebsd.org (Postfix) with ESMTP id D8F5B8FC16 for ; Wed, 20 Jun 2012 08:08:42 +0000 (UTC) Received: from [117.216.172.94] (port=42679 helo=shastry.eudaemonicsystems.net) by lnx6.securehostdns.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.77) (envelope-from ) id 1ShFxy-0006rb-3i; Wed, 20 Jun 2012 13:38:42 +0530 Message-ID: <4FE1853C.2090002@eudaemonicsystems.net> Date: Wed, 20 Jun 2012 13:39:32 +0530 From: Varuna Organization: Eudaemonic Systems User-Agent: Thunderbird 2.0.0.23 (X11/20100716) MIME-Version: 1.0 To: Ian Lepore References: <4FDB25E0.2070705@eudaemonicsystems.net> <4FDB3BAA.6090906@fluffy.khv.ru> <4FDB71B9.9070804@eudaemonicsystems.net> <1339784344.73426.40.camel@revolution.hippie.lan> In-Reply-To: <1339784344.73426.40.camel@revolution.hippie.lan> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - lnx6.securehostdns.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - eudaemonicsystems.net X-Source: X-Source-Args: X-Source-Dir: Cc: freebsd-hackers@freebsd.org Subject: Re: /etc/resolv.conf getting over written with dhcp X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jun 2012 08:08:43 -0000 Ian Lepore wrote: > > Using the 'prepend' or 'supercede' keywords in /etc/dhclient.conf is > pretty much the standard way of handling a mix of static and dhcp > interfaces where the static config needs to take precedence. I'm not > sure why you dismiss it as essentially good, but somehow not good > enough. It's been working for me for years. > > -- Ian > The issue that I had indicated that the issue with the /etc/resolv.conf is being caused by an error in /sbin/dhclient-script; hence, I am definitely not looking at solving the issue either with /etc/dhclient.conf or /etc/dhclient-exit-hooks configuration file. BTW, resolver(5) / resolv.conf(5) does not mention the usage of /etc/dhclient-exit-hooks file to protect the earlier contents of /etc/resolv.conf file. Will put this issue in the freebsd-doc mailing list. With regards, Varuna Eudaemonic Systems Simple, Specific & Insightful IT Consultants, Continued Education & Systems Distribution +91-88-92-47-62-63 http://www.eudaemonicsystems.net http://enquiry.eudaemonicsystems.net ------------------------------------------------------------------ This email is confidential, and may be legally privileged. If you are not the intended recipient, you must not use or disseminate this information in any format. If you have received this email in error, please do delete it along with copies of it existing in any other format, and notify the sender immediately. The sender of this email believes it is virus free, and does not accept any liability for any errors or omissions arising thereof.