From owner-freebsd-stable@FreeBSD.ORG Mon Jun 5 19:57:18 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 91E6A16AC17 for ; Mon, 5 Jun 2006 19:57:18 +0000 (UTC) (envelope-from dgerow@afflictions.org) Received: from mail.afflictions.org (asylum.afflictions.org [64.7.134.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7712E43D79 for ; Mon, 5 Jun 2006 19:56:59 +0000 (GMT) (envelope-from dgerow@afflictions.org) Received: from localhost (localhost [127.0.0.1]) by mail.afflictions.org (Postfix) with ESMTP id B883078C8E for ; Mon, 5 Jun 2006 15:58:47 -0400 (EDT) Received: from mail.afflictions.org ([127.0.0.1]) by localhost (pandora.afflictions.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 17373-09 for ; Mon, 5 Jun 2006 15:58:45 -0400 (EDT) Received: from dementia.afflictions.org (dementia [172.19.206.56]) by mail.afflictions.org (Postfix) with ESMTP id 9FC7878C93 for ; Mon, 5 Jun 2006 15:58:44 -0400 (EDT) Received: by dementia.afflictions.org (Postfix, from userid 1001) id 9DBB11C0811; Mon, 5 Jun 2006 15:56:54 -0400 (EDT) Date: Mon, 5 Jun 2006 15:56:54 -0400 From: Damian Gerow To: freebsd-stable@freebsd.org Message-ID: <20060605195654.GK99893@afflictions.org> References: <44842282.6050409@veldy.net> <448428D8.5030501@orchid.homeunix.org> <20060605134049.GB99893@afflictions.org> <44r72365l3.fsf@be-well.ilk.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44r72365l3.fsf@be-well.ilk.org> X-PGP-Fingerprint: B3D7 D901 A53A 1A99 BFD6 E6DF 9F3B 742B C288 9CC9 X-PGP-Key: 0xC2889CC9 User-Agent: Mutt/1.5.11 X-Virus-Scanned: amavisd-new at pandora.afflictions.org Subject: Re: [OT] resolv.conf and dhclient X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jun 2006 19:57:23 -0000 Thus spake Lowell Gilbert (freebsd-stable-local@be-well.ilk.org) [05/06/06 10:32]: : > I've often wondered why dhclient.conf doesn't have an 'ignore' directive. : > There's a 'require' in there; it doesn't seem like much of a stretch to : > 'ignore' something. : : Why not just write a simple script for one of the hooks that : dhclient-script(8) supports? I'd looked at this before (a few months back), and deemed it insufficient for the job. However, upon your re-suggestion, I can't see why it /won't/ work. It should also be able to figure out which wired LAN the machine is connected to, and assign the appropriate DNS servers. So this /may/ actually address my problem. (Goodness knows why I originally dismissed it.) However, this ignores my original question: why is there no 'ignore' directive in dhclient.conf? It seems like a potentially incredibly useful thing, and I run across posts from people who could greatly benefit from this every couple of months. - Damian