man.host.html revision 6d382c9fcec316a84a237779fb64bb471b6f9d43
3744900be632496920d4c9aca8f94ba6db4dd882Dirk Hogan - Copyright (C) 2004-2014 Internet Systems Consortium, Inc. ("ISC")
3744900be632496920d4c9aca8f94ba6db4dd882Dirk Hogan - Copyright (C) 2000-2003 Internet Software Consortium.
3744900be632496920d4c9aca8f94ba6db4dd882Dirk Hogan - Permission to use, copy, modify, and/or distribute this software for any
3744900be632496920d4c9aca8f94ba6db4dd882Dirk Hogan - purpose with or without fee is hereby granted, provided that the above
3744900be632496920d4c9aca8f94ba6db4dd882Dirk Hogan - copyright notice and this permission notice appear in all copies.
3744900be632496920d4c9aca8f94ba6db4dd882Dirk Hogan - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
3744900be632496920d4c9aca8f94ba6db4dd882Dirk Hogan - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
3744900be632496920d4c9aca8f94ba6db4dd882Dirk Hogan - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
3744900be632496920d4c9aca8f94ba6db4dd882Dirk Hogan - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
3744900be632496920d4c9aca8f94ba6db4dd882Dirk Hogan - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
3744900be632496920d4c9aca8f94ba6db4dd882Dirk Hogan - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
3744900be632496920d4c9aca8f94ba6db4dd882Dirk Hogan - PERFORMANCE OF THIS SOFTWARE.
3744900be632496920d4c9aca8f94ba6db4dd882Dirk Hogan<!-- $Id$ -->
3744900be632496920d4c9aca8f94ba6db4dd882Dirk Hogan<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
3744900be632496920d4c9aca8f94ba6db4dd882Dirk Hogan<meta name="generator" content="DocBook XSL Stylesheets V1.71.1">
3744900be632496920d4c9aca8f94ba6db4dd882Dirk Hogan<link rel="start" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual">
3744900be632496920d4c9aca8f94ba6db4dd882Dirk Hogan<link rel="up" href="Bv9ARM.ch10.html" title="Manual pages">
45e9f4e13faca91c1a0f87ef805933e155cf3ae6Dirk Hogan<link rel="next" href="man.delve.html" title="delve">
3744900be632496920d4c9aca8f94ba6db4dd882Dirk Hogan<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
2dd75eff92ef66e22cca286b6f4fe5a9c929af9dPhill Cunnington<a accesskey="p" href="man.dig.html">Prev</a>�</td>
3744900be632496920d4c9aca8f94ba6db4dd882Dirk Hogan<td width="20%" align="right">�<a accesskey="n" href="man.delve.html">Next</a>
3744900be632496920d4c9aca8f94ba6db4dd882Dirk Hogan<a name="man.host"></a><div class="titlepage"></div>
3744900be632496920d4c9aca8f94ba6db4dd882Dirk Hogan<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>] {name} [server]</p></div>
3744900be632496920d4c9aca8f94ba6db4dd882Dirk Hogan<p><span><strong class="command">host</strong></span>
45e9f4e13faca91c1a0f87ef805933e155cf3ae6Dirk Hogan is a simple utility for performing DNS lookups.
3744900be632496920d4c9aca8f94ba6db4dd882Dirk Hogan It is normally used to convert names to IP addresses and vice versa.
3744900be632496920d4c9aca8f94ba6db4dd882Dirk Hogan When no arguments or options are given,
3744900be632496920d4c9aca8f94ba6db4dd882Dirk Hogan <span><strong class="command">host</strong></span>
3744900be632496920d4c9aca8f94ba6db4dd882Dirk Hogan prints a short summary of its command line arguments and options.
3744900be632496920d4c9aca8f94ba6db4dd882Dirk Hogan<p><em class="parameter"><code>name</code></em> is the domain name that is to be
3744900be632496920d4c9aca8f94ba6db4dd882Dirk Hogan up. It can also be a dotted-decimal IPv4 address or a colon-delimited
3744900be632496920d4c9aca8f94ba6db4dd882Dirk Hogan IPv6 address, in which case <span><strong class="command">host</strong></span> will by
3744900be632496920d4c9aca8f94ba6db4dd882Dirk Hogan perform a reverse lookup for that address.
3744900be632496920d4c9aca8f94ba6db4dd882Dirk Hogan <em class="parameter"><code>server</code></em> is an optional argument which
3744900be632496920d4c9aca8f94ba6db4dd882Dirk Hogan the name or IP address of the name server that <span><strong class="command">host</strong></span>
3744900be632496920d4c9aca8f94ba6db4dd882Dirk Hogan should query instead of the server or servers listed in
3744900be632496920d4c9aca8f94ba6db4dd882Dirk Hogan The <code class="option">-a</code> (all) option is equivalent to setting the
3744900be632496920d4c9aca8f94ba6db4dd882Dirk Hogan <code class="option">-v</code> option and asking <span><strong class="command">host</strong></span> to make
3744900be632496920d4c9aca8f94ba6db4dd882Dirk Hogan a query of type ANY.
3744900be632496920d4c9aca8f94ba6db4dd882Dirk Hogan When the <code class="option">-C</code> option is used, <span><strong class="command">host</strong></span>
3744900be632496920d4c9aca8f94ba6db4dd882Dirk Hogan will attempt to display the SOA records for zone
3744900be632496920d4c9aca8f94ba6db4dd882Dirk Hogan <em class="parameter"><code>name</code></em> from all the listed
3744900be632496920d4c9aca8f94ba6db4dd882Dirk Hogan authoritative name
3744900be632496920d4c9aca8f94ba6db4dd882Dirk Hogan servers for that zone. The list of name servers is defined by the NS
3744900be632496920d4c9aca8f94ba6db4dd882Dirk Hogan records that are found for the zone.
3744900be632496920d4c9aca8f94ba6db4dd882Dirk Hogan The <code class="option">-c</code> option instructs to make a DNS query of class
3744900be632496920d4c9aca8f94ba6db4dd882Dirk Hogan <em class="parameter"><code>class</code></em>. This can be used to lookup
3744900be632496920d4c9aca8f94ba6db4dd882Dirk Hogan Chaosnet class resource records. The default class is IN (Internet).
3744900be632496920d4c9aca8f94ba6db4dd882Dirk Hogan Verbose output is generated by <span><strong class="command">host</strong></span> when
use the IP6.INT domain as defined in RFC1886.
The default is to use IP6.ARPA.
The <code class="option">-4</code> option forces <span><strong class="command">host</strong></span> to only
starting serial number (e.g. -t IXFR=12345678).