Viscosity and Search Domains

I’ve really enjoyed Viscosity as my openvpn client for Mac OS X (instead of Tunnelblick). It’s stable, bounces back after system sleep, and is well supported.

After upgrading from 1.0.3 to 1.0.4, I found that my search domain configuration from the Network Settings control panel wasn’t being respected anymore while the VPN was up. I got the following reply (in 30 minutes, no less):

The 1.0.3 behavior was actually a bug (your system should use any search domains associated with the VPN connection for security reasons, rather than local search domains).

You can specify search domains to use while connected instead like so:

1. Edit your connection in Viscosity
2. Click on the Advanced tab
3. Add the command “dhcp-option DOMAIN mydomain.com” (no quotes) where mydomain.com is your search domain
4. Repeat step 3 for each search domain you have
5. Click Save and try connecting

These instructions worked perfectly. Thanks!

Related posts:

  1. Automatic disposable email addresses for Google Apps
    Plus Suffixing There’s a pretty nifty feature with gmail that most people don’t know about. I’ve seen people reference it as the “plus hack” or “plus suffixing”. If you have......
  2. Social Search with Aardvark
    A friend of mine invited me to Aardvark a couple days ago. It’s an interesting concept — in all the recent companies I’ve worked for, there’s been a “spam” alias......
  3. Tricks with Safari on the iPhone
    If you click the time bar at the top of the screen, safari will quickly scroll to the top of the frame where the location field is, set the focus......
  4. Make OpenOffice the default “.doc” and “.xls” application on Mac OS X
    OpenOffice 3.0 is now out for the Mac. Finder opens files that end in “.doc” with TextEdit by default, and “Open with…” doesn’t seem to stick. What to do? In......