diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-07-28 14:46:00 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-07-28 14:46:00 +0200 |
commit | 8631708741447830311aeb210f6f02bb55a423f7 (patch) | |
tree | 97878c9be9a90e440d04f24734db66ea51f1348a /man/resolved.conf.xml | |
parent | resolve: make manager_etc_hosts_read() static (diff) | |
download | systemd-8631708741447830311aeb210f6f02bb55a423f7.tar.xz systemd-8631708741447830311aeb210f6f02bb55a423f7.zip |
resolve: add option to toggle reading /etc/hosts
Workaround for #9718.
Diffstat (limited to 'man/resolved.conf.xml')
-rw-r--r-- | man/resolved.conf.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/man/resolved.conf.xml b/man/resolved.conf.xml index dbd07e8151..055c474592 100644 --- a/man/resolved.conf.xml +++ b/man/resolved.conf.xml @@ -248,6 +248,13 @@ in use.</para></listitem> </varlistentry> + <varlistentry> + <term><varname>ReadEtcHosts=</varname></term> + <listitem><para>Takes a boolean argument. If <literal>yes</literal> (the default), the DNS stub resolver will read + <filename>/etc/hosts</filename>, and try to resolve hosts or address by using the entries in the file before + sending query to DNS servers.</para></listitem> + </varlistentry> + </variablelist> </refsect1> |