mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-22 22:03:43 +03:00
Update systemd-resolved.service.8 help
Text currently refers to `/etc/nsswitch.conf` where it should refer to `/etc/resolv.conf`. This is in the context of defining a nameserver IP and search domains.
This commit is contained in:
parent
29bff80b5c
commit
e83580bfc6
@ -242,7 +242,7 @@
|
|||||||
control of the client library. <filename>nss-dns</filename> will first try to resolve names using
|
control of the client library. <filename>nss-dns</filename> will first try to resolve names using
|
||||||
search domains and even if those queries are routed to <filename>systemd-resolved</filename>, it will
|
search domains and even if those queries are routed to <filename>systemd-resolved</filename>, it will
|
||||||
send them out over the network using the usual rules for multi-label name routing <footnote><para>For
|
send them out over the network using the usual rules for multi-label name routing <footnote><para>For
|
||||||
example, if <filename>/etc/nsswitch.conf</filename> has <programlisting>nameserver 127.0.0.53
|
example, if <filename>/etc/resolv.conf</filename> has <programlisting>nameserver 127.0.0.53
|
||||||
search foobar.com barbar.com
|
search foobar.com barbar.com
|
||||||
</programlisting>and we look up <literal>localhost</literal>, <filename>nss-dns</filename> will send
|
</programlisting>and we look up <literal>localhost</literal>, <filename>nss-dns</filename> will send
|
||||||
the following queries to <filename>systemd-resolved</filename> listening on 127.0.0.53:53: first
|
the following queries to <filename>systemd-resolved</filename> listening on 127.0.0.53:53: first
|
||||||
|
Loading…
x
Reference in New Issue
Block a user