NetworkManager in conjuntion with it’s built-in local instance of dnsmasq allows for more advanced DNS configuration and opens up some usefull functionality.

Enable NetworkManager’s dnsmasq Plugin

Create a configuration file in /etc/NetworkManager/conf.d with the following:


You can now create files in /etc/NetworkManager/dnsmasq.d for configuring dnsmasq.

After all the configuration is done, restart NetworkManager.

$ systemctl restart NetworkManager

$ cat /etc/resolv.conf
# Generated by NetworkManager

What to Configure Next