summaryrefslogtreecommitdiff
path: root/man/resolved.conf.xml
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-07-28 21:46:00 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-07-28 21:46:00 +0900
commit8631708741447830311aeb210f6f02bb55a423f7 (patch)
tree97878c9be9a90e440d04f24734db66ea51f1348a /man/resolved.conf.xml
parent452ca091522190733bc1ee902b03060dae65188e (diff)
downloadsystemd-8631708741447830311aeb210f6f02bb55a423f7.tar.gz
resolve: add option to toggle reading /etc/hosts
Workaround for #9718.
Diffstat (limited to 'man/resolved.conf.xml')
-rw-r--r--man/resolved.conf.xml7
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>