From 091a364c802e34a58f3260c9cb5db9b75c62215c Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Sun, 18 May 2014 22:10:48 +0200 Subject: resolved: add daemon to manage resolv.conf Also remove the equivalent functionality from networkd. --- man/resolved.conf.xml | 91 ++++++++++++++++++++++++++++++++++++++++ man/systemd-networkd.service.xml | 5 --- man/systemd-resolved.service.xml | 85 +++++++++++++++++++++++++++++++++++++ 3 files changed, 176 insertions(+), 5 deletions(-) create mode 100644 man/resolved.conf.xml create mode 100644 man/systemd-resolved.service.xml (limited to 'man') diff --git a/man/resolved.conf.xml b/man/resolved.conf.xml new file mode 100644 index 0000000000..04e510fbe3 --- /dev/null +++ b/man/resolved.conf.xml @@ -0,0 +1,91 @@ + + + + + + + + + resolved.conf + systemd + + + + Developer + Tom + Gundersen + teg@jklm.no + + + + + + resolved.conf + 5 + + + + resolved.conf + Network Name Resolution configuration file + + + + /etc/systemd/resolved.conf + + + + Description + + When starting, systemd-resolved will read the + configuration file resolved.conf. + This configuration file determines the fallback DNS + servers. + + + + + Options + + + + + DNS= + A space separated list of IPv4 and IPv6 + addresses to be used as the fallback DNS servers. Note that + the servers obtained from + systemd-networkd.service8 + take precedence. If this option is not given, a compiled-in + list of DNS servers is used instead. + + + + + + + See Also + + systemd1, + systemd-resolved.service8, + systemd-networkd.service8 + + + + diff --git a/man/systemd-networkd.service.xml b/man/systemd-networkd.service.xml index 75ea1a4b4e..0570798878 100644 --- a/man/systemd-networkd.service.xml +++ b/man/systemd-networkd.service.xml @@ -72,11 +72,6 @@ restarting networkd does not cut the network connection, and, in particular, that it is safe to transition between the initrd and the real root, and back. - - Nameservers configured in networkd, or received over DHCP - are exposed in /run/systemd/network/resolv.conf. - This file should not be used directly, but only through a symlink - from /etc/resolv.conf. Configuration Files diff --git a/man/systemd-resolved.service.xml b/man/systemd-resolved.service.xml new file mode 100644 index 0000000000..cd73cb73c7 --- /dev/null +++ b/man/systemd-resolved.service.xml @@ -0,0 +1,85 @@ + + + + + + + + + systemd-resolved.service + systemd + + + + Developer + Tom + Gundersen + teg@jklm.no + + + + + + systemd-resolved.service + 8 + + + + systemd-resolved.service + systemd-resolved + Network Name Resolution manager + + + + systemd-resolved.service + /usr/lib/systemd/systemd-resolved + + + + Description + + systemd-networkd is a system + service that manages network name resolution. It does so by + generating /run/systemd/network/resolv.conf, + which may be symlinked from /etc/resolv.conf. + The contents is generated from the global settings in + resolved.conf5, + the per-link static settings in .network files, + and the per-link dynamic settings received over DHCP. See + systemd.network5 + for more details. + + Note that /run/systemd/network/resolv.conf + should not be used directly, but only through a symlink from + /etc/resolv.conf. + + + + See Also + + resolved.conf5, + systemd1, + systemd.network5, + systemd-networkd.service8 + + + + -- cgit v1.2.3-54-g00ecf