I have a Synology DSM which is configured to use VPN clint to connect to company intranet.
OpenVPN connection is stable but the DNS servers are not added to the top of the resolve list. Instead it seems that they are added in the middle:
cat /etc/resolv.conf
nameserver 8.8.8.8
nameserver 8.8.8.8
nameserver 10.38.5.26
nameserver 2001:4860:4860::8888
nameserver 2001:4860:4860::8888
domain local
How can I configure DSM in order to use VPN dns for a specific domain (like example.com
) and use the other ones (local) for other domain. I think this setup is called split-DNS, something that works very well with Viscosity OpenVPN client.