Comment 57 for bug 1211110

Revision history for this message
Dmitry (strangeadvisor) wrote :

Hi all. It really problem now on 16.04.

But i found funny fix for it. It is not very pretty, but i think it is helps someone.

First step:
Add
script-security 2
up /etc/openvpn/update-resolv-conf
down /etc/openvpn/update-resolv-conf

in your .ovpn client file.

Second step:
Ubuntu can't have more that 3 dns records in /etc/resolv.conf
So, add 3 dns records in server.conf using push-dns
push "dhcp-option DNS firstdns"
push "dhcp-option DNS seconddns"
push "dhcp-option DNS thirddns"

where firstdns,seconddns,thirddns put your dns servers.

It is resolved problem for me without disable dnsmasq or other manipulations.
I hope, i help to someone.
I will waiting a normal resolve this problem with all.