NetworkManager/src/dns
Beniamino Galvani 1c27ee350d dns: on quit only update resolv.conf if dns=dnsmasq
Previously we always updated resolv.conf on quit. When we are using
systemd-resolved the update is not necessary because the resolver on
127.0.0.53 would still be reachable after NM quits. Also, when NM
manages resolv.conf directly there is no need to update the file
again. Let's rewrite resolv.conf only when using dnsmasq.

https://bugzilla.redhat.com/show_bug.cgi?id=1541031
(cherry picked from commit 37eed6984b)
2018-02-09 13:19:53 +01:00
..
nm-dns-dnsmasq.c core: replace nm_dns_ip_config_data_get_dns_priority() 2017-11-13 14:37:11 +01:00
nm-dns-dnsmasq.h build: rename "src/dns-manager" to "src/dns" 2016-11-21 14:07:47 +01:00
nm-dns-manager.c dns: on quit only update resolv.conf if dns=dnsmasq 2018-02-09 13:19:53 +01:00
nm-dns-manager.h core: replace nm_dns_ip_config_data_get_dns_priority() 2017-11-13 14:37:11 +01:00
nm-dns-plugin.c dns: don't clone DNS configs list for nm_dns_plugin_update() 2017-06-19 15:12:49 +02:00
nm-dns-plugin.h dns: don't clone DNS configs list for nm_dns_plugin_update() 2017-06-19 15:12:49 +02:00
nm-dns-systemd-resolved.c core: replace nm_dns_ip_config_data_get_dns_priority() 2017-11-13 14:37:11 +01:00
nm-dns-systemd-resolved.h build: rename "src/dns-manager" to "src/dns" 2016-11-21 14:07:47 +01:00
nm-dns-unbound.c dns: don't clone DNS configs list for nm_dns_plugin_update() 2017-06-19 15:12:49 +02:00
nm-dns-unbound.h build: rename "src/dns-manager" to "src/dns" 2016-11-21 14:07:47 +01:00