From owner-freebsd-current Thu Nov 30 12: 6:36 2000 Delivered-To: freebsd-current@freebsd.org Received: from webcom.it (unknown [212.239.10.63]) by hub.freebsd.org (Postfix) with SMTP id DDE8037B401 for ; Thu, 30 Nov 2000 12:06:25 -0800 (PST) Received: (qmail 693 invoked by uid 1000); 30 Nov 2000 20:00:07 -0000 Date: Thu, 30 Nov 2000 21:00:06 +0100 From: Andrea Campi To: Lars Fredriksen Cc: current@freebsd.org Subject: Re: environment variable for resolv.conf anyone? Message-ID: <20001130210006.A372@webcom.it> Mail-Followup-To: Lars Fredriksen , current@freebsd.org References: <3A26B182.8717E963@odin-corporation.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3A26B182.8717E963@odin-corporation.com>; from lars@odin-corporation.com on Thu, Nov 30, 2000 at 01:58:59PM -0600 X-Echelon: BND CIA NSA Mossad KGB MI6 IRA detonator nuclear assault strike Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is my only message in this thread, it's out of topic. On Thu, Nov 30, 2000 at 01:58:59PM -0600, Lars Fredriksen wrote: > Hi, > > I find myself connected to multiple networks and domains all the time, > and was wondering if anyone has solved (without using a chroot > environment) using a different resolv.conf for different shells? Have you thought about running your own non-authoritative DNS? If you use djbdns, this gives you the added benefit of being able to easily specify which DNS is authoritative for special, local domains. In general, having your local, caching-only (in bind parlance) DNS gives you better security and flexibility, and it's very easy to maintain. All of my machines, clients and servers, run like that, and I never had any problem. Bye, Andrea -- Intel: where Quality is job number 0.9998782345! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message