NetworkManager, dnsmasq & VPN-provided DNS servers ?

Florent B florent at
Thu Mar 24 11:15:45 UTC 2016

Hi everyone,

I don't understand something with NetworkManager in its default
configuration, where dns servers are handled by dnsmasq.

*It seems* that dnsmasq balances queries across all DNS servers it
knows, including local servers and servers provided through a VPN.

Behaviour should be : use VPN-provided DNS servers first, no ?

Actual behaviour leads to DNS leaks, which could be dangerous.

The only solution I found is to disable dnsmasq, and let DNS servers
handled by the system with resolv.conf file, where DNS servers provided
via VPN are on the top of the list.

Thank you.


More information about the ubuntu-users mailing list