dns/resolved: add systemd-resolved backend

System Internals / NetworkManager - Sjoerd Simons [luon.net] - 8 September 2016 05:49 UTC

Add initial DNS backend that pushes DNS information into systemd-resolved. Backend is choosen by default if the systems resolv.conv is setup to pointing to one of the standard resolved locations.

This doesn't handle global dns configuration.

818023c dns/resolved: add systemd-resolved backend
src/Makefile.am | 2 +
src/dns-manager/nm-dns-manager.c | 42 ++-
src/dns-manager/nm-dns-systemd-resolved.c | 403 +++++++++++++++++++++++++++++
src/dns-manager/nm-dns-systemd-resolved.h | 45 ++++
4 files changed, 491 insertions(+), 1 deletion(-)

Upstream: cgit.freedesktop.org


  • Share