aboutsummaryrefslogtreecommitdiffstats
path: root/chapter07
diff options
context:
space:
mode:
Diffstat (limited to 'chapter07')
-rw-r--r--chapter07/networkd.xml11
1 files changed, 6 insertions, 5 deletions
diff --git a/chapter07/networkd.xml b/chapter07/networkd.xml
index 3d7b3f2d4..fc7454678 100644
--- a/chapter07/networkd.xml
+++ b/chapter07/networkd.xml
@@ -25,7 +25,7 @@
basic network configuration. Additionally, since version 213, DNS name
resolution can be handled by <command>systemd-resolved</command> in place
of a static <filename>/etc/resolv.conf</filename> file. Both services are
- enabled by default, and absolutely should not be disabled.</para>
+ enabled by default.</para>
<para>Configuration files for <command>systemd-networkd</command> (and
<command>systemd-resolved</command>) can be placed in
@@ -119,10 +119,11 @@ EOF</userinput></screen>
used.</para></note>
<para>When using <command>systemd-resolved</command> for DNS
- configuration, it is responsible for creating the
- <filename>/etc/resolv.conf</filename> file. Since version 226, the
- symlink for <filename>/etc/resolv.conf</filename> is created by systemd
- when needed, so no further configuration is necessary.</para>
+ configuration, it creates the file
+ <filename>/run/systemd/resolve/resolv.conf</filename>. Create a
+ symlink in <filename>/etc</filename> to use the generatd file:</para>
+
+<screen><userinput remap="install">ln -sfv /run/systemd/resolve/resolv.conf /etc/resolv.conf</userinput></screen>
</sect3>