Comment 53 for bug 959037

Revision history for this message
Thomas Hood (jdthood) wrote : Re: NM-controlled dnsmasq prevents other DNS servers from running, yet network-manager doesn't Conflict with their packages

Alkis: Suppose your host, foo, has external IP address 10.1.2.3 and runs a standalone nameserver which listens on eth0. Configure things such that nm-dnsmasq on foo uses 10.1.2.3 as its upstream nameserver; configure the standalone nameserver on foo not to listen on lo. If it's dnsmasq, start it with --except-interface=lo. Does this do what you want?

If so then this may be a very simple way to deal with #959037, at least with respect to dnsmasq. Network-manager simply drops a file with

    except-interface=lo

into /etc/dnsmasq.d/. NM can still use the local standalone dnsmasq via the external network interface, the address of which it may receive from the DHCP server, for example.