mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-08 03:08:08 +02:00
dns: tell dnsmasq to clear cache on servers reload
A new DNS may have different data for us. So tell dnsmasq to automatically clear the cache when servers change. Signed-off-by: Christian Hesse <mail@eworm.de>
This commit is contained in:
parent
48402cd526
commit
c966fd54bf
1 changed files with 1 additions and 0 deletions
|
|
@ -537,6 +537,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++] = "--clear-on-reload"; /* clear cache when dns server changes */
|
||||
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…
Add table
Reference in a new issue