Adding additional nameservers with resolvconf, dnsmasq & networkmanager
I'm running resolvconf, dnsmasq and interfaces&connections are managed by NetworkManager (nm).
dnsmasq is supposed to cache dns entries, and use upstream servers configured via DHCP and manually.
Problem is it seems dnsmasq ends up using upstreams configured only via nm (using DHCP) - can't figure out how to add manually configured fallbacks (or primaries for that matter).
/etc/resolv.conf links to /etc/resolvconf/run/resolv.conf, whose contents are same as of /run/resolvconf/resolv.conf.
Note 1.1.1.1 is the custom nameserver I'm trying to add, but seems like dnsmasq is not using it. Looking up any domain now takes 2 sec every time, indicating nothing is cached.
dnsmasq process w/ params:
Also tried adding server=1.1.1.1 to dnsmasq config, but that didn't work either. Any suggestions?