diff options
author | Douglas R. Reno <renodr@linuxfromscratch.org> | 2022-02-04 19:54:13 -0600 |
---|---|---|
committer | Douglas R. Reno <renodr@linuxfromscratch.org> | 2022-02-04 19:54:13 -0600 |
commit | 0a75d626580d57ee3bf31bba07769886c015e9f7 (patch) | |
tree | 5f0b76216c0aa195d2ba6a165c70e23d4e7d0174 /chapter09 | |
parent | 1f8c0b947ef4cbba2afcf77f903a808faae9a992 (diff) |
Minor tweaks to systemd
Diffstat (limited to 'chapter09')
-rw-r--r-- | chapter09/networkd.xml | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/chapter09/networkd.xml b/chapter09/networkd.xml index 82a0740ad..42c7dc730 100644 --- a/chapter09/networkd.xml +++ b/chapter09/networkd.xml @@ -184,15 +184,21 @@ EOF</userinput></screen> or any other software that generates an <filename>/etc/resolv.conf</filename> (ex: a <command>resolvconf</command> program other than the one provided by systemd), the <command>systemd-resolved</command> service - should not be used.</para></note> + should not be used.</para> + + <para>To disable systemd-resolved, issue the following command:</para> + +<screen role="nodump"><userinput>systemctl disable systemd-resolved</userinput></screen></note> <para>When using <command>systemd-resolved</command> for DNS configuration, it creates the file - <filename>/run/systemd/resolve/resolv.conf</filename>. Create a + <filename>/run/systemd/resolve/resolv.conf</filename>.</para> + <!--Create a symlink in <filename>/etc</filename> to use the generated file:</para> <screen><userinput>ln -sfv /run/systemd/resolve/resolv.conf /etc/resolv.conf</userinput></screen> - + At least in systemd-250, this file gets created on first bootup. + --> </sect3> <sect3 id="resolv-conf-static"> |