On 22/09/14 08:52, Chris Green wrote:
[SNIP]
On Sun, Sep 21, 2014 at 11:25:23PM +0100, steve-ALUG@hst.me.uk wrote:
[SNIP]
If I wasn't using ProxyCommand I think your solution would work, I
[SNIP]
I don't really see why you think that ProxyCommand affects this, but IMO the solution for your original question is dnsmasq.
I use it here on my firewall for the DMZ. My DMZ contains internet-facing machines, which all have 10.* addresses in a local subnet, and traffic is forwarded to them via the firewall as appropriate. If I want to access myserver.mydomain.com from my desktop, "normal" DNS would give me the external IP address, which I don't want. dnsmasq intercepts that DNS lookup and provides the LAN address instead.
That seems to be what you want to do.
Cheers, Laurie.