From d79ba5b01ce191188c73e6793e2470c8f4143d79 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Sat, 5 Feb 2022 21:28:39 +0800 Subject: systemd network config: slightly reword about resolv.conf --- chapter09/networkd.xml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'chapter09/networkd.xml') 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 When using systemd-resolved for DNS configuration, it creates the file - /run/systemd/resolve/resolv.conf. + /run/systemd/resolve/stub-resolv.conf. + And, if /etc/resolv.conf does not exist, it + will create it as a symlink to + /run/systemd/resolve/stub-resolv.conf so it's + unnecessary to create a /etc/resolv.conf + manually.