From owner-freebsd-questions@FreeBSD.ORG Wed Jun 28 19:56:19 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 17F5D16A403 for ; Wed, 28 Jun 2006 19:56:19 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.187.76.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id A83B943DAD for ; Wed, 28 Jun 2006 19:56:10 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from [IPv6:::1] (localhost [IPv6:::1]) by smtp.infracaninophile.co.uk (8.13.6/8.13.6) with ESMTP id k5SJtgTn076928; Wed, 28 Jun 2006 20:55:44 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <44A2DEB7.2030609@infracaninophile.co.uk> Date: Wed, 28 Jun 2006 20:55:35 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 1.5.0.4 (X11/20060610) MIME-Version: 1.0 To: Drew Tomlinson References: <449C0711.3080803@mykitchentable.net> <20060623155433.GA30666@gothmog.pc> <449C5C69.1030702@mykitchentable.net> <20060628144302.GC1161@gothmog.pc> <44A2B819.8070809@mykitchentable.net> In-Reply-To: <44A2B819.8070809@mykitchentable.net> X-Enigmail-Version: 0.94.0.0 Content-Type: multipart/signed; micalg=pgp-ripemd160; protocol="application/pgp-signature"; boundary="------------enigD310090E2F3CC51A4B2841E6" X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (smtp.infracaninophile.co.uk [IPv6:::1]); Wed, 28 Jun 2006 20:55:44 +0100 (BST) X-Virus-Scanned: ClamAV 0.88.2/1572/Wed Jun 28 15:49:41 2006 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,NO_RELAYS autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on happy-idiot-talk.infracaninophile.co.uk Cc: Giorgos Keramidas , freebsd-questions@freebsd.org Subject: Re: Simple DNS For Private LAN X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jun 2006 19:56:19 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigD310090E2F3CC51A4B2841E6 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Drew Tomlinson wrote: =20 > I use virtual servers with Apache. To access those from the inside, I= > have to use the same URL as is used on the outside. So from the > Internet, I need drew.mykitchentable.net to resolve to my public IP but= > on the inside, I need it to resolve to 192.168.0.x. Thus it seems to m= e > that the .drew zone won't work for my setup. Or am I missing something= ? >=20 > Can I set up my server to be authoritative for .mykitchentable.net > instead of .drew but only be visible from the inside? Obviously if it > responded to queries from the Internet, I'd really have a mess. What d= o > you recommend? The classic split horizon problem. For DNS the answer is to use 'views':= http://www.isc.org/sw/bind/arm93/Bv9ARM.ch06.html#view_statement_grammar In essence it is a mechanism for replying with different data depending on who is asking the question. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enigD310090E2F3CC51A4B2841E6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEot698Mjk52CukIwRA36LAJ0Wb0dxZRuyB4520f89e/AB7EAP1wCgg3KU DfZgAiG8wKnb8O7AnTmYavc= =BIMI -----END PGP SIGNATURE----- --------------enigD310090E2F3CC51A4B2841E6--