NetworkManager/src/dns
Francesco Giudici 3ebe71cf06 dns: avoid cleaning resolv.conf on exit if not needed
When rc-manager=file other services may overwrite resolv.conf at any
time. We don't support merging configurations in resolv.conf but we can
be more tolerant avoiding updating resolv.conf when not strictly needed.
In this case, if the last write of resolv.conf had no nameservers (nor
options), reset the "dns_touched" flag in order to avoid resetting
resolv.conf when quitting (so, potentially overwriting some other
service configuration there).

https://bugzilla.redhat.com/show_bug.cgi?id=1426748
2017-03-23 17:05:19 +01:00
..
nm-dns-dnsmasq.c Revert "dns: clear dnsmasq cache after an update" 2016-11-29 23:12:23 +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: avoid cleaning resolv.conf on exit if not needed 2017-03-23 17:05:19 +01:00
nm-dns-manager.h policy: check for active devices before triggering dns update on hostname change 2017-03-16 18:17:05 +01:00
nm-dns-plugin.c build: rename "src/dns-manager" to "src/dns" 2016-11-21 14:07:47 +01:00
nm-dns-plugin.h build: rename "src/dns-manager" to "src/dns" 2016-11-21 14:07:47 +01:00
nm-dns-systemd-resolved.c dns/resolved: consider configuration from unmanaged devices 2017-02-24 21:08:54 +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-unbound: avoid using nm_spawn_process() 2017-02-03 18:53:40 +01:00
nm-dns-unbound.h build: rename "src/dns-manager" to "src/dns" 2016-11-21 14:07:47 +01:00