Simple DNS For Private LAN
Matthew Seaman
m.seaman at infracaninophile.co.uk
Wed Jun 28 19:56:19 UTC 2006
Drew Tomlinson wrote:
> 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 me
> that the .drew zone won't work for my setup. Or am I missing something?
>
> 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 do
> 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
--
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
Kent, CT11 9PW
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20060628/ee4797dd/signature.pgp
More information about the freebsd-questions
mailing list