resolve: extend systemd-resolve so that it can push per-interface DNS configuration...
authorLennart Poettering <lennart@poettering.net>
Thu, 14 Dec 2017 19:13:14 +0000 (20:13 +0100)
committerGitHub <noreply@github.com>
Thu, 14 Dec 2017 19:13:14 +0000 (20:13 +0100)
commit14965b94f2a78e3f914f471a29812e2df0377a7d
tree3a64a4b6d0614e17501880c21d9d0e972c9f70f7
parentfbd0b64f44a7bae678137d67ad5da202f6b8d809
resolve: extend systemd-resolve so that it can push per-interface DNS configuration into systemd-resolved (#7576)

This is useful to debug things, but also to hook up external post-up
scripts with resolved.

Eventually this code might be useful to implement a
resolvconf(8)-compatible interface for compatibility purposes. Since the
semantics don't map entirely cleanly as first step we add a native
interface for pushing DNS configuration into resolved, that exposes the
correct semantics, before adding any compatibility interface.

See: #7202
man/systemd-resolve.xml
src/resolve/resolve-tool.c