man.host.html revision d06befed22ab48ac514e097b726e07122e3647fb
48c0c81cd6fabac9d3386406d97633780365b839coar<!--
a32ddb6cabb635ca29ccff87f8bf5c6af3b78ecfstoddard - Copyright (C) 2004-2015 Internet Systems Consortium, Inc. ("ISC")
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj - Copyright (C) 2000-2003 Internet Software Consortium.
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj -
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj - Permission to use, copy, modify, and/or distribute this software for any
9a93784d34c322d1996e8a7b794a75230eac81a4wrowe - purpose with or without fee is hereby granted, provided that the above
9a93784d34c322d1996e8a7b794a75230eac81a4wrowe - copyright notice and this permission notice appear in all copies.
4bc630d510cef730e37b9207e145267f473b4471striker -
a096f8d13bee05fd6ea8b9b50b6c2e818eace7d1striker - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
dba571e5c5a2586c7e2b382789f3250136ff7577jwoolley - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
dba571e5c5a2586c7e2b382789f3250136ff7577jwoolley - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
bf3d1782a29630335a1df535eb395355ab1cd154jwoolley - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
07847078a10fe4e9229cc08adda5f421cafc0665jwoolley - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
0bd0176ce9f4321eeb506aa372d0bcc84befbf4cstriker - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
d8028365066fca602bf35d014530a1802114378crbb - PERFORMANCE OF THIS SOFTWARE.
c25203fdca093d4504c51b4cd974ff60d5aa4fb1wrowe-->
c25203fdca093d4504c51b4cd974ff60d5aa4fb1wrowe<!-- $Id$ -->
c25203fdca093d4504c51b4cd974ff60d5aa4fb1wrowe<html>
d89c116f82699294ca744125723651c554bc5925wrowe<head>
4214e98fc9045e5010e66f9a967bd6d68f40d342aaron<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
8721697e2aece27b0e738519329f7976c72b27bfjerenkrantz<title>host</title>
c25203fdca093d4504c51b4cd974ff60d5aa4fb1wrowe<meta name="generator" content="DocBook XSL Stylesheets V1.71.1">
91cacb801f6c0215b38322f6d2fc58cbfedfecfbjerenkrantz<link rel="start" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual">
91cacb801f6c0215b38322f6d2fc58cbfedfecfbjerenkrantz<link rel="up" href="Bv9ARM.ch13.html" title="Manual pages">
df14f0d3a5191cdd7c4bb5b03acd135d43a6f51brbb<link rel="prev" href="man.dig.html" title="dig">
df14f0d3a5191cdd7c4bb5b03acd135d43a6f51brbb<link rel="next" href="man.delv.html" title="delv">
ab71b233b3a36489e44a7b061c48293be0b17788jwoolley</head>
571760de5e60c0b459cb11be45507b923cd023eejwoolley<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
571760de5e60c0b459cb11be45507b923cd023eejwoolley<div class="navheader">
9180a5933673ffb1af633c255ceee029340f3b1erbb<table width="100%" summary="Navigation header">
bcb6e1be6041dfeb549c8ea8d37f97ad4e90a0c3rbb<tr><th colspan="3" align="center">host</th></tr>
9bd71e35f5d26d26d23fe3a677401828e842ed72wrowe<tr>
2900ab946a2d76b73a14cebfe2985d253f01c967stoddard<td width="20%" align="left">
a548c09e6a8ca1b059d0e93b5256c6ccb2b3c3cdrbb<a accesskey="p" href="man.dig.html">Prev</a>�</td>
a548c09e6a8ca1b059d0e93b5256c6ccb2b3c3cdrbb<th width="60%" align="center">Manual pages</th>
a548c09e6a8ca1b059d0e93b5256c6ccb2b3c3cdrbb<td width="20%" align="right">�<a accesskey="n" href="man.delv.html">Next</a>
b876b7bcf0ce3d232da723246d709e8dbbfe8762rbb</td>
cf6bf6c34c936e6a6fe731dbce4a5c3c8bf8e9a3gstein</tr>
35330e0d79ceb8027223bbb8330a381b1f989d6etrawick</table>
6f6f4a4bca281779d196acbdd5c017bb90858305trawick<hr>
8dd4618c4709236b4ea297d7250d282e463ce2d8rbb</div>
09bd86d0db1114ee23eda0a6eb76ca055877a1cftrawick<div class="refentry" lang="en">
2deb319e6b3de239f45c16a3e9e836d44f1f7108rbb<a name="man.host"></a><div class="titlepage"></div>
bd929c73ef04789b7183b840d8db6e01d03a4d86rbb<div class="refnamediv">
70f6f32765cfaadd6da8de6f0fea97ddd72d8fadmanoj<h2>Name</h2>
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj<p>host &#8212; DNS lookup utility</p>
af4c982a7cf4515f124935f99a329744035fc699slive</div>
af4c982a7cf4515f124935f99a329744035fc699slive<div class="refsynopsisdiv">
af4c982a7cf4515f124935f99a329744035fc699slive<h2>Synopsis</h2>
af4c982a7cf4515f124935f99a329744035fc699slive<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>
af4c982a7cf4515f124935f99a329744035fc699slive</div>
af4c982a7cf4515f124935f99a329744035fc699slive<div class="refsect1" lang="en">
af4c982a7cf4515f124935f99a329744035fc699slive<a name="id2616135"></a><h2>DESCRIPTION</h2>
f610c7c704235bc327dbe9b62982f5b3f8e30a77wrowe<p><span><strong class="command">host</strong></span>
f610c7c704235bc327dbe9b62982f5b3f8e30a77wrowe is a simple utility for performing DNS lookups.
f610c7c704235bc327dbe9b62982f5b3f8e30a77wrowe It is normally used to convert names to IP addresses and vice versa.
f610c7c704235bc327dbe9b62982f5b3f8e30a77wrowe When no arguments or options are given,
10270f6f94b2069d0d357805c140a9897449b9ccianh <span><strong class="command">host</strong></span>
4b62424416882687387923b3130b96241503cbe0jerenkrantz prints a short summary of its command line arguments and options.
5ca8e11fadb6f7a8d9d0367c1800205c99d4bcd6jerenkrantz </p>
5ca8e11fadb6f7a8d9d0367c1800205c99d4bcd6jerenkrantz<p><em class="parameter"><code>name</code></em> is the domain name that is to be
45b0e1c775c1cfed6473c9e5304179ccb9609f53stoddard looked
dbec4658981e4f9127e8676457c28d42932be7cdtrawick up. It can also be a dotted-decimal IPv4 address or a colon-delimited
1b7e9aeb9867a1c94e24e8ae491d2dfcd0d225e3jerenkrantz IPv6 address, in which case <span><strong class="command">host</strong></span> will by
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz default
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz perform a reverse lookup for that address.
f95a0b59eb24c631f15bd83e20c6cf823c432d83trawick <em class="parameter"><code>server</code></em> is an optional argument which
f95a0b59eb24c631f15bd83e20c6cf823c432d83trawick is either
f95a0b59eb24c631f15bd83e20c6cf823c432d83trawick the name or IP address of the name server that <span><strong class="command">host</strong></span>
f95a0b59eb24c631f15bd83e20c6cf823c432d83trawick should query instead of the server or servers listed in
ae72c92fd41562d7c0e8627c093fcbbae4ac9ef2coar <code class="filename">/etc/resolv.conf</code>.
f95a0b59eb24c631f15bd83e20c6cf823c432d83trawick </p>
f95a0b59eb24c631f15bd83e20c6cf823c432d83trawick<p>
418f39e60a288f855ec033b566744489c3bbbf39trawick The <code class="option">-a</code> (all) option is equivalent to setting the
cc22a72861c58dda7f3768613aec864e4c4e0353striker <code class="option">-v</code> option and asking <span><strong class="command">host</strong></span> to make
f95a0b59eb24c631f15bd83e20c6cf823c432d83trawick a query of type ANY.
ddafc111b94558ef4e2d7357ceda623315566ce3slive </p>
ddafc111b94558ef4e2d7357ceda623315566ce3slive<p>
ae72c92fd41562d7c0e8627c093fcbbae4ac9ef2coar When the <code class="option">-C</code> option is used, <span><strong class="command">host</strong></span>
ddafc111b94558ef4e2d7357ceda623315566ce3slive will attempt to display the SOA records for zone
93f189f1198f539d3cfa75a15b23dcde60ee35ffrbb <em class="parameter"><code>name</code></em> from all the listed
93f189f1198f539d3cfa75a15b23dcde60ee35ffrbb authoritative name
b3b4e853e4958357ee2d50e2fe41effecfde9eedwrowe servers for that zone. The list of name servers is defined by the NS
a4d9e6fdcd5d2ddd93a896b42a1d607ed258c316ianh records that are found for the zone.
a4d9e6fdcd5d2ddd93a896b42a1d607ed258c316ianh </p>
ae72c92fd41562d7c0e8627c093fcbbae4ac9ef2coar<p>
93f189f1198f539d3cfa75a15b23dcde60ee35ffrbb The <code class="option">-c</code> option instructs to make a DNS query of class
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz <em class="parameter"><code>class</code></em>. This can be used to lookup
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz Hesiod or
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz Chaosnet class resource records. The default class is IN (Internet).
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz </p>
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz<p>
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz Verbose output is generated by <span><strong class="command">host</strong></span> when
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz the
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz <code class="option">-d</code> or <code class="option">-v</code> option is used. The two
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz options are equivalent. They have been provided for backwards
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz compatibility. In previous versions, the <code class="option">-d</code> option
2fb49a1d25f38421a68d31b4cbb5d9293fdeafbewrowe switched on debugging traces and <code class="option">-v</code> enabled verbose
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz output. Verbose output can also be enabled by setting the
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz <em class="parameter"><code>debug</code></em> option in
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz <code class="filename">/etc/resolv.conf</code>.
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz </p>
cc22a72861c58dda7f3768613aec864e4c4e0353striker<p>
1af5c0e25a649bb298e25ddfa5418fa18bdcb107aaron List mode is selected by the <code class="option">-l</code> option. This makes
82455c2e3b6991846fbcbf0c9e41f57dbc681217brianp <span><strong class="command">host</strong></span> perform a zone transfer for zone
82455c2e3b6991846fbcbf0c9e41f57dbc681217brianp <em class="parameter"><code>name</code></em>. Transfer the zone printing out
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz the NS, PTR
1b3f48fd6b1ccb8745f908e40156c5a85ca3c347jerenkrantz and address records (A/AAAA). If combined with <code class="option">-a</code>
b05930e6008f69bd323abe0c10f81f40ffd27983brianp all records will be printed.
f610c7c704235bc327dbe9b62982f5b3f8e30a77wrowe </p>
f610c7c704235bc327dbe9b62982f5b3f8e30a77wrowe<p>
f610c7c704235bc327dbe9b62982f5b3f8e30a77wrowe The <code class="option">-i</code>
f610c7c704235bc327dbe9b62982f5b3f8e30a77wrowe option specifies that reverse lookups of IPv6 addresses should
f610c7c704235bc327dbe9b62982f5b3f8e30a77wrowe use the IP6.INT domain as defined in RFC1886.
b3b4e853e4958357ee2d50e2fe41effecfde9eedwrowe The default is to use IP6.ARPA.
f610c7c704235bc327dbe9b62982f5b3f8e30a77wrowe </p>
f610c7c704235bc327dbe9b62982f5b3f8e30a77wrowe<p>
f610c7c704235bc327dbe9b62982f5b3f8e30a77wrowe The <code class="option">-N</code> option sets the number of dots that have to be
f610c7c704235bc327dbe9b62982f5b3f8e30a77wrowe in <em class="parameter"><code>name</code></em> for it to be considered
f610c7c704235bc327dbe9b62982f5b3f8e30a77wrowe absolute. The
f610c7c704235bc327dbe9b62982f5b3f8e30a77wrowe default value is that defined using the ndots statement in
6362fd5c48f6b2193f5d356a9747172101b24e91jerenkrantz <code class="filename">/etc/resolv.conf</code>, or 1 if no ndots
f610c7c704235bc327dbe9b62982f5b3f8e30a77wrowe statement is
f610c7c704235bc327dbe9b62982f5b3f8e30a77wrowe present. Names with fewer dots are interpreted as relative names and
f610c7c704235bc327dbe9b62982f5b3f8e30a77wrowe will be searched for in the domains listed in the <span class="type">search</span>
f610c7c704235bc327dbe9b62982f5b3f8e30a77wrowe or <span class="type">domain</span> directive in
f610c7c704235bc327dbe9b62982f5b3f8e30a77wrowe <code class="filename">/etc/resolv.conf</code>.
f610c7c704235bc327dbe9b62982f5b3f8e30a77wrowe </p>
f610c7c704235bc327dbe9b62982f5b3f8e30a77wrowe<p>
630f5fc1277582643fe0f831a4830e15127bd047jwoolley The number of UDP retries for a lookup can be changed with the
630f5fc1277582643fe0f831a4830e15127bd047jwoolley <code class="option">-R</code> option. <em class="parameter"><code>number</code></em>
630f5fc1277582643fe0f831a4830e15127bd047jwoolley indicates
f610c7c704235bc327dbe9b62982f5b3f8e30a77wrowe how many times <span><strong class="command">host</strong></span> will repeat a query
f610c7c704235bc327dbe9b62982f5b3f8e30a77wrowe that does
f610c7c704235bc327dbe9b62982f5b3f8e30a77wrowe not get answered. If
f610c7c704235bc327dbe9b62982f5b3f8e30a77wrowe <em class="parameter"><code>number</code></em> is negative or zero, the
56b2562cb4041a21bc313fde3204beabdb758800jwoolley number of
56b2562cb4041a21bc313fde3204beabdb758800jwoolley retries will default to 1. The default value is 1, or
56b2562cb4041a21bc313fde3204beabdb758800jwoolley the value of the <em class="parameter"><code>attempts</code></em> option in
56b2562cb4041a21bc313fde3204beabdb758800jwoolley <code class="filename">/etc/resolv.conf</code>, if set.
56b2562cb4041a21bc313fde3204beabdb758800jwoolley </p>
56b2562cb4041a21bc313fde3204beabdb758800jwoolley<p>
56b2562cb4041a21bc313fde3204beabdb758800jwoolley Non-recursive queries can be made via the <code class="option">-r</code> option.
f881b8be216de36c6b964324c772450bca38a4e6trawick Setting this option clears the <span class="type">RD</span> &#8212; recursion
f881b8be216de36c6b964324c772450bca38a4e6trawick desired &#8212; bit in the query which <span><strong class="command">host</strong></span> makes.
f881b8be216de36c6b964324c772450bca38a4e6trawick This should mean that the name server receiving the query will not
f881b8be216de36c6b964324c772450bca38a4e6trawick attempt to resolve <em class="parameter"><code>name</code></em>. The
f881b8be216de36c6b964324c772450bca38a4e6trawick <code class="option">-r</code> option enables <span><strong class="command">host</strong></span>
f881b8be216de36c6b964324c772450bca38a4e6trawick to mimic
56b2562cb4041a21bc313fde3204beabdb758800jwoolley the behavior of a name server by making non-recursive queries and
b05930e6008f69bd323abe0c10f81f40ffd27983brianp expecting to receive answers to those queries that are usually
b05930e6008f69bd323abe0c10f81f40ffd27983brianp referrals to other name servers.
b05930e6008f69bd323abe0c10f81f40ffd27983brianp </p>
b05930e6008f69bd323abe0c10f81f40ffd27983brianp<p>
b05930e6008f69bd323abe0c10f81f40ffd27983brianp By default, <span><strong class="command">host</strong></span> uses UDP when making
4c7dab038d90d7feb67ef8ddbfacc77be8c9dbf0jwoolley queries. The
4c7dab038d90d7feb67ef8ddbfacc77be8c9dbf0jwoolley <code class="option">-T</code> option makes it use a TCP connection when querying
4c7dab038d90d7feb67ef8ddbfacc77be8c9dbf0jwoolley the name server. TCP will be automatically selected for queries that
4c7dab038d90d7feb67ef8ddbfacc77be8c9dbf0jwoolley require it, such as zone transfer (AXFR) requests.
bb2a72a6e2327ae4f177c9d26e9d433033cfc27eaaron </p>
8c8fbb8546af54582539898be704411a60058d85trawick<p>
8c8fbb8546af54582539898be704411a60058d85trawick The <code class="option">-4</code> option forces <span><strong class="command">host</strong></span> to only
8c8fbb8546af54582539898be704411a60058d85trawick use IPv4 query transport. The <code class="option">-6</code> option forces
f9b8e29cfca92cf0a996e8ab17fa1a1f447cecc7stoddard <span><strong class="command">host</strong></span> to only use IPv6 query transport.
f9b8e29cfca92cf0a996e8ab17fa1a1f447cecc7stoddard </p>
f9b8e29cfca92cf0a996e8ab17fa1a1f447cecc7stoddard<p>
a23b1c5a74208b03884c09a6f9dd5d6c97fa6415trawick The <code class="option">-t</code> option is used to select the query type.
2fb49a1d25f38421a68d31b4cbb5d9293fdeafbewrowe <em class="parameter"><code>type</code></em> can be any recognized query
2fb49a1d25f38421a68d31b4cbb5d9293fdeafbewrowe type: CNAME,
2fb49a1d25f38421a68d31b4cbb5d9293fdeafbewrowe NS, SOA, SIG, KEY, AXFR, etc. When no query type is specified,
2fb49a1d25f38421a68d31b4cbb5d9293fdeafbewrowe <span><strong class="command">host</strong></span> automatically selects an appropriate
2fb49a1d25f38421a68d31b4cbb5d9293fdeafbewrowe query
2fb49a1d25f38421a68d31b4cbb5d9293fdeafbewrowe type. By default, it looks for A, AAAA, and MX records, but if the
2fb49a1d25f38421a68d31b4cbb5d9293fdeafbewrowe <code class="option">-C</code> option was given, queries will be made for SOA
2fb49a1d25f38421a68d31b4cbb5d9293fdeafbewrowe records, and if <em class="parameter"><code>name</code></em> is a
2fb49a1d25f38421a68d31b4cbb5d9293fdeafbewrowe dotted-decimal IPv4
2fb49a1d25f38421a68d31b4cbb5d9293fdeafbewrowe address or colon-delimited IPv6 address, <span><strong class="command">host</strong></span> will
2fb49a1d25f38421a68d31b4cbb5d9293fdeafbewrowe query for PTR records. If a query type of IXFR is chosen the starting
2fb49a1d25f38421a68d31b4cbb5d9293fdeafbewrowe serial number can be specified by appending an equal followed by the
2fb49a1d25f38421a68d31b4cbb5d9293fdeafbewrowe starting serial number (e.g. -t IXFR=12345678).
2fb49a1d25f38421a68d31b4cbb5d9293fdeafbewrowe </p>
2fb49a1d25f38421a68d31b4cbb5d9293fdeafbewrowe<p>
2fb49a1d25f38421a68d31b4cbb5d9293fdeafbewrowe The time to wait for a reply can be controlled through the
2fb49a1d25f38421a68d31b4cbb5d9293fdeafbewrowe <code class="option">-W</code> and <code class="option">-w</code> options. The
2fb49a1d25f38421a68d31b4cbb5d9293fdeafbewrowe <code class="option">-W</code> option makes <span><strong class="command">host</strong></span>
2fb49a1d25f38421a68d31b4cbb5d9293fdeafbewrowe wait for
2fb49a1d25f38421a68d31b4cbb5d9293fdeafbewrowe <em class="parameter"><code>wait</code></em> seconds. If <em class="parameter"><code>wait</code></em>
2fb49a1d25f38421a68d31b4cbb5d9293fdeafbewrowe is less than one, the wait interval is set to one second. When the
f610c7c704235bc327dbe9b62982f5b3f8e30a77wrowe <code class="option">-w</code> option is used, <span><strong class="command">host</strong></span>
2fb49a1d25f38421a68d31b4cbb5d9293fdeafbewrowe will
638a9edaf48cf003cd40ac25ee8c25f572107414stoddard effectively wait forever for a reply. The time to wait for a response
638a9edaf48cf003cd40ac25ee8c25f572107414stoddard will be set to the number of seconds given by the hardware's maximum
638a9edaf48cf003cd40ac25ee8c25f572107414stoddard value for an integer quantity. By default, <span><strong class="command">host</strong></span>
db2d668e6233d8949b35ee7f9f42f444758f9ce9rbb will wait for 5 seconds for UDP responses and 10 seconds for TCP
db2d668e6233d8949b35ee7f9f42f444758f9ce9rbb connections. These defaults can be overridden by the
db2d668e6233d8949b35ee7f9f42f444758f9ce9rbb <em class="parameter"><code>timeout</code></em> option in
db2d668e6233d8949b35ee7f9f42f444758f9ce9rbb <code class="filename">/etc/resolv.conf</code>.
db2d668e6233d8949b35ee7f9f42f444758f9ce9rbb </p>
db2d668e6233d8949b35ee7f9f42f444758f9ce9rbb<p>
db2d668e6233d8949b35ee7f9f42f444758f9ce9rbb The <code class="option">-s</code> option tells <span><strong class="command">host</strong></span>
1ea5221b240a8b41a07c6fb04aab5a73adcddabfaaron <span class="emphasis"><em>not</em></span> to send the query to the next nameserver
1ea5221b240a8b41a07c6fb04aab5a73adcddabfaaron if any server responds with a SERVFAIL response, which is the
1ea5221b240a8b41a07c6fb04aab5a73adcddabfaaron reverse of normal stub resolver behavior.
1ea5221b240a8b41a07c6fb04aab5a73adcddabfaaron </p>
a12f07383f9c286519fe88f559187148d5bd1c16aaron<p>
1ea5221b240a8b41a07c6fb04aab5a73adcddabfaaron The <code class="option">-m</code> can be used to set the memory usage debugging
1ea5221b240a8b41a07c6fb04aab5a73adcddabfaaron flags
5d12baef135b5d3cb94745e007a1575398469724jerenkrantz <em class="parameter"><code>record</code></em>, <em class="parameter"><code>usage</code></em> and
5d12baef135b5d3cb94745e007a1575398469724jerenkrantz <em class="parameter"><code>trace</code></em>.
5d12baef135b5d3cb94745e007a1575398469724jerenkrantz </p>
5d12baef135b5d3cb94745e007a1575398469724jerenkrantz<p>
5d12baef135b5d3cb94745e007a1575398469724jerenkrantz The <code class="option">-V</code> option causes <span><strong class="command">host</strong></span>
5d12baef135b5d3cb94745e007a1575398469724jerenkrantz to print the version number and exit.
5d12baef135b5d3cb94745e007a1575398469724jerenkrantz </p>
f610c7c704235bc327dbe9b62982f5b3f8e30a77wrowe</div>
5d12baef135b5d3cb94745e007a1575398469724jerenkrantz<div class="refsect1" lang="en">
b865daaa4ef731a7066ee6d97e2aae36c7743939jerenkrantz<a name="id2617176"></a><h2>IDN SUPPORT</h2>
b865daaa4ef731a7066ee6d97e2aae36c7743939jerenkrantz<p>
b865daaa4ef731a7066ee6d97e2aae36c7743939jerenkrantz If <span><strong class="command">host</strong></span> has been built with IDN (internationalized
f881b8be216de36c6b964324c772450bca38a4e6trawick domain name) support, it can accept and display non-ASCII domain names.
f881b8be216de36c6b964324c772450bca38a4e6trawick <span><strong class="command">host</strong></span> appropriately converts character encoding of
f881b8be216de36c6b964324c772450bca38a4e6trawick domain name before sending a request to DNS server or displaying a
dc098c7ce5d36179c504d09fc722d190683d0262aaron reply from the server.
dc098c7ce5d36179c504d09fc722d190683d0262aaron If you'd like to turn off the IDN support for some reason, defines
dc098c7ce5d36179c504d09fc722d190683d0262aaron the <code class="envar">IDN_DISABLE</code> environment variable.
dc098c7ce5d36179c504d09fc722d190683d0262aaron The IDN support is disabled if the variable is set when
dc098c7ce5d36179c504d09fc722d190683d0262aaron <span><strong class="command">host</strong></span> runs.
f610c7c704235bc327dbe9b62982f5b3f8e30a77wrowe </p>
dc098c7ce5d36179c504d09fc722d190683d0262aaron</div>
0bcb1fe39dfaacf9745b6633f5cc9ebc8e2596caaaron<div class="refsect1" lang="en">
0bcb1fe39dfaacf9745b6633f5cc9ebc8e2596caaaron<a name="id2617205"></a><h2>FILES</h2>
0bcb1fe39dfaacf9745b6633f5cc9ebc8e2596caaaron<p><code class="filename">/etc/resolv.conf</code>
0bcb1fe39dfaacf9745b6633f5cc9ebc8e2596caaaron </p>
0bcb1fe39dfaacf9745b6633f5cc9ebc8e2596caaaron</div>
0bcb1fe39dfaacf9745b6633f5cc9ebc8e2596caaaron<div class="refsect1" lang="en">
33f5961d34a8b5390cebad0543b3ebe67830e5d7jerenkrantz<a name="id2618994"></a><h2>SEE ALSO</h2>
33f5961d34a8b5390cebad0543b3ebe67830e5d7jerenkrantz<p><span class="citerefentry"><span class="refentrytitle">dig</span>(1)</span>,
33f5961d34a8b5390cebad0543b3ebe67830e5d7jerenkrantz <span class="citerefentry"><span class="refentrytitle">named</span>(8)</span>.
33f5961d34a8b5390cebad0543b3ebe67830e5d7jerenkrantz </p>
33f5961d34a8b5390cebad0543b3ebe67830e5d7jerenkrantz</div>
33f5961d34a8b5390cebad0543b3ebe67830e5d7jerenkrantz</div>
ff42f83cbf31893bcde9712332a8e5ee970f6a74trawick<div class="navfooter">
ff42f83cbf31893bcde9712332a8e5ee970f6a74trawick<hr>
ff42f83cbf31893bcde9712332a8e5ee970f6a74trawick<table width="100%" summary="Navigation footer">
33f5961d34a8b5390cebad0543b3ebe67830e5d7jerenkrantz<tr>
54e1babd5a5a56c576eeeace54110150769cc916coar<td width="40%" align="left">
54e1babd5a5a56c576eeeace54110150769cc916coar<a accesskey="p" href="man.dig.html">Prev</a>�</td>
54e1babd5a5a56c576eeeace54110150769cc916coar<td width="20%" align="center"><a accesskey="u" href="Bv9ARM.ch13.html">Up</a></td>
54e1babd5a5a56c576eeeace54110150769cc916coar<td width="40%" align="right">�<a accesskey="n" href="man.delv.html">Next</a>
54e1babd5a5a56c576eeeace54110150769cc916coar</td>
54e1babd5a5a56c576eeeace54110150769cc916coar</tr>
54e1babd5a5a56c576eeeace54110150769cc916coar<tr>
54e1babd5a5a56c576eeeace54110150769cc916coar<td width="40%" align="left" valign="top">dig�</td>
54e1babd5a5a56c576eeeace54110150769cc916coar<td width="20%" align="center"><a accesskey="h" href="Bv9ARM.html">Home</a></td>
54e1babd5a5a56c576eeeace54110150769cc916coar<td width="40%" align="right" valign="top">�delv</td>
54e1babd5a5a56c576eeeace54110150769cc916coar</tr>
54e1babd5a5a56c576eeeace54110150769cc916coar</table>
54e1babd5a5a56c576eeeace54110150769cc916coar</div>
f610c7c704235bc327dbe9b62982f5b3f8e30a77wrowe<p style="text-align: center;">BIND 9.11.0pre-alpha</p>
f610c7c704235bc327dbe9b62982f5b3f8e30a77wrowe</body>
f610c7c704235bc327dbe9b62982f5b3f8e30a77wrowe</html>
f610c7c704235bc327dbe9b62982f5b3f8e30a77wrowe