Skip to content
split dns with multiple simultaneous vpns
Got a problem with Viscosity or need help? Ask here!
Hi,
I am connected to 2 vpns (server1.com and server2.com) and I have setup in their respective settings to use split dns with their respective domains.
However, as soon as I connect the second vpn, I cannot resolve dns for addresses in server2 domain.
How can I fix this?
Thank you for your help!
I am connected to 2 vpns (server1.com and server2.com) and I have setup in their respective settings to use split dns with their respective domains.
However, as soon as I connect the second vpn, I cannot resolve dns for addresses in server2 domain.
How can I fix this?
Thank you for your help!
Hi hsvlz,
Please make sure that your second VPN connection isn't directing all network traffic through it. If it is it'll likely be preventing your computer from accessing the first connection's DNS server. If you're unsure how to check this please see:
http://www.sparklabs.com/support/kb/art ... connection
Cheers,
James
Please make sure that your second VPN connection isn't directing all network traffic through it. If it is it'll likely be preventing your computer from accessing the first connection's DNS server. If you're unsure how to check this please see:
http://www.sparklabs.com/support/kb/art ... connection
Cheers,
James
Web: https://www.sparklabs.com
Support: https://www.sparklabs.com/support
Twitter: https://twitter.com/sparklabs
Support: https://www.sparklabs.com/support
Twitter: https://twitter.com/sparklabs
Hi James,
I have tried the following:
- with only 1rst vpn on, both route get 128.0/1 and route get 0/1 return en0 as interface
- with only 2nd vpn on, both route get 128.0/1 and route get 0/1 return en0 as interface
Then with internal dns addresses:
- with only 1rst vpn on, route get x.server1.com returns tun0 as interface, while route get x.server2.com returns en0
- with only 2nd vpn on, route get x.server2.com returns tun0 as interface, while route get x.server1.com returns en0
Then I do the following scenario:
- start 1rst vpn
- route get x.server1.com returns tun0 as interface
- start 2nd vpn
- route get x.server1.com returns tun0 as interface
- route get x.server2.com hangs
(it does the same if I start 2nd vpn first)
How can I fix this?
Thank you
I have tried the following:
- with only 1rst vpn on, both route get 128.0/1 and route get 0/1 return en0 as interface
- with only 2nd vpn on, both route get 128.0/1 and route get 0/1 return en0 as interface
Then with internal dns addresses:
- with only 1rst vpn on, route get x.server1.com returns tun0 as interface, while route get x.server2.com returns en0
- with only 2nd vpn on, route get x.server2.com returns tun0 as interface, while route get x.server1.com returns en0
Then I do the following scenario:
- start 1rst vpn
- route get x.server1.com returns tun0 as interface
- start 2nd vpn
- route get x.server1.com returns tun0 as interface
- route get x.server2.com hangs
(it does the same if I start 2nd vpn first)
How can I fix this?
Thank you
Hi hsvlz,
It sounds likely there is a routing overlap. Can you please post copies of the OpenVPN log for the first and second connection (while both are connected). Information on how to view the log can be found at:
http://www.sparklabs.com/support/kb/art ... envpn-log/
If you don't want to post the logs in a public forum you can instead email them to us using the contact details at:
https://www.sparklabs.com/support/#contact
Cheers,
James
It sounds likely there is a routing overlap. Can you please post copies of the OpenVPN log for the first and second connection (while both are connected). Information on how to view the log can be found at:
http://www.sparklabs.com/support/kb/art ... envpn-log/
If you don't want to post the logs in a public forum you can instead email them to us using the contact details at:
https://www.sparklabs.com/support/#contact
Cheers,
James
Web: https://www.sparklabs.com
Support: https://www.sparklabs.com/support
Twitter: https://twitter.com/sparklabs
Support: https://www.sparklabs.com/support
Twitter: https://twitter.com/sparklabs
5 posts
Page 1 of 1