I have a router running, among other things,
dnsmasq with standard setup, so I get DNS proxy plus additional local servers, plus name resolution for all machines whose IP address is managed via
dnsmasq DHCP server.
Servers and other hosts are on my
So far so good.
Now I need to connect via VPN to a customer site (
customer.net) who has a very similar setup (they are not using dnsmasq, but net effect is the same).
I set up a small (virtual) machine acting as router forwarding (with NAT) from local network to IPSec
tun device and added a few static routes to the (2) hosts needing to see customer.net; I did this manually instead of pushing the routes through dnsmasq.
Also this seems to work without problems.
Now I have the last problem I don't know how to solve:
I can access machines in
customer.net private address space only specifying the IP address, no DNS resolution is available from
How can I access
dns.customer.net without losing connection with
NOTE: I can modify my
home.net setup (I would prefer to limit changes to the few hosts actually involved), but I have no control on
Situation I would like to have is:
*.home.netaddresses should be resolved by
- Internet routable addresses should be resolved by
dnsmasqproxying my ISP DNS.
*.customer.netaddresses should be resolved by
dns.customer.net(I can access this host via its non-routable IP), possibly without going through my
Is this at all possible? If so, how?