No DNS on Split-DNS inside terminal

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


Posts: 1
Joined: Fri Mar 17, 2023 7:50 pm

Post by grizzo » Fri Mar 17, 2023 7:55 pm

I got the issue of dns is not resolving at all in the terminal. Following setup:
Split-DNS with 2 domains. Inside the browser the dns-queries get resolved from the company dns. If I try to query the same internal domain from the command line terminal with nslookup it doesn't resolve. Only if I explicitly set the dns server to look for.

If I change the mode to Full-DNS everything works fine.

On the other hand, while using tunnelblick everything works as expected because every dns-query gets routed through the connection.

Does anyone has a solution for this?

Any help would be appreciated.


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

Post by James » Sat Mar 18, 2023 7:30 am
Hi grizzo,

The Unix tools nslookup, dig, and host do not use the macOS resolver system, and so will not function correctly when it comes to Split DNS. Please see: ... unix-users

2 posts Page 1 of 1