Skip to content

Commit 9fcfc04

Browse files
Dan Streetmanyuwata
authored andcommitted
Add systemd-resolve backwards compatibility section to resolvectl docs
1 parent d46be5a commit 9fcfc04

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

man/resolvectl.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
<refnamediv>
2020
<refname>resolvectl</refname>
2121
<refname>resolvconf</refname>
22+
<refname>systemd-resolve</refname>
2223
<refpurpose>Resolve domain names, IPV4 and IPv6 addresses, DNS resource records, and services; introspect and reconfigure the DNS resolver</refpurpose>
2324
</refnamediv>
2425

@@ -472,6 +473,18 @@
472473
for details on those command line options.</para>
473474
</refsect1>
474475

476+
<refsect1>
477+
<title>Backwards compatibility with <command>systemd-resolve</command></title>
478+
479+
<para><command>resolvectl</command> is a multi-call binary, which previously was named <literal>systemd-resolve</literal>
480+
and used slightly different parameters. When it is invoked as <literal>systemd-resolve</literal>
481+
(generally achieved by means of a symbolic link of this name to the <command>resolvectl</command> binary),
482+
it runs in compatibility mode. For details on the specific parameters and calling syntax, see the output from
483+
<command>systemd-resolve --help</command>. Calling the binary as <literal>systemd-resolve</literal> is
484+
deprecated and should only be done for backwards compatibility. All current and new use should call the binary
485+
as <literal>resolvectl</literal>.</para>
486+
</refsect1>
487+
475488
<refsect1>
476489
<title>Examples</title>
477490

man/rules/meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ manpages = [
6767
['portablectl', '1', [], 'ENABLE_PORTABLED'],
6868
['pstore.conf', '5', ['pstore.conf.d'], 'ENABLE_PSTORE'],
6969
['repart.d', '5', [], 'ENABLE_REPART'],
70-
['resolvectl', '1', ['resolvconf'], 'ENABLE_RESOLVE'],
70+
['resolvectl', '1', ['resolvconf', 'systemd-resolve'], 'ENABLE_RESOLVE'],
7171
['resolved.conf', '5', ['resolved.conf.d'], 'ENABLE_RESOLVE'],
7272
['runlevel', '8', [], 'HAVE_SYSV_COMPAT'],
7373
['sd-bus-errors',

0 commit comments

Comments
 (0)