Update nm-policy.c and nm-dns-manager.c so that the connection-specific settings get propagated to DNS manger. Currently the only such value is the mDNS status.
Add update_mdns() function to DNS plugin interface. If a DNS plugin supports mDNS, it can set an interface with a given index to support mDNS resolving or also register the current hostname.
The mDNS support is currently added only to systemd-resolved DNS plugin.
25906eda9 dns: add mechanism for propagating mDNS setting.
src/dns/nm-dns-manager.c | 196 ++++++++++++++++++++++++++++++++------
src/dns/nm-dns-manager.h | 17 ++++
src/dns/nm-dns-plugin.c | 12 +++
src/dns/nm-dns-plugin.h | 9 ++
src/dns/nm-dns-systemd-resolved.c | 43 +++++++++
src/nm-policy.c | 61 +++++++++++-
6 files changed, 306 insertions(+), 32 deletions(-)