Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

According to resolv.conf contains only a single record for local dnsmasq server

When I connect to OpenVPN server using network-manager-openvpn my /var/run/nm-dns-dnsmasq.conf gets updated right



/etc/resolv.conf gets updated as well when, according to the article above, it shouldn't

nameserver #this is useless, dnsmasq is responsible for this now
nameserver #this should be the only line

And only domain names in VPN subnames are resolved

When I manually remove the first line, everything works as expected, resolving domain names in both LAN and VPN subnets

Is it a bug? Or I can have it fixed somehow?

share|improve this question

1 Answer 1

You don't seem to have resolvconf installed. Install it and then reboot.

sudo apt-get install resolvconf

If it is already installed then do the following and then reboot.

sudo dpkg-reconfigure resolvconf
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.