From owner-freebsd-net@FreeBSD.ORG Tue Aug 29 08:50:04 2006 Return-Path: X-Original-To: net@freebsd.org Delivered-To: freebsd-net@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A4DF16A4DE for ; Tue, 29 Aug 2006 08:50:04 +0000 (UTC) (envelope-from simon@zaphod.nitro.dk) Received: from mx.nitro.dk (zarniwoop.nitro.dk [83.92.207.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8942E43D45 for ; Tue, 29 Aug 2006 08:50:03 +0000 (GMT) (envelope-from simon@zaphod.nitro.dk) Received: from zaphod.nitro.dk (unknown [192.168.3.39]) by mx.nitro.dk (Postfix) with ESMTP id 71E8732E459; Tue, 29 Aug 2006 08:50:02 +0000 (UTC) Received: by zaphod.nitro.dk (Postfix, from userid 3000) id 6F3A01141D; Tue, 29 Aug 2006 10:50:02 +0200 (CEST) Date: Tue, 29 Aug 2006 10:50:02 +0200 From: "Simon L. Nielsen" To: Julian Elischer Message-ID: <20060829085001.GB982@zaphod.nitro.dk> References: <44EF6E18.6090905@elischer.org> <44EF74CD.6080500@elischer.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44EF74CD.6080500@elischer.org> User-Agent: Mutt/1.5.11 Cc: FreeBSD Net Subject: Re: possible patch for implementing split DNS X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Aug 2006 08:50:04 -0000 On 2006.08.25 15:08:13 -0700, Julian Elischer wrote: > Julian Elischer wrote: > > >I need some processes to look elsewhere for DNS information from > >where the rest of the system looks.. This patch seems to me a > >simple solution. We over-ride where the resolver looks for > >resolv.conf using an environment variable. This would allow me to > >reset this to an application specific config file that specifies a > >different server. > > > >Anyone got better ways fo doing this? Since a bunch of people have suggested other solutions I just wanted to add me 0.01$CURRENCY, FWIW. Other than missing update for some manual page (not sure where this should go) I don't see a problem adding this patch. "Normal" users should be able already get similar functionality already by simply preloading a custom patched libc, so I don't see a problem supporting this. This is clearly much simpler than setting up a full blown bind with split DNS. -- Simon L. Nielsen