SparkLabs Forum.

Community Help.


split dns with multiple simultaneous vpns

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!
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
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
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
Hi James,

I have emailed you the logs.

Thank you
5 posts Page 1 of 1

Copyright © 2016 SparkLabs Pty Ltd. All Rights Reserved. Privacy Policy