vpn dns is not being used

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

lexilex

Posts: 3
Joined: Tue Sep 17, 2024 7:03 pm

Post by lexilex » Wed Sep 18, 2024 5:45 pm
i have this one device that can't resolve a url using the vpn dns, so i connect to the VPN in `scutil --dns` i see the dns servers and nameservers being pushed through the dns but when i go to ping said url or nslookup it, it doesn't resolve and the nslookup is using the default router dns to try and resolve it and not even trying to use the vpn dns.
`nslookup URL ` doesn't resolve or find it
`nslookup URL <<IP of VPN DNS>>` it resolves it to it's correct VPN
Any idea what could have been gone wrong?

James

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

Post by James » Thu Sep 19, 2024 2:36 am
Hi lexilex,

"nslookup" can't be used to test resolving an address as it is a legacy tool that doesn't use macOS's resolver system (along with "dig" and "host"). Please see:
https://www.sparklabs.com/support/kb/ar ... unix-users

You can use the commands listed here to test resolving a domain:
https://www.sparklabs.com/support/kb/ar ... omain-name

If you're still stuck, I recommend running through the steps listed in the following article:
https://www.sparklabs.com/support/kb/ar ... -problems/

Cheers,
James
Web: https://www.sparklabs.com
Support: https://www.sparklabs.com/support
Twitter: https://twitter.com/sparklabs

lexilex

Posts: 3
Joined: Tue Sep 17, 2024 7:03 pm

Post by lexilex » Thu Sep 19, 2024 6:24 pm
thanks for your reply, i did use the proper tool from mac but it was empty too, but with a split dns i'm guessing that it might be that the url doesn't match our search domains that's why it's not going through split dns, but in that case if the primary resolver couldn't find it shouldn't it use the secondary resolver?

lexilex

Posts: 3
Joined: Tue Sep 17, 2024 7:03 pm

Post by lexilex » Thu Sep 19, 2024 7:40 pm
just to add i tried using the use full VPN dns options and now it's using the vpn dns and search domains primarily, rather than the router or default one
4 posts Page 1 of 1