[Gllug] Odd routing problem

Matt Blissett matt at blissett.me.uk
Sat Feb 2 16:20:12 UTC 2008


John Winters wrote:

>> John Winters wrote:
>>> You need to set up separate DNS entries for internal and external use.
>>> You thus access it as imap.mydomain.org which when you're outside gives
>>> your public IP address and when you're inside gives the private IP
>>> address of the relevant machine.
>>
>> ...or use the hosts file for that which it was intended. Slit-horizon
>> DNS for home use is a little over-specified :)
> 
> The trouble with that approach is you then need to modify /etc/hosts on
> every machine on your LAN, plus any guest machines etc.
> 
> Setting up internal DNS isn't complicated, or heavy-weight, or a drain on
> resources or anything much.  Do it once and it's done, and by implication
> the OP already has an internal server on which it could run.

I can recommend Dnsmasq <http://www.thekelleys.org.uk/dnsmasq/doc.html>,
I've used it without any problems on a small home network for a couple of
years.  If it's installed on the server then only a single /etc/hosts file
needs to be maintained.

HTH :-)

-- 
Matt


-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list