mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-01 13:55:36 +00:00
dns: avoid using global "/etc/dnsmasq.conf" config for dnsmasq
Pass an empty configuration file otherwise dnsmasq loads
"/etc/dnsmasq.conf".
We already allow for a config.d/ directory "/etc/NetworkManager/dnsmasq.d"
to allow the user to overwrite configuration. We don't want to consider
the global config file.
Fixes: 497a8aa5c6
This commit is contained in:
parent
497a8aa5c6
commit
3d3f71acec
|
@ -393,6 +393,7 @@ start_dnsmasq (NMDnsDnsmasq *self)
|
|||
argv[idx++] = "--pid-file=" PIDFILE;
|
||||
argv[idx++] = "--listen-address=127.0.0.1"; /* Should work for both 4 and 6 */
|
||||
argv[idx++] = "--cache-size=400";
|
||||
argv[idx++] = "--conf-file=/dev/null"; /* avoid loading /etc/dnsmasq.conf */
|
||||
argv[idx++] = "--proxy-dnssec"; /* Allow DNSSEC to pass through */
|
||||
argv[idx++] = "--enable-dbus=" DNSMASQ_DBUS_SERVICE;
|
||||
|
||||
|
|
Loading…
Reference in a new issue