From owner-freebsd-questions Mon Jul 1 13:48: 2 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C145F37B400 for ; Mon, 1 Jul 2002 13:48:00 -0700 (PDT) Received: from mail.k12us.com (mail.k12us.com [65.112.222.15]) by mx1.FreeBSD.org (Postfix) with SMTP id 05EE243E13 for ; Mon, 1 Jul 2002 13:48:00 -0700 (PDT) (envelope-from cweimann@k12hq.com) Received: (qmail 92667 invoked by uid 1001); 1 Jul 2002 20:47:52 -0000 Date: Mon, 1 Jul 2002 16:47:52 -0400 From: Christopher Weimann To: Matthew Hunt Cc: Nick Rogness , freebsd-questions@FreeBSD.ORG Subject: Re: divert/natd/redirect_address/localnet don't get along. Message-ID: <20020701164752.A78239@mail.k12us.com> References: <20020701142001.A80506@mail.k12us.com> <20020701150709.A30662@wopr.caltech.edu> <20020701154358.B80506@mail.k12us.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020701154358.B80506@mail.k12us.com>; from cweimann@k12hq.com on Mon, Jul 01, 2002 at 03:43:58PM -0400 X-AntiVirus: scanned for viruses by AMaViS 0.2.1 (http://amavis.org/) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Jul 01, 2002 at 03:43:58PM -0400, Christopher Weimann wrote: > > > I'm late to the discussion, but can't you just create a zone > > "ww2.domain.com."? That should have no effect on the resolution > > of other hosts in domain.com. > > > > Oh!! I like it. I'll go try. > This seems to work. A bit of a pain because I have to add a whole domain for each host but right now I only have one host so it is ok. I have discovered another solution as well but I can't use it just yet. Part of this problem is that squid does dns lookups itself and does not use libresolve ( this is a feature ). The pre-release squid 2.5 will check /etc/hosts before doing the lookup. Thanks! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message