see which DNS(s) is used

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


Posts: 4
Joined: Tue Jan 15, 2019 8:48 pm

Post by AlexanderK » Thu Jun 27, 2019 12:43 am

I connect to an OpenVPN server (v2.4.3) with Viscosity 1.7.16 on a Mac (10.13.4).

The server has settings like this:
push "dhcp-option DNS A.B.C.D"
push "dhcp-option DNS E.F.G.H"

It looks though like not all viscosity clients honor this.
How can i see which DNS is used by the computer when i am connected to the VPN?
I tried looking in settings->network->... but the i just see wifi, thunderbolt and such,
shouldnt i see a VPN-connection of some sort there too?
If not there, where?

wbr / Alex


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

Post by James » Thu Jun 27, 2019 12:16 pm
Hi Alex,

Viscosity displays which DNS servers are set for the VPN connection in the Details window. Simply select the Details option from Viscosity's main menu, and then click on the centre icon (the two arrows) to see connection details.

For a full look at a computer's DNS settings, the "scutil" command line tool can be used:

Please note that Viscosity's DNS support is pretty bullet proof: in almost all instances of users reporting DNS isn't working the wrong DNS Mode is set for the connection:

You can see what DNS Mode is currently being used in the connection log:

James Bekkema
Viscosity Developer



Posts: 4
Joined: Tue Jan 15, 2019 8:48 pm

Post by AlexanderK » Thu Jun 04, 2020 8:15 pm
Btw, thanks for the answer! :)

Another thing, if i see in the details-window that a computer seems to have switched the primary and secondary DNS servers, what could be the cause of this?

In the OpenVPN server i have:
push "dhcp-option DNS"
push "dhcp-option DNS"

But in a client (but only in one, all other 40 or so clients work fine) i see:
DNS Server/s:,

So what could cause a client to switch between primary and secondary DNS like this?
3 posts Page 1 of 1