From owner-freebsd-jail@FreeBSD.ORG Tue Oct 2 03:08:29 2007 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D642D16A418 for ; Tue, 2 Oct 2007 03:08:29 +0000 (UTC) (envelope-from schulra@earlham.edu) Received: from sipala.earlham.edu (sipala.earlham.edu [159.28.1.75]) by mx1.freebsd.org (Postfix) with ESMTP id A46DA13C44B for ; Tue, 2 Oct 2007 03:08:29 +0000 (UTC) (envelope-from schulra@earlham.edu) Received: from tdream.lly.earlham.edu (tdream.lly.earlham.edu [159.28.7.241]) by sipala.earlham.edu (8.13.6/8.13.6) with ESMTP id l9238Q18000830 for ; Mon, 1 Oct 2007 23:08:26 -0400 (EDT) Received: from tdream.lly.earlham.edu (tdream.lly.earlham.edu [159.28.7.241]) by tdream.lly.earlham.edu (Postfix) with ESMTP id C8CC48E2F4 for ; Mon, 1 Oct 2007 23:09:57 -0400 (EDT) Date: Mon, 1 Oct 2007 23:09:57 -0400 (EDT) From: Randy Schultz X-X-Sender: schulra@tdream.lly.earlham.edu To: freebsd-jail@freebsd.org In-Reply-To: <49346.192.168.10.1.1191283434.squirrel@mail.k18.ch> Message-ID: References: <49346.192.168.10.1.1191283434.squirrel@mail.k18.ch> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: djbdns on 1270.0.1 in a jail problem X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Oct 2007 03:08:29 -0000 On Tue, 2 Oct 2007, Alain Wolf spaketh thusly: -}Hi Randy, -} -}I fell in the same hole on my first setup. -}There is no such thing as 127.0.0.1 in a FreeBSD Jail. -}There is just the IP, which the Jail is configured for. -}I am not a developer, but as far as I understand, a Jail and its IP, is -}some kind of virtualization, which can not contain any virtualized -}environment inside itself again. At least not in 6.x -} -}So it looks that 127.0.0.1 would be an additional IP like any other one, -}which is NOT possible in FreeBSD Jails. -} -}I read promising things about a fully virtualized IP environment in -}FreeBSD 7.x, where we can do a lot more than this, but we have to wait for -}that. -} -}After I realized that, I redesigned my plans and I liked them even better. -}My DJB-DNS setup is now as follows, and works flawless. -} -}dnscache runs in its own Jail in every physical machine, caching DNS -}queries for all other Jails on the same machine. -} -}Two copies of TinyDNS run each in its own Jail too. Providing a (rather -}expensive) Split-Horizon DNS Solution. -} -}Hope this helps Indeed it does. Tnx heaps and loads Alain. Now I can stop focusing on getting tinydns to work on 127.0.0.1 in the jails and investigate alternatives to do what we need to do(probably quite similar to what you've outlined). Woo-hoo! Ah do love freebsd and the wonderful people on these lists. Later gators. -- Randy (schulra@earlham.edu) 765.983.1283 <*> Love with your heart, think with your head; not the other way around.