summaryrefslogtreecommitdiff
path: root/man/resolvectl.xml
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-04-19 22:01:21 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-04-19 22:01:21 +0200
commit924ccc35f95cabbcb475a659f4a2e2f4cd9ff7c6 (patch)
tree0754f4b93c3b5f422bf93e7bd4e1755f0bb053ed /man/resolvectl.xml
parentc40bd28419ca02718360d016c47f4ac5495ed0ea (diff)
downloadsystemd-924ccc35f95cabbcb475a659f4a2e2f4cd9ff7c6.tar.gz
man: add a note that resolvconf updates /etc/resolv.conf in specific circumstances
When someone knows how the whole ecosystem works, this is understandable. But for someone coming from a system where resolvconf updates /etc/resolv.conf directly, this can be rather surprising. For https://bugzilla.redhat.com/show_bug.cgi?id=1815605.
Diffstat (limited to 'man/resolvectl.xml')
-rw-r--r--man/resolvectl.xml12
1 files changed, 10 insertions, 2 deletions
diff --git a/man/resolvectl.xml b/man/resolvectl.xml
index 594e22c03f..4911980823 100644
--- a/man/resolvectl.xml
+++ b/man/resolvectl.xml
@@ -297,8 +297,16 @@
<citerefentry><refentrytitle>systemd-resolved.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
similar to how <option>dns</option> and <option>domain</option> commands operate. Note that
<command>systemd-resolved.service</command> is the only supported backend, which is different from other
- implementations of this command. Note that not all operations supported by other implementations are supported
- natively. Specifically:</para>
+ implementations of this command.</para>
+
+ <para><filename>/etc/resolv.conf</filename> will only be updated with servers added with this command
+ when <filename>/etc/resolv.conf</filename> is a symlink to
+ <filename>/run/systemd/resolve/resolv.conf</filename>, and not a static file. See the discussion of
+ <filename>/etc/resolv.conf</filename> handling in
+ <citerefentry><refentrytitle>systemd-resolved.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>.
+ </para>
+
+ <para>Not all operations supported by other implementations are supported natively. Specifically:</para>
<variablelist>
<varlistentry>