multiple VPNs - DNS resolution failure

Got a problem with Viscosity or need help? Ask here!

buzz

Posts: 1
Joined: Sat Apr 16, 2022 12:46 am

Post by buzz » Sat Apr 16, 2022 12:59 am
this is in macOS (catalina) running viscosity with multiple VPNs
The main VPNs (say entry #1) is running as Split DNS option while the other secondary VPNs are running as Automatic / Default.

When Im connected on just the 1st VPN, the DNS lookup resolves fine ( say dig , ping , or shell commands connecting to remote host , etc)
When connected on multiple VPNs , the DNS lookup resolution fails .

We have tried scutil --dns and the dhcp or name resolutions reservers are seen .
We have tried dscacheutil steps as well.

No luck.

So resorted to DNS HEAVEN which hosts a local name resolution server and then falls back to /etc/resolv.conf
https://github.com/greenboxal/dns-heaven

Essentially moving macOS from scutil to resolv.conf file . After DNS HEAVEN, multiple viscosity VPNs are no longer problem.

Why does Viscosity with multiple VPNs have trouble in macOS ?

James

User avatar
Posts: 2312
Joined: Thu Sep 04, 2008 9:27 pm

Post by James » Mon Apr 18, 2022 10:31 pm
Hi buzz,

Commands like nslookup, dig, and host can't be used to test Split DNS resolution on macOS. Please see:
https://www.sparklabs.com/support/kb/ar ... unix-users

You can find instructions for how to test a domain at:
https://www.sparklabs.com/support/kb/ar ... omain-name

Cheers,
James
Web: https://www.sparklabs.com
Support: https://www.sparklabs.com/support
Twitter: https://twitter.com/sparklabs
2 posts Page 1 of 1