From owner-freebsd-net@FreeBSD.ORG Mon Dec 11 21:39:18 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5CD7B16A4C2 for ; Mon, 11 Dec 2006 21:39:18 +0000 (UTC) (envelope-from edwin@mavetju.org) Received: from mail4out.barnet.com.au (mail4.barnet.com.au [202.83.178.125]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2DF1744C09 for ; Mon, 11 Dec 2006 21:04:07 +0000 (GMT) (envelope-from edwin@mavetju.org) Received: by mail4out.barnet.com.au (Postfix, from userid 1001) id EBAFE37BAE7; Tue, 12 Dec 2006 08:05:24 +1100 (EST) X-Viruscan-Id: <457DC81400014E740912E3@BarNet> Received: from mail4auth.barnet.com.au (mail4.barnet.com.au [202.83.178.125]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mail4.barnet.com.au (Postfix) with ESMTP id B2B034235A6; Tue, 12 Dec 2006 08:05:24 +1100 (EST) Received: from k7.mavetju (k7.mavetju.org [10.251.1.18]) by mail4auth.barnet.com.au (Postfix) with ESMTP id 7605237B936; Tue, 12 Dec 2006 08:05:24 +1100 (EST) Received: by k7.mavetju (Postfix, from userid 1001) id 52983136; Tue, 12 Dec 2006 08:05:24 +1100 (EST) Date: Tue, 12 Dec 2006 08:05:24 +1100 From: Edwin Groothuis To: "Bjoern A. Zeeb" Message-ID: <20061211210524.GB90167@k7.mavetju> References: <20061211004403.GA90167@k7.mavetju> <20061211093258.N91892@maildrop.int.zabbadoz.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061211093258.N91892@maildrop.int.zabbadoz.net> User-Agent: Mutt/1.4.2.1i Cc: freebsd-net@freebsd.org Subject: Re: resolver inside a jail 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: Mon, 11 Dec 2006 21:39:18 -0000 On Mon, Dec 11, 2006 at 09:34:22AM +0000, Bjoern A. Zeeb wrote: > On Mon, 11 Dec 2006, Edwin Groothuis wrote: > > [loopback address in jail] > >Is this something I should open a bug report for? > > No, it's a well known "feature" of jails that INADDR_LOOPBACK gets > translated to the jails address. There is no INADDR_LOOPBACK inside a > jail - check ifconfig ;) It's more that it looks like the resolver is taking the configuration from /etc/resolv.conf on the hostmachine instead of saying "I can't translate the name foo.bar into an IP address". Edwin -- Edwin Groothuis | Personal website: http://www.mavetju.org edwin@mavetju.org | Weblog: http://weblog.barnet.com.au/edwin/