Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jun 2006 20:55:35 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Drew Tomlinson <drew@mykitchentable.net>
Cc:        Giorgos Keramidas <keramida@ceid.upatras.gr>, freebsd-questions@freebsd.org
Subject:   Re: Simple DNS For Private LAN
Message-ID:  <44A2DEB7.2030609@infracaninophile.co.uk>
In-Reply-To: <44A2B819.8070809@mykitchentable.net>
References:  <449C0711.3080803@mykitchentable.net>	<20060623155433.GA30666@gothmog.pc>	<449C5C69.1030702@mykitchentable.net>	<20060628144302.GC1161@gothmog.pc> <44A2B819.8070809@mykitchentable.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44A2DEB7.2030609>