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

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to