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