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