man.host.html revision dba3c818ae00b10388d31703e86a28415db398ac
39a1539c7a7dbee922b543237cc590b13ec78126Danny Mayer - Copyright (C) 2004-2012 Internet Systems Consortium, Inc. ("ISC")
39a1539c7a7dbee922b543237cc590b13ec78126Danny Mayer - Copyright (C) 2000-2003 Internet Software Consortium.
39a1539c7a7dbee922b543237cc590b13ec78126Danny Mayer - Permission to use, copy, modify, and/or distribute this software for any
39a1539c7a7dbee922b543237cc590b13ec78126Danny Mayer - purpose with or without fee is hereby granted, provided that the above
39a1539c7a7dbee922b543237cc590b13ec78126Danny Mayer - copyright notice and this permission notice appear in all copies.
39a1539c7a7dbee922b543237cc590b13ec78126Danny Mayer - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
39a1539c7a7dbee922b543237cc590b13ec78126Danny Mayer - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
39a1539c7a7dbee922b543237cc590b13ec78126Danny Mayer - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
39a1539c7a7dbee922b543237cc590b13ec78126Danny Mayer - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
39a1539c7a7dbee922b543237cc590b13ec78126Danny Mayer - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
39a1539c7a7dbee922b543237cc590b13ec78126Danny Mayer - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
39a1539c7a7dbee922b543237cc590b13ec78126Danny Mayer - PERFORMANCE OF THIS SOFTWARE.
39a1539c7a7dbee922b543237cc590b13ec78126Danny Mayer<!-- $Id$ -->
39a1539c7a7dbee922b543237cc590b13ec78126Danny Mayer<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
39a1539c7a7dbee922b543237cc590b13ec78126Danny Mayer<meta name="generator" content="DocBook XSL Stylesheets V1.71.1">
39a1539c7a7dbee922b543237cc590b13ec78126Danny Mayer<link rel="start" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual">
39a1539c7a7dbee922b543237cc590b13ec78126Danny Mayer<link rel="up" href="Bv9ARM.ch10.html" title="Manual pages">
39a1539c7a7dbee922b543237cc590b13ec78126Danny Mayer<link rel="prev" href="man.dig.html" title="dig">
39a1539c7a7dbee922b543237cc590b13ec78126Danny Mayer<link rel="next" href="man.dnssec-dsfromkey.html" title="dnssec-dsfromkey">
39a1539c7a7dbee922b543237cc590b13ec78126Danny Mayer<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
39a1539c7a7dbee922b543237cc590b13ec78126Danny Mayer<tr><th colspan="3" align="center">host</th></tr>
39a1539c7a7dbee922b543237cc590b13ec78126Danny Mayer<a accesskey="p" href="man.dig.html">Prev</a>�</td>
39a1539c7a7dbee922b543237cc590b13ec78126Danny Mayer<td width="20%" align="right">�<a accesskey="n" href="man.dnssec-dsfromkey.html">Next</a>
39a1539c7a7dbee922b543237cc590b13ec78126Danny Mayer<a name="man.host"></a><div class="titlepage"></div>
39a1539c7a7dbee922b543237cc590b13ec78126Danny Mayer<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>
39a1539c7a7dbee922b543237cc590b13ec78126Danny Mayer<p><span><strong class="command">host</strong></span>
39a1539c7a7dbee922b543237cc590b13ec78126Danny Mayer is a simple utility for performing DNS lookups.
39a1539c7a7dbee922b543237cc590b13ec78126Danny Mayer It is normally used to convert names to IP addresses and vice versa.
39a1539c7a7dbee922b543237cc590b13ec78126Danny Mayer When no arguments or options are given,
39a1539c7a7dbee922b543237cc590b13ec78126Danny Mayer <span><strong class="command">host</strong></span>
39a1539c7a7dbee922b543237cc590b13ec78126Danny Mayer prints a short summary of its command line arguments and options.
39a1539c7a7dbee922b543237cc590b13ec78126Danny Mayer<p><em class="parameter"><code>name</code></em> is the domain name that is to be
39a1539c7a7dbee922b543237cc590b13ec78126Danny Mayer up. It can also be a dotted-decimal IPv4 address or a colon-delimited
39a1539c7a7dbee922b543237cc590b13ec78126Danny Mayer IPv6 address, in which case <span><strong class="command">host</strong></span> will by
68c2ccc953059f389cefc0f8a5ce0f83be7458c9Danny Mayer perform a reverse lookup for that address.
68c2ccc953059f389cefc0f8a5ce0f83be7458c9Danny Mayer <em class="parameter"><code>server</code></em> is an optional argument which
68c2ccc953059f389cefc0f8a5ce0f83be7458c9Danny Mayer the name or IP address of the name server that <span><strong class="command">host</strong></span>
39a1539c7a7dbee922b543237cc590b13ec78126Danny Mayer should query instead of the server or servers listed in
<code class="option">-v</code> option and asking <span><strong class="command">host</strong></span> to make
When the <code class="option">-C</code> option is used, <span><strong class="command">host</strong></span>
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).