Jump to Navigation

Openconnect

Openconnect: using your own DNS

Symptoms

After setting up a VPN using Openconnect, local sites stop resolving.

Solution

Stop using the DNS server belonging to the VPN; instead, use your own DNS server and hardcode servers you want to reach through the VPN in your /etc/hosts file.

Trying to contribute

One of the nice things about Open Source programs is that you can squash the bugs that bite you. Of course, not everyone is able to do that, but still. And though there is no obligation to do so, it is nice if you share your patches with the rest of the world.

Sometimes, though, the sharing part just does not work out. I recently encountered two such cases, where I tried to do the right thing but my patches will probably never be used.

Subscribe to RSS - Openconnect


by Dr. Radut