Long time lurker, first time poster - here it goes:
We've got an office server running Debian 6. It's used as a smb file server, ssh server, openvpn server, dns and dhcp server (via dnsmasq). The smb shares are mapped as win7 network drives within the network (192.168.0.0/24), eg.-
While we've managed to set up a VPN connection (10.10.1.0/24) to be able to work from home, it only works while using IP addresses, so:
What we'd like to have is the server resolving it's own name 'servername' to two different IP addresses (192.168.0.1 and 10.10.1.1) based on what network the DNS request came from.
From what we found googling around it seems that something similar is possible using BIND and 'views'. Is it possible to do something similar via dnsmasq, or are we doing something completely wrong here?