Hi,

I'm experiencing some DNS issues when using Viscosity 1.5.6 on OS X Yosemite. I'm pushing a DNS server from the client, 'Enable DNS support' is checked, 'Apply DNS settings simultaneously' is unchecked, and I'm sending all traffic over the VPN connection. It seems OS X is using the wrong interface to send the DNS queries. Sometimes it works, sometimes it does not work - reconnecting a couple of times usually fixes the issue. Has anyone ever seen this issue, and any idea on how to resolve this?

Without VPN, the DNS settings look like this:

Code: Select all

➜  ~  scutil --dns
DNS configuration

resolver #1
  search domain[0] : eveoh.nl
  search domain[1] : dev.eveoh.nl
  nameserver[0] : 192.168.3.1
  if_index : 6 (en1)
  flags    : Request A records
  reach    : Reachable,Directly Reachable Address

DNS configuration (for scoped queries)

resolver #1
  search domain[0] : eveoh.nl
  search domain[1] : dev.eveoh.nl
  nameserver[0] : 192.168.3.1
  if_index : 6 (en1)
  flags    : Scoped, Request A records
  reach    : Reachable,Directly Reachable Address


With VPN, if it works, the DNS settings look like this:

Code: Select all

➜  ~  scutil --dns
DNS configuration

resolver #1
  search domain[0] : tun0.viscosity
  nameserver[0] : 192.168.200.1
  flags    : Request A records
  reach    : Reachable

resolver #2
  domain   : tun0.viscosity
  nameserver[0] : 192.168.200.1
  flags    : Request A records
  reach    : Reachable
  order    : 100400

DNS configuration (for scoped queries)

resolver #1
  nameserver[0] : 192.168.200.1
  if_index : 6 (en1)
  flags    : Scoped, Request A records

resolver #2
  search domain[0] : tun0.viscosity
  nameserver[0] : 192.168.200.1
  if_index : 14 (tun0)
  flags    : Scoped, Request A records
  reach    : Reachable


With VPN, if it is broken, the DNS settings look like this (note the if_index for the first resolver, which points to en1, this seems to break the DNS):

Code: Select all

➜  ~  scutil --dns
DNS configuration

resolver #1
  search domain[0] : tun0.viscosity
  nameserver[0] : 192.168.200.1
  if_index : 6 (en1)
  flags    : Request A records

resolver #2
  domain   : tun0.viscosity
  nameserver[0] : 192.168.200.1
  flags    : Request A records
  reach    : Reachable
  order    : 100400

DNS configuration (for scoped queries)

resolver #1
  nameserver[0] : 192.168.200.1
  if_index : 6 (en1)
  flags    : Scoped, Request A records

resolver #2
  search domain[0] : tun0.viscosity
  nameserver[0] : 192.168.200.1
  if_index : 14 (tun0)
  flags    : Scoped, Request A records
  reach    : Reachable