Trying to find a solution to a problem. I have a small home network that
uses a server, firewall, desktop and laptop. The firewall provides DHCP
services also. The server pulls down mail from an account every 2
minutes and provides webmail, IMAP and SMTP services. There is a dynamic
DNS entry pointing towards my public IP and the firewall forwards
requests on certain ports to the internal server.

Here's my problem: I'd like to setup IMAP mail on my laptop resolving to
the dynamic DNS name so that I do not have to keep reconfiguring the
mail client. Outside the network this works fine, but when I am on my
network, the DNS resolves (obviously) to the firewall.

I took a look at dnsmasq to see if this could solve the problem, but the
dnsmasq man page says that "It  loads  the contents of /etc/hosts into
the cache at startup so that local host names which do not appear in the
global DNS can be resolved."

This would seem to suggest that a local lookup happens after a global
lookup. Perhaps I did not set this up correctly, but that was the result
I was getting too.

Does anyone have a solution to being able to have my laptop resolve a
DNS name to one address when attached inside the network and another off
net, without installing a full DNS server??

Many thanks. 

Iain.
_________________________________
Email: [EMAIL PROTECTED]
Web: http://www.maltamonster.com/
Yahoo! Messenger: expat_iain

Reply via email to