CINXE.COM

host.conf(5) — manpages — Debian bookworm — Debian Manpages

<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>host.conf(5) — manpages — Debian bookworm — Debian Manpages</title> <style type="text/css"> @font-face { font-family: 'Inconsolata'; src: local('Inconsolata'), url(/Inconsolata.woff2) format('woff2'), url(/Inconsolata.woff) format('woff'); font-display: swap; } @font-face { font-family: 'Roboto'; font-style: normal; font-weight: 400; src: local('Roboto'), local('Roboto Regular'), local('Roboto-Regular'), url(/Roboto-Regular.woff2) format('woff2'), url(/Roboto-Regular.woff) format('woff'); font-display: swap; } body { color: #000; background-color: white; background-image: linear-gradient(to bottom, #d7d9e2, #fff 70px); background-position: 0 0; background-repeat: repeat-x; font-family: sans-serif; font-size: 100%; line-height: 1.2; letter-spacing: 0.15px; margin: 0; padding: 0; } #header { padding: 0 10px 0 52px; } #logo { position: absolute; top: 0; left: 0; border-left: 1px solid transparent; border-right: 1px solid transparent; border-bottom: 1px solid transparent; width: 50px; height: 5.07em; min-height: 65px; } #logo a { display: block; height: 100%; } #logo img { margin-top: 5px; position: absolute; bottom: 0.3em; overflow: auto; border: 0; } p.section { margin: 0; padding: 0 5px 0 5px; font-size: 13px; line-height: 16px; color: white; letter-spacing: 0.08em; position: absolute; top: 0px; left: 52px; background-color: #c70036; } p.section a { color: white; text-decoration: none; } .hidecss { display: none; } #searchbox { text-align:left; line-height: 1; margin: 0 10px 0 0.5em; padding: 1px 0 1px 0; position: absolute; top: 0; right: 0; font-size: .75em; } #navbar { border-bottom: 1px solid #c70036; } #navbar ul { margin: 0; padding: 0; overflow: hidden; } #navbar li { list-style: none; float: left; } #navbar a { display: block; padding: 1.75em .5em .25em .5em; color: #0035c7; text-decoration: none; border-left: 1px solid transparent; border-right: 1px solid transparent; } #navbar a:hover , #navbar a:visited:hover { background-color: #f5f6f7; border-left: 1px solid #d2d3d7; border-right: 1px solid #d2d3d7; text-decoration: underline; } a:link { color: #0035c7; } a:visited { color: #54638c; } #breadcrumbs { line-height: 2; min-height: 20px; margin: 0; padding: 0; font-size: 0.75em; background-color: #f5f6f7; border-bottom: 1px solid #d2d3d7; } #breadcrumbs:before { margin-left: 0.5em; margin-right: 0.5em; } #content { margin: 0 10px 0 52px; display: flex; flex-direction: row; word-wrap: break-word; } .paneljump { background-color: #d70751; padding: 0.5em; border-radius: 3px; margin-right: .5em; display: none; } .paneljump a, .paneljump a:visited, .paneljump a:hover, .paneljump a:focus { color: white; } @media all and (max-width: 800px) { #content { flex-direction: column; margin: 0.5em; } .paneljump { display: block; } } .panels { display: block; order: 2; } .maincontent { width: 100%; max-width: 80ch; order: 1; } .mandoc { font-family: monospace; font-size: 1.04rem; } .mandoc pre { white-space: pre-wrap; } #footer { border: 1px solid #dfdfe0; border-left: 0; border-right: 0; background-color: #f5f6f7; padding: 1em; margin: 1em 10px 0 52px; font-size: 0.75em; line-height: 1.5em; } hr { border-top: 1px solid #d2d3d7; border-bottom: 1px solid white; border-left: 0; border-right: 0; margin: 1.4375em 0 1.5em 0; height: 0; background-color: #bbb; } #content p { padding-left: 1em; } a, a:hover, a:focus, a:visited { color: #0530D7; text-decoration: none; } .panel { padding: 15px; margin-bottom: 20px; background-color: #ffffff; border: 1px solid #dddddd; border-radius: 4px; -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); } .panel-heading, .panel details { margin: -15px -15px 0px; background-color: #d70751; border-bottom: 1px solid #dddddd; border-top-right-radius: 3px; border-top-left-radius: 3px; } .panel-heading, .panel summary { padding: 5px 5px; font-size: 17.5px; font-weight: 500; color: #ffffff; outline-style: none; } .panel summary { padding-left: 7px; } summary, details { display: block; } .panel details ul { margin: 0; } .panel-footer { padding: 5px 5px; margin: 15px -15px -15px; background-color: #f5f5f5; border-top: 1px solid #dddddd; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; } .panel-info { border-color: #bce8f1; } .panel-info .panel-heading { color: #3a87ad; background-color: #d9edf7; border-color: #bce8f1; } .list-group { padding-left: 0; margin-bottom: 20px; background-color: #ffffff; } .list-group-item { position: relative; display: block; padding: 5px 5px 5px 5px; margin-bottom: -1px; border: 1px solid #dddddd; } .list-group-item > .list-item-key { min-width: 27%; display: inline-block; } .list-group-item > .list-item-key.versions-repository { min-width: 40%; } .list-group-item > .list-item-key.versioned-links-version { min-width: 40% } .versioned-links-icon { margin-right: 2px; } .versioned-links-icon a { color: black; } .versioned-links-icon a:hover { color: blue; } .versioned-links-icon-inactive { opacity: 0.5; } .list-group-item:first-child { border-top-right-radius: 4px; border-top-left-radius: 4px; } .list-group-item:last-child { margin-bottom: 0; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; } .list-group-item-heading { margin-top: 0; margin-bottom: 5px; } .list-group-item-text { margin-bottom: 0; line-height: 1.3; } .list-group-item:hover { background-color: #f5f5f5; } .list-group-item.active a { z-index: 2; } .list-group-item.active { background-color: #efefef; } .list-group-flush { margin: 15px -15px -15px; } .panel .list-group-flush { margin-top: -1px; } .list-group-flush .list-group-item { border-width: 1px 0; } .list-group-flush .list-group-item:first-child { border-top-right-radius: 0; border-top-left-radius: 0; } .list-group-flush .list-group-item:last-child { border-bottom: 0; } .panel { float: right; clear: right; min-width: 200px; } .toc { width: 200px; } .toc li { font-size: 98%; letter-spacing: 0.02em; display: flex; } .otherversions { width: 200px; } .otherversions li, .otherlangs li { display: flex; } .otherversions a, .otherlangs a { flex-shrink: 0; } .pkgversion, .pkgname, .toc a { text-overflow: ellipsis; overflow: hidden; white-space: nowrap; } .pkgversion, .pkgname { margin-left: auto; padding-left: 1em; } .mandoc { overflow: hidden; margin-top: .5em; margin-right: 45px; } table.head, table.foot { width: 100%; } .head-vol { text-align: center; } .head-rtitle { text-align: right; } .spacer, .Pp { min-height: 1em; } pre { margin-left: 2em; } .anchor { margin-left: .25em; visibility: hidden; } h1:hover .anchor, h2:hover .anchor, h3:hover .anchor, h4:hover .anchor, h5:hover .anchor, h6:hover .anchor { visibility: visible; } h1, h2, h3, h4, h5, h6 { letter-spacing: .07em; margin-top: 1.5em; margin-bottom: .35em; } h1 { font-size: 150%; } h2 { font-size: 125%; } @media print { #header, #footer, .panel, .anchor, .paneljump { display: none; } #content { margin: 0; } .mandoc { margin: 0; } } .Bd { } .Bd-indent { margin-left: 3.8em; } .Bl-bullet { list-style-type: disc; padding-left: 1em; } .Bl-bullet > li { } .Bl-dash { list-style-type: none; padding-left: 0em; } .Bl-dash > li:before { content: "\2014 "; } .Bl-item { list-style-type: none; padding-left: 0em; } .Bl-item > li { } .Bl-compact > li { margin-top: 0em; } .Bl-enum { padding-left: 2em; } .Bl-enum > li { } .Bl-compact > li { margin-top: 0em; } .Bl-diag { } .Bl-diag > dt { font-style: normal; font-weight: bold; } .Bl-diag > dd { margin-left: 0em; } .Bl-hang { } .Bl-hang > dt { } .Bl-hang > dd { margin-left: 5.5em; } .Bl-inset { } .Bl-inset > dt { } .Bl-inset > dd { margin-left: 0em; } .Bl-ohang { } .Bl-ohang > dt { } .Bl-ohang > dd { margin-left: 0em; } .Bl-tag { margin-left: 5.5em; } .Bl-tag > dt { float: left; margin-top: 0em; margin-left: -5.5em; padding-right: 1.2em; vertical-align: top; } .Bl-tag > dd { clear: both; width: 100%; margin-top: 0em; margin-left: 0em; vertical-align: top; overflow: auto; } .Bl-compact > dt { margin-top: 0em; } .Bl-column { } .Bl-column > tbody > tr { } .Bl-column > tbody > tr > td { margin-top: 1em; } .Bl-compact > tbody > tr > td { margin-top: 0em; } .Rs { font-style: normal; font-weight: normal; } .RsA { } .RsB { font-style: italic; font-weight: normal; } .RsC { } .RsD { } .RsI { font-style: italic; font-weight: normal; } .RsJ { font-style: italic; font-weight: normal; } .RsN { } .RsO { } .RsP { } .RsQ { } .RsR { } .RsT { text-decoration: underline; } .RsU { } .RsV { } .eqn { } .tbl { } .HP { margin-left: 3.8em; text-indent: -3.8em; } table.Nm { } code.Nm { font-style: normal; font-weight: bold; font-family: inherit; } .Fl { font-style: normal; font-weight: bold; font-family: inherit; } .Cm { font-style: normal; font-weight: bold; font-family: inherit; } .Ar { font-style: italic; font-weight: normal; } .Op { display: inline; } .Ic { font-style: normal; font-weight: bold; font-family: inherit; } .Ev { font-style: normal; font-weight: normal; font-family: monospace; } .Pa { font-style: italic; font-weight: normal; } .Lb { } code.In { font-style: normal; font-weight: bold; font-family: inherit; } a.In { } .Fd { font-style: normal; font-weight: bold; font-family: inherit; } .Ft { font-style: italic; font-weight: normal; } .Fn { font-style: normal; font-weight: bold; font-family: inherit; } .Fa { font-style: italic; font-weight: normal; } .Vt { font-style: italic; font-weight: normal; } .Va { font-style: italic; font-weight: normal; } .Dv { font-style: normal; font-weight: normal; font-family: monospace; } .Er { font-style: normal; font-weight: normal; font-family: monospace; } .An { } .Lk { } .Mt { } .Cd { font-style: normal; font-weight: bold; font-family: inherit; } .Ad { font-style: italic; font-weight: normal; } .Ms { font-style: normal; font-weight: bold; } .St { } .Ux { } .Bf { display: inline; } .No { font-style: normal; font-weight: normal; } .Em { font-style: italic; font-weight: normal; } .Sy { font-style: normal; font-weight: bold; } .Li { font-style: normal; font-weight: normal; font-family: monospace; } body { font-family: 'Roboto', sans-serif; } .mandoc, .mandoc pre, .mandoc code, p.section { font-family: 'Inconsolata', monospace; } </style> <link rel="search" title="Debian manpages" type="application/opensearchdescription+xml" href="/opensearch.xml"> <link rel="alternate" href="/bookworm/manpages-de/host.conf.5.de.html" hreflang="de"> <link rel="alternate" href="/bookworm/manpages/host.conf.5.en.html" hreflang="en"> <link rel="alternate" href="/bookworm/manpages-es/host.conf.5.es.html" hreflang="es"> <link rel="alternate" href="/bookworm/manpages-ja/host.conf.5.ja.html" hreflang="ja"> <link rel="alternate" href="/bookworm/manpages-ru/host.conf.5.ru.html" hreflang="ru"> <link rel="alternate" href="/bookworm/manpages-zh/host.conf.5.zh_CN.html" hreflang="zh-CN"> <link rel="alternate" href="/bookworm/manpages-zh/host.conf.5.zh_TW.html" hreflang="zh-TW"> </head> <body> <div id="header"> <div id="upperheader"> <div id="logo"> <a href="https://www.debian.org/" title="Debian Home"><img src="/openlogo-50.svg" alt="Debian" width="50" height="61"></a> </div> <p class="section"><a href="/">MANPAGES</a></p> <div id="searchbox"> <form action="https://dyn.manpages.debian.org/jump" method="get"> <input type="hidden" name="suite" value="bookworm"> <input type="hidden" name="binarypkg" value="manpages"> <input type="hidden" name="section" value="5"> <input type="hidden" name="language" value="en"> <input type="text" name="q" placeholder="manpage name" required> <input type="submit" value="Jump"> </form> </div> </div> <div id="navbar"> <p class="hidecss"><a href="#content">Skip Quicknav</a></p> <ul> <li><a href="/">Index</a></li> <li><a href="/about.html">About Manpages</a></li> <li><a href="/faq.html">FAQ</a></li> <li><a href="https://wiki.debian.org/manpages.debian.org">Service Information</a></li> </ul> </div> <p id="breadcrumbs">&nbsp; &#x2F; <a href="/contents-bookworm.html">bookworm</a> &#x2F; <a href="/bookworm/manpages/index.html">manpages</a> &#x2F; host.conf(5) </p> </div> <div id="content"> <div class="panels" id="panels"> <div class="panel" role="complementary"> <div class="panel-heading" role="heading"> links </div> <div class="panel-body"> <ul class="list-group list-group-flush"> <li class="list-group-item"> <a href="/bookworm/manpages/host.conf.5">language-indep link</a> </li> <li class="list-group-item"> <a href="https://tracker.debian.org/pkg/manpages">package tracker</a> </li> <li class="list-group-item"> <a href="/bookworm/manpages/host.conf.5.en.gz">raw man page</a> </li> </ul> </div> </div> <div class="panel toc" role="complementary" style="padding-bottom: 0"> <details> <summary> table of contents </summary> <div class="panel-body"> <ul class="list-group list-group-flush"> <li class="list-group-item"> <a class="toclink" href="#NAME" title="NAME">NAME</a> </li> <li class="list-group-item"> <a class="toclink" href="#DESCRIPTION" title="DESCRIPTION">DESCRIPTION</a> </li> <li class="list-group-item"> <a class="toclink" href="#ENVIRONMENT" title="ENVIRONMENT">ENVIRONMENT</a> </li> <li class="list-group-item"> <a class="toclink" href="#FILES" title="FILES">FILES</a> </li> <li class="list-group-item"> <a class="toclink" href="#NOTES" title="NOTES">NOTES</a> </li> <li class="list-group-item"> <a class="toclink" href="#SEE_ALSO" title="SEE ALSO">SEE ALSO</a> </li> </ul> </div> </details> </div> <div class="panel otherversions" role="complementary"> <div class="panel-heading" role="heading"> other versions </div> <div class="panel-body"> <ul class="list-group list-group-flush"> <li class="list-group-item active"> <a href="/bookworm/manpages/host.conf.5.en.html">bookworm</a> <span class="pkgversion" title="6.03-2">6.03-2</span> </li> <li class="list-group-item"> <a href="/testing/manpages/host.conf.5.en.html">testing</a> <span class="pkgversion" title="6.8-2">6.8-2</span> </li> <li class="list-group-item"> <a href="/unstable/manpages/host.conf.5.en.html">unstable</a> <span class="pkgversion" title="6.9.1-1">6.9.1-1</span> </li> </ul> </div> </div> <div class="panel otherlangs" role="complementary"> <div class="panel-heading" role="heading"> other languages </div> <div class="panel-body"> <ul class="list-group list-group-flush"> <li class="list-group-item"> <a href="/bookworm/manpages-de/host.conf.5.de.html" title="German (de)">Deutsch</a> </li> <li class="list-group-item active"> <a href="/bookworm/manpages/host.conf.5.en.html" title="English (en)">English</a> </li> <li class="list-group-item"> <a href="/bookworm/manpages-es/host.conf.5.es.html" title="Spanish (es)">español</a> </li> <li class="list-group-item"> <a href="/bookworm/manpages-ja/host.conf.5.ja.html" title="Japanese (ja)">日本語</a> </li> <li class="list-group-item"> <a href="/bookworm/manpages-ru/host.conf.5.ru.html" title="Russian (ru)">русский</a> </li> <li class="list-group-item"> <a href="/bookworm/manpages-zh/host.conf.5.zh_CN.html" title="Chinese (zh_CN)">中文 (zh-CN)</a> </li> <li class="list-group-item"> <a href="/bookworm/manpages-zh/host.conf.5.zh_TW.html" title="Chinese (zh_TW)">繁體中文 (zh-TW)</a> </li> </ul> </div> </div> </div> <div class="maincontent"> <p class="paneljump"><a href="#panels">Scroll to navigation</a></p> <div class="mandoc"> <table class="head"> <tbody><tr> <td class="head-ltitle"><a href="/bookworm/manpages/host.conf.5.en.html">host.conf(5)</a></td> <td class="head-vol">File Formats Manual</td> <td class="head-rtitle"><a href="/bookworm/manpages/host.conf.5.en.html">host.conf(5)</a></td> </tr> </tbody></table> <div class="manual-text"> <section class="Sh"> <h1 class="Sh" id="NAME">NAME<a class="anchor" href="#NAME">¶</a></h1> <p class="Pp">host.conf - resolver configuration file</p> </section> <section class="Sh"> <h1 class="Sh" id="DESCRIPTION">DESCRIPTION<a class="anchor" href="#DESCRIPTION">¶</a></h1> <p class="Pp">The file <i>/etc/host.conf</i> contains configuration information specific to the resolver library. It should contain one configuration keyword per line, followed by appropriate configuration information. The following keywords are recognized:</p> <dl class="Bl-tag"> <dt id="trim"><a class="permalink" href="#trim"><i>trim</i></a></dt> <dd>This keyword may be listed more than once. Each time it should be followed by a list of domains, separated by colons (&#39;:&#39;), semicolons (&#39;;&#39;) or commas (&#39;,&#39;), with the leading dot. When set, the resolver library will automatically trim the given domain name from the end of any hostname resolved via DNS. This is intended for use with local hosts and domains. (Related note: <i>trim</i> will not affect hostnames gathered via NIS or the <a href="/bookworm/manpages/hosts.5.en.html">hosts(5)</a> file. Care should be taken to ensure that the first hostname for each entry in the hosts file is fully qualified or unqualified, as appropriate for the local installation.)</dd> <dt id="multi"><a class="permalink" href="#multi"><i>multi</i></a></dt> <dd>Valid values are <i>on</i> and <i>off</i>. If set to <i>on</i>, the resolver library will return all valid addresses for a host that appears in the <i>/etc/hosts</i> file, instead of only the first. This is <i>off</i> by default, as it may cause a substantial performance loss at sites with large hosts files.</dd> <dt id="reorder"><a class="permalink" href="#reorder"><i>reorder</i></a></dt> <dd>Valid values are <i>on</i> and <i>off</i>. If set to <i>on</i>, the resolver library will attempt to reorder host addresses so that local addresses (i.e., on the same subnet) are listed first when a <a href="/bookworm/manpages-dev/gethostbyname.3.en.html">gethostbyname(3)</a> is performed. Reordering is done for all lookup methods. The default value is <i>off</i>.</dd> </dl> </section> <section class="Sh"> <h1 class="Sh" id="ENVIRONMENT">ENVIRONMENT<a class="anchor" href="#ENVIRONMENT">¶</a></h1> <p class="Pp">The following environment variables can be used to allow users to override the behavior which is configured in <i>/etc/host.conf</i>:</p> <dl class="Bl-tag"> <dt id="RESOLV_HOST_CONF"><a class="permalink" href="#RESOLV_HOST_CONF"><b>RESOLV_HOST_CONF</b></a></dt> <dd>If set, this variable points to a file that should be read instead of <i>/etc/host.conf</i>.</dd> <dt id="RESOLV_MULTI"><a class="permalink" href="#RESOLV_MULTI"><b>RESOLV_MULTI</b></a></dt> <dd>Overrides the <i>multi</i> command.</dd> <dt id="RESOLV_REORDER"><a class="permalink" href="#RESOLV_REORDER"><b>RESOLV_REORDER</b></a></dt> <dd>Overrides the <i>reorder</i> command.</dd> <dt id="RESOLV_ADD_TRIM_DOMAINS"><a class="permalink" href="#RESOLV_ADD_TRIM_DOMAINS"><b>RESOLV_ADD_TRIM_DOMAINS</b></a></dt> <dd>A list of domains, separated by colons (&#39;:&#39;), semicolons (&#39;;&#39;), or commas (&#39;,&#39;), with the leading dot, which will be added to the list of domains that should be trimmed.</dd> <dt id="RESOLV_OVERRIDE_TRIM_DOMAINS"><a class="permalink" href="#RESOLV_OVERRIDE_TRIM_DOMAINS"><b>RESOLV_OVERRIDE_TRIM_DOMAINS</b></a></dt> <dd>A list of domains, separated by colons (&#39;:&#39;), semicolons (&#39;;&#39;), or commas (&#39;,&#39;), with the leading dot, which will replace the list of domains that should be trimmed. Overrides the <i>trim</i> command.</dd> </dl> </section> <section class="Sh"> <h1 class="Sh" id="FILES">FILES<a class="anchor" href="#FILES">¶</a></h1> <dl class="Bl-tag"> <dt><i>/etc/host.conf</i></dt> <dd>Resolver configuration file</dd> <dt><i>/etc/resolv.conf</i></dt> <dd>Resolver configuration file</dd> <dt><i>/etc/hosts</i></dt> <dd>Local hosts database</dd> </dl> </section> <section class="Sh"> <h1 class="Sh" id="NOTES">NOTES<a class="anchor" href="#NOTES">¶</a></h1> <p class="Pp">The following differences exist compared to the original implementation. A new command <i>spoof</i> and a new environment variable <b>RESOLV_SPOOF_CHECK</b> can take arguments like <i>off</i>, <i>nowarn</i>, and <i>warn</i>. Line comments can appear anywhere and not only at the beginning of a line.</p> <section class="Ss"> <h2 class="Ss" id="Historical">Historical<a class="anchor" href="#Historical">¶</a></h2> <p class="Pp">The <a href="/bookworm/manpages/nsswitch.conf.5.en.html">nsswitch.conf(5)</a> file is the modern way of controlling the order of host lookups.</p> <p class="Pp">In glibc 2.4 and earlier, the following keyword is recognized:</p> <dl class="Bl-tag"> <dt id="order"><a class="permalink" href="#order"><i>order</i></a></dt> <dd>This keyword specifies how host lookups are to be performed. It should be followed by one or more lookup methods, separated by commas. Valid methods are <i>bind</i>, <i>hosts</i>, and <i>nis</i>.</dd> <dt id="RESOLV_SERV_ORDER"><a class="permalink" href="#RESOLV_SERV_ORDER"><b>RESOLV_SERV_ORDER</b></a></dt> <dd>Overrides the <i>order</i> command.</dd> </dl> <p class="Pp">Since glibc 2.0.7, and up through glibc 2.24, the following keywords and environment variable have been recognized but never implemented:</p> <dl class="Bl-tag"> <dt id="nospoof"><a class="permalink" href="#nospoof"><i>nospoof</i></a></dt> <dd>Valid values are <i>on</i> and <i>off</i>. If set to <i>on</i>, the resolver library will attempt to prevent hostname spoofing to enhance the security of <b>rlogin</b> and <b>rsh</b>. It works as follows: after performing a host address lookup, the resolver library will perform a hostname lookup for that address. If the two hostnames do not match, the query fails. The default value is <i>off</i>.</dd> <dt id="spoofalert"><a class="permalink" href="#spoofalert"><i>spoofalert</i></a></dt> <dd>Valid values are <i>on</i> and <i>off</i>. If this option is set to <i>on</i> and the <i>nospoof</i> option is also set, the resolver library will log a warning of the error via the syslog facility. The default value is <i>off</i>.</dd> <dt id="spoof"><a class="permalink" href="#spoof"><i>spoof</i></a></dt> <dd>Valid values are <i>off</i>, <i>nowarn</i>, and <i>warn</i>. If this option is set to <i>off</i>, spoofed addresses are permitted and no warnings will be emitted via the syslog facility. If this option is set to <i>warn</i>, the resolver library will attempt to prevent hostname spoofing to enhance the security and log a warning of the error via the syslog facility. If this option is set to <i>nowarn</i>, the resolver library will attempt to prevent hostname spoofing to enhance the security but not emit warnings via the syslog facility. Setting this option to anything else is equal to setting it to <i>nowarn</i>.</dd> <dt id="RESOLV_SPOOF_CHECK"><a class="permalink" href="#RESOLV_SPOOF_CHECK"><b>RESOLV_SPOOF_CHECK</b></a></dt> <dd>Overrides the <i>nospoof</i>, <i>spoofalert</i>, and <i>spoof</i> commands in the same way as the <i>spoof</i> command is parsed. Valid values are <i>off</i>, <i>nowarn</i>, and <i>warn</i>.</dd> </dl> </section> </section> <section class="Sh"> <h1 class="Sh" id="SEE_ALSO">SEE ALSO<a class="anchor" href="#SEE_ALSO">¶</a></h1> <p class="Pp"><a href="/bookworm/manpages-dev/gethostbyname.3.en.html">gethostbyname(3)</a>, <a href="/bookworm/manpages/hosts.5.en.html">hosts(5)</a>, <a href="/bookworm/manpages/nsswitch.conf.5.en.html">nsswitch.conf(5)</a>, <a href="/bookworm/manpages/resolv.conf.5.en.html">resolv.conf(5)</a>, <a href="/bookworm/manpages/hostname.7.en.html">hostname(7)</a>, <a href="/bookworm/bind9/named.8.en.html">named(8)</a></p> </section> </div> <table class="foot"> <tbody><tr> <td class="foot-date">2023-02-05</td> <td class="foot-os">Linux man-pages 6.03</td> </tr> </tbody></table> </div> </div> </div> <div id="footer"> <p><table> <tr> <td> Source file: </td> <td> host.conf.5.en.gz (from <a href="http://snapshot.debian.org/package/manpages/6.03-2/">manpages 6.03-2</a>) </td> </tr> <tr> <td> Source last updated: </td> <td> 2023-04-30T10:42:06Z </td> </tr> <tr> <td> Converted to HTML: </td> <td> 2024-11-18T15:13:19Z </td> </tr> </table></p> <hr> <div id="fineprint"> <p>debiman c35ad7d, see <a href="https://github.com/Debian/debiman/">github.com/Debian/debiman</a>. Found a problem? See the <a href="/faq.html">FAQ</a>.</p> </div> </div> <script type="application/ld+json"> "{\"@context\":\"http://schema.org\",\"@type\":\"BreadcrumbList\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"item\":{\"@type\":\"Thing\",\"@id\":\"/contents-bookworm.html\",\"name\":\"bookworm\"}},{\"@type\":\"ListItem\",\"position\":2,\"item\":{\"@type\":\"Thing\",\"@id\":\"/bookworm/manpages/index.html\",\"name\":\"manpages\"}},{\"@type\":\"ListItem\",\"position\":3,\"item\":{\"@type\":\"Thing\",\"@id\":\"\",\"name\":\"host.conf(5)\"}}]}" </script>

Pages: 1 2 3 4 5 6 7 8 9 10