diff options
author | Xi Ruoyao <xry111@mengyan1223.wang> | 2022-02-05 21:28:39 +0800 |
---|---|---|
committer | Xi Ruoyao <xry111@mengyan1223.wang> | 2022-02-05 21:35:14 +0800 |
commit | d79ba5b01ce191188c73e6793e2470c8f4143d79 (patch) | |
tree | 2498cac61471c6aa616a8fc9f38e83bbbe2ac66d /chapter09 | |
parent | 490dc15317e18e4f87d2a2555adc6ce2c2a774ba (diff) |
systemd network config: slightly reword about resolv.conf
Diffstat (limited to 'chapter09')
-rw-r--r-- | chapter09/networkd.xml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/chapter09/networkd.xml b/chapter09/networkd.xml index 42c7dc730..ee9a34fbd 100644 --- a/chapter09/networkd.xml +++ b/chapter09/networkd.xml @@ -192,7 +192,12 @@ EOF</userinput></screen> <para>When using <command>systemd-resolved</command> for DNS configuration, it creates the file - <filename>/run/systemd/resolve/resolv.conf</filename>.</para> + <filename>/run/systemd/resolve/stub-resolv.conf</filename>. + And, if <filename>/etc/resolv.conf</filename> does not exist, it + will create it as a symlink to + <filename>/run/systemd/resolve/stub-resolv.conf</filename> so it's + unnecessary to create a <filename>/etc/resolv.conf</filename> + manually.</para> <!--Create a symlink in <filename>/etc</filename> to use the generated file:</para> |