man.host.html revision 603de7394f5a466ea39a33a6eea2022885ec3f87
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence<!--
5569e7de51513952d89f29de08049ed6bb054d6eAutomatic Updater - Copyright (C) 2004-2015 Internet Systems Consortium, Inc. ("ISC")
a7038d1a0513c8e804937ebc95fc9cb3a46c04f5Mark Andrews - Copyright (C) 2000-2003 Internet Software Consortium.
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence -
ec5347e2c775f027573ce5648b910361aa926c01Automatic Updater - Permission to use, copy, modify, and/or distribute this software for any
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence - purpose with or without fee is hereby granted, provided that the above
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence - copyright notice and this permission notice appear in all copies.
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence -
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews - PERFORMANCE OF THIS SOFTWARE.
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence-->
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence<!-- $Id$ -->
0cfbb9285a96f1355e5a3bd458624eaed2f16846Automatic Updater<html>
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence<head>
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence<title>host</title>
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence<meta name="generator" content="DocBook XSL Stylesheets V1.71.1">
29747dfe5e073a299b3681e01f5c55540f8bfed7Mark Andrews<link rel="start" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual">
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein<link rel="up" href="Bv9ARM.ch13.html" title="Manual pages">
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence<link rel="prev" href="man.dig.html" title="dig">
899f7f9af527d3dfe8345dcc8210d7c23fc950afDavid Lawrence<link rel="next" href="man.delv.html" title="delv">
c4717613e45323ed23dc6e9162cba89f1f83830cDavid Lawrence</head>
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
9550eb2dab1d03e03e6c060f92e655d47ac1fc1bMichael Graff<div class="navheader">
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence<table width="100%" summary="Navigation header">
c4958494a98a59ce25e9fecad76a9ab0e36cc59fDanny Mayer<tr><th colspan="3" align="center">host</th></tr>
8f804834e2b537da5c8bc81f986143a46147b490Andreas Gustafsson<tr>
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence<td width="20%" align="left">
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein<a accesskey="p" href="man.dig.html">Prev</a>�</td>
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein<th width="60%" align="center">Manual pages</th>
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein<td width="20%" align="right">�<a accesskey="n" href="man.delv.html">Next</a>
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence</td>
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence</tr>
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence</table>
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein<hr>
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein</div>
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein<div class="refentry" lang="en">
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein<a name="man.host"></a><div class="titlepage"></div>
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence<div class="refnamediv">
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence<h2>Name</h2>
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence<p>host &#8212; DNS lookup utility</p>
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence</div>
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence<div class="refsynopsisdiv">
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence<h2>Synopsis</h2>
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein<div class="cmdsynopsis"><p><code class="command">host</code> [<code class="option">-aCdlnrsTwv</code>] [<code class="option">-c <em class="replaceable"><code>class</code></em></code>] [<code class="option">-N <em class="replaceable"><code>ndots</code></em></code>] [<code class="option">-R <em class="replaceable"><code>number</code></em></code>] [<code class="option">-t <em class="replaceable"><code>type</code></em></code>] [<code class="option">-W <em class="replaceable"><code>wait</code></em></code>] [<code class="option">-m <em class="replaceable"><code>flag</code></em></code>] [<code class="option">-4</code>] [<code class="option">-6</code>] [<code class="option">-v</code>] [<code class="option">-V</code>] {name} [server]</p></div>
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence</div>
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein<div class="refsect1" lang="en">
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein<a name="id2616851"></a><h2>DESCRIPTION</h2>
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein<p><span><strong class="command">host</strong></span>
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence is a simple utility for performing DNS lookups.
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence It is normally used to convert names to IP addresses and vice versa.
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence When no arguments or options are given,
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence <span><strong class="command">host</strong></span>
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence prints a short summary of its command line arguments and options.
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein </p>
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence<p><em class="parameter"><code>name</code></em> is the domain name that is to be
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein looked
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein up. It can also be a dotted-decimal IPv4 address or a colon-delimited
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence IPv6 address, in which case <span><strong class="command">host</strong></span> will by
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence default
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence perform a reverse lookup for that address.
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence <em class="parameter"><code>server</code></em> is an optional argument which
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence is either
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence the name or IP address of the name server that <span><strong class="command">host</strong></span>
2918b5bda6a55c301eb87992b5f2acd7176d0737David Lawrence should query instead of the server or servers listed in
2918b5bda6a55c301eb87992b5f2acd7176d0737David Lawrence <code class="filename">/etc/resolv.conf</code>.
2918b5bda6a55c301eb87992b5f2acd7176d0737David Lawrence </p>
959cf5e112c41ba8da2a202f51bc0c7a3cf47f68Tatuya JINMEI 神明達哉<p>
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein The <code class="option">-a</code> (all) option is equivalent to setting the
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence <code class="option">-v</code> option and asking <span><strong class="command">host</strong></span> to make
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein a query of type ANY.
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein </p>
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein<p>
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein When the <code class="option">-C</code> option is used, <span><strong class="command">host</strong></span>
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence will attempt to display the SOA records for zone
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence <em class="parameter"><code>name</code></em> from all the listed
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence authoritative name
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence servers for that zone. The list of name servers is defined by the NS
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence records that are found for the zone.
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence </p>
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein<p>
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence The <code class="option">-c</code> option instructs to make a DNS query of class
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein <em class="parameter"><code>class</code></em>. This can be used to lookup
0cfbb9285a96f1355e5a3bd458624eaed2f16846Automatic Updater Hesiod or
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein Chaosnet class resource records. The default class is IN (Internet).
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein </p>
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence<p>
d409ceeda41a256e8114423674d844d5f5035ee8Bob Halley Verbose output is generated by <span><strong class="command">host</strong></span> when
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence the
8f804834e2b537da5c8bc81f986143a46147b490Andreas Gustafsson <code class="option">-d</code> or <code class="option">-v</code> option is used. The two
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence options are equivalent. They have been provided for backwards
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence compatibility. In previous versions, the <code class="option">-d</code> option
8f804834e2b537da5c8bc81f986143a46147b490Andreas Gustafsson switched on debugging traces and <code class="option">-v</code> enabled verbose
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence output. Verbose output can also be enabled by setting the
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein <em class="parameter"><code>debug</code></em> option in
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein <code class="filename">/etc/resolv.conf</code>.
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence </p>
8f804834e2b537da5c8bc81f986143a46147b490Andreas Gustafsson<p>
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence List mode is selected by the <code class="option">-l</code> option. This makes
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence <span><strong class="command">host</strong></span> perform a zone transfer for zone
8f804834e2b537da5c8bc81f986143a46147b490Andreas Gustafsson <em class="parameter"><code>name</code></em>. Transfer the zone printing out
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence the NS, PTR
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein and address records (A/AAAA). If combined with <code class="option">-a</code>
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence all records will be printed.
0cfbb9285a96f1355e5a3bd458624eaed2f16846Automatic Updater </p>
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein<p>
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein The <code class="option">-i</code>
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence option specifies that reverse lookups of IPv6 addresses should
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein use the IP6.INT domain as defined in RFC1886.
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence The default is to use IP6.ARPA.
0cfbb9285a96f1355e5a3bd458624eaed2f16846Automatic Updater </p>
8862388bcb44f634cbfc3e69f11ff4cb76590a4bMark Andrews<p>
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence The <code class="option">-N</code> option sets the number of dots that have to be
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence in <em class="parameter"><code>name</code></em> for it to be considered
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein absolute. The
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein default value is that defined using the ndots statement in
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein <code class="filename">/etc/resolv.conf</code>, or 1 if no ndots
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein statement is
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence present. Names with fewer dots are interpreted as relative names and
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence will be searched for in the domains listed in the <span class="type">search</span>
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence or <span class="type">domain</span> directive in
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence <code class="filename">/etc/resolv.conf</code>.
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence </p>
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence<p>
61e9c1cdbe29683bb2db388e4fc6a6fd59315cefDavid Lawrence The number of UDP retries for a lookup can be changed with the
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein <code class="option">-R</code> option. <em class="parameter"><code>number</code></em>
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence indicates
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence how many times <span><strong class="command">host</strong></span> will repeat a query
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein that does
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence not get answered. If
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence <em class="parameter"><code>number</code></em> is negative or zero, the
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence number of
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence retries will default to 1. The default value is 1, or
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence the value of the <em class="parameter"><code>attempts</code></em> option in
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence <code class="filename">/etc/resolv.conf</code>, if set.
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence </p>
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence<p>
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein Non-recursive queries can be made via the <code class="option">-r</code> option.
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein Setting this option clears the <span class="type">RD</span> &#8212; recursion
1a487fb7d230403bf1b5d6628542134f52c80653Michael Graff desired &#8212; bit in the query which <span><strong class="command">host</strong></span> makes.
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence This should mean that the name server receiving the query will not
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence attempt to resolve <em class="parameter"><code>name</code></em>. The
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence <code class="option">-r</code> option enables <span><strong class="command">host</strong></span>
1a487fb7d230403bf1b5d6628542134f52c80653Michael Graff to mimic
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence the behavior of a name server by making non-recursive queries and
c4958494a98a59ce25e9fecad76a9ab0e36cc59fDanny Mayer expecting to receive answers to those queries that are usually
c4958494a98a59ce25e9fecad76a9ab0e36cc59fDanny Mayer referrals to other name servers.
c4958494a98a59ce25e9fecad76a9ab0e36cc59fDanny Mayer </p>
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein<p>
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence By default, <span><strong class="command">host</strong></span> uses UDP when making
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein queries. The
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein <code class="option">-T</code> option makes it use a TCP connection when querying
1a487fb7d230403bf1b5d6628542134f52c80653Michael Graff the name server. TCP will be automatically selected for queries that
1a487fb7d230403bf1b5d6628542134f52c80653Michael Graff require it, such as zone transfer (AXFR) requests.
1a487fb7d230403bf1b5d6628542134f52c80653Michael Graff </p>
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence<p>
5fe5a0c02634eaadfcbc3528bf2c184557110a3bAndreas Gustafsson The <code class="option">-4</code> option forces <span><strong class="command">host</strong></span> to only
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein use IPv4 query transport. The <code class="option">-6</code> option forces
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence <span><strong class="command">host</strong></span> to only use IPv6 query transport.
1a487fb7d230403bf1b5d6628542134f52c80653Michael Graff </p>
df0f58959ed82a2a43ca8d816ce9592541df9f2fMark Andrews<p>
ecf7a1812527d5557564b71363dabec491980246Mark Andrews The <code class="option">-t</code> option is used to select the query type.
88f7da46901f5d1218e354768674e72e9190d05aMichael Graff <em class="parameter"><code>type</code></em> can be any recognized query
1a487fb7d230403bf1b5d6628542134f52c80653Michael Graff type: CNAME,
b161f87be81548d1b6d0210a7e138a08fbb2d3e5David Lawrence NS, SOA, SIG, KEY, AXFR, etc. When no query type is specified,
b161f87be81548d1b6d0210a7e138a08fbb2d3e5David Lawrence <span><strong class="command">host</strong></span> automatically selects an appropriate
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence query
edcd1247ad7e81bb8b430e610d9718f64c70f05dDavid Lawrence type. By default, it looks for A, AAAA, and MX records, but if the
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein <code class="option">-C</code> option was given, queries will be made for SOA
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence records, and if <em class="parameter"><code>name</code></em> is a
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence dotted-decimal IPv4
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence address or colon-delimited IPv6 address, <span><strong class="command">host</strong></span> will
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein query for PTR records. If a query type of IXFR is chosen the starting
863ac191b448a13ae1a3a8ee3458344e11602737David Lawrence serial number can be specified by appending an equal followed by the
863ac191b448a13ae1a3a8ee3458344e11602737David Lawrence starting serial number (e.g. -t IXFR=12345678).
863ac191b448a13ae1a3a8ee3458344e11602737David Lawrence </p>
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein<p>
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein The time to wait for a reply can be controlled through the
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein <code class="option">-W</code> and <code class="option">-w</code> options. The
863ac191b448a13ae1a3a8ee3458344e11602737David Lawrence <code class="option">-W</code> option makes <span><strong class="command">host</strong></span>
863ac191b448a13ae1a3a8ee3458344e11602737David Lawrence wait for
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein <em class="parameter"><code>wait</code></em> seconds. If <em class="parameter"><code>wait</code></em>
863ac191b448a13ae1a3a8ee3458344e11602737David Lawrence is less than one, the wait interval is set to one second. When the
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein <code class="option">-w</code> option is used, <span><strong class="command">host</strong></span>
1b106e224d3931e85d68c091fe1ec7758d9f07cbAndreas Gustafsson will
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein effectively wait forever for a reply. The time to wait for a response
863ac191b448a13ae1a3a8ee3458344e11602737David Lawrence will be set to the number of seconds given by the hardware's maximum
863ac191b448a13ae1a3a8ee3458344e11602737David Lawrence value for an integer quantity. By default, <span><strong class="command">host</strong></span>
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein will wait for 5 seconds for UDP responses and 10 seconds for TCP
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein connections. These defaults can be overridden by the
863ac191b448a13ae1a3a8ee3458344e11602737David Lawrence <em class="parameter"><code>timeout</code></em> option in
863ac191b448a13ae1a3a8ee3458344e11602737David Lawrence <code class="filename">/etc/resolv.conf</code>.
863ac191b448a13ae1a3a8ee3458344e11602737David Lawrence </p>
863ac191b448a13ae1a3a8ee3458344e11602737David Lawrence<p>
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein The <code class="option">-s</code> option tells <span><strong class="command">host</strong></span>
863ac191b448a13ae1a3a8ee3458344e11602737David Lawrence <span class="emphasis"><em>not</em></span> to send the query to the next nameserver
863ac191b448a13ae1a3a8ee3458344e11602737David Lawrence if any server responds with a SERVFAIL response, which is the
863ac191b448a13ae1a3a8ee3458344e11602737David Lawrence reverse of normal stub resolver behavior.
863ac191b448a13ae1a3a8ee3458344e11602737David Lawrence </p>
863ac191b448a13ae1a3a8ee3458344e11602737David Lawrence<p>
863ac191b448a13ae1a3a8ee3458344e11602737David Lawrence The <code class="option">-m</code> can be used to set the memory usage debugging
863ac191b448a13ae1a3a8ee3458344e11602737David Lawrence flags
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein <em class="parameter"><code>record</code></em>, <em class="parameter"><code>usage</code></em> and
863ac191b448a13ae1a3a8ee3458344e11602737David Lawrence <em class="parameter"><code>trace</code></em>.
863ac191b448a13ae1a3a8ee3458344e11602737David Lawrence </p>
863ac191b448a13ae1a3a8ee3458344e11602737David Lawrence<p>
863ac191b448a13ae1a3a8ee3458344e11602737David Lawrence The <code class="option">-V</code> option causes <span><strong class="command">host</strong></span>
863ac191b448a13ae1a3a8ee3458344e11602737David Lawrence to print the version number and exit.
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein </p>
863ac191b448a13ae1a3a8ee3458344e11602737David Lawrence</div>
863ac191b448a13ae1a3a8ee3458344e11602737David Lawrence<div class="refsect1" lang="en">
863ac191b448a13ae1a3a8ee3458344e11602737David Lawrence<a name="id2619257"></a><h2>IDN SUPPORT</h2>
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein<p>
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein If <span><strong class="command">host</strong></span> has been built with IDN (internationalized
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence domain name) support, it can accept and display non-ASCII domain names.
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein <span><strong class="command">host</strong></span> appropriately converts character encoding of
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence domain name before sending a request to DNS server or displaying a
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein reply from the server.
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence If you'd like to turn off the IDN support for some reason, defines
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein the <code class="envar">IDN_DISABLE</code> environment variable.
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence The IDN support is disabled if the variable is set when
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence <span><strong class="command">host</strong></span> runs.
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein </p>
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence</div>
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence<div class="refsect1" lang="en">
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein<a name="id2619286"></a><h2>FILES</h2>
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein<p><code class="filename">/etc/resolv.conf</code>
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence </p>
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence</div>
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein<div class="refsect1" lang="en">
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence<a name="id2619300"></a><h2>SEE ALSO</h2>
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein<p><span class="citerefentry"><span class="refentrytitle">dig</span>(1)</span>,
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence <span class="citerefentry"><span class="refentrytitle">named</span>(8)</span>.
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence </p>
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein</div>
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein</div>
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence<div class="navfooter">
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence<hr>
edcd1247ad7e81bb8b430e610d9718f64c70f05dDavid Lawrence<table width="100%" summary="Navigation footer">
edcd1247ad7e81bb8b430e610d9718f64c70f05dDavid Lawrence<tr>
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein<td width="40%" align="left">
863ac191b448a13ae1a3a8ee3458344e11602737David Lawrence<a accesskey="p" href="man.dig.html">Prev</a>�</td>
863ac191b448a13ae1a3a8ee3458344e11602737David Lawrence<td width="20%" align="center"><a accesskey="u" href="Bv9ARM.ch13.html">Up</a></td>
863ac191b448a13ae1a3a8ee3458344e11602737David Lawrence<td width="40%" align="right">�<a accesskey="n" href="man.delv.html">Next</a>
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein</td>
863ac191b448a13ae1a3a8ee3458344e11602737David Lawrence</tr>
863ac191b448a13ae1a3a8ee3458344e11602737David Lawrence<tr>
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein<td width="40%" align="left" valign="top">dig�</td>
863ac191b448a13ae1a3a8ee3458344e11602737David Lawrence<td width="20%" align="center"><a accesskey="h" href="Bv9ARM.html">Home</a></td>
863ac191b448a13ae1a3a8ee3458344e11602737David Lawrence<td width="40%" align="right" valign="top">�delv</td>
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein</tr>
863ac191b448a13ae1a3a8ee3458344e11602737David Lawrence</table>
edcd1247ad7e81bb8b430e610d9718f64c70f05dDavid Lawrence</div>
edcd1247ad7e81bb8b430e610d9718f64c70f05dDavid Lawrence<p style="text-align: center;">BIND 9.11.0pre-alpha</p>
edcd1247ad7e81bb8b430e610d9718f64c70f05dDavid Lawrence</body>
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein</html>
863ac191b448a13ae1a3a8ee3458344e11602737David Lawrence