host.html revision 8a66318e41ed14c5a88130e8c362610e8faa2121
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<!--
11e9368a226272085c337e9e74b79808c16fbdbaTinderbox User - Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews - Copyright (C) 2000-2002 Internet Software Consortium.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews -
4a14ce5ba00ab7bc55c99ffdcf59c7a4ab902721Automatic Updater - Permission to use, copy, modify, and distribute this software for any
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews - purpose with or without fee is hereby granted, provided that the above
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews - copyright notice and this permission notice appear in all copies.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews -
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews - PERFORMANCE OF THIS SOFTWARE.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews-->
ea94d370123a5892f6c47a97f21d1b28d44bb168Tinderbox User
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<!-- $Id: host.html,v 1.7 2004/03/05 08:32:16 marka Exp $ -->
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<HTML
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews><HEAD
e21a2904f02a03fa06b6db04d348f65fe9c67b2bMark Andrews><TITLE
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews>host</TITLE
cd32f419a8a5432fbb139f56ee73cbf68b9350ccTinderbox User><META
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic UpdaterNAME="GENERATOR"
c3dc968140ab7f04795acc7835e4e89ccb0c0a27Tinderbox UserCONTENT="Modular DocBook HTML Stylesheet Version 1.73
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews"></HEAD
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews><BODY
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="REFENTRY"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsBGCOLOR="#FFFFFF"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsTEXT="#000000"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsLINK="#0000FF"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsVLINK="#840084"
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic UpdaterALINK="#0000FF"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews><H1
c3dc968140ab7f04795acc7835e4e89ccb0c0a27Tinderbox User><A
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsNAME="AEN1"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews>host</A
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews></H1
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews><DIV
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="REFNAMEDIV"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews><A
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsNAME="AEN8"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews></A
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews><H2
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews>Name</H2
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews>host&nbsp;--&nbsp;DNS lookup utility</DIV
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews><DIV
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="REFSYNOPSISDIV"
cefd74ae81cf51692af3a38c1330261a5110fca7Tinderbox User><A
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsNAME="AEN11"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews></A
cd32f419a8a5432fbb139f56ee73cbf68b9350ccTinderbox User><H2
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews>Synopsis</H2
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews><P
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews><B
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="COMMAND"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews>host</B
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews> [<TT
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="OPTION"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews>-aCdlnrTwv</TT
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews>] [<TT
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="OPTION"
cd32f419a8a5432fbb139f56ee73cbf68b9350ccTinderbox User>-c <TT
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="REPLACEABLE"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews><I
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews>class</I
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews></TT
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews></TT
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews>] [<TT
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="OPTION"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews>-N <TT
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="REPLACEABLE"
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater><I
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater>ndots</I
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater></TT
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater></TT
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater>] [<TT
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic UpdaterCLASS="OPTION"
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater>-R <TT
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic UpdaterCLASS="REPLACEABLE"
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater><I
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater>number</I
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater></TT
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater></TT
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater>] [<TT
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic UpdaterCLASS="OPTION"
be6c1c506161e6f45fcff5d0425f78801bc267c1Automatic Updater>-t <TT
be6c1c506161e6f45fcff5d0425f78801bc267c1Automatic UpdaterCLASS="REPLACEABLE"
be6c1c506161e6f45fcff5d0425f78801bc267c1Automatic Updater><I
be6c1c506161e6f45fcff5d0425f78801bc267c1Automatic Updater>type</I
be6c1c506161e6f45fcff5d0425f78801bc267c1Automatic Updater></TT
be6c1c506161e6f45fcff5d0425f78801bc267c1Automatic Updater></TT
be6c1c506161e6f45fcff5d0425f78801bc267c1Automatic Updater>] [<TT
be6c1c506161e6f45fcff5d0425f78801bc267c1Automatic UpdaterCLASS="OPTION"
dba3c818ae00b10388d31703e86a28415db398acTinderbox User>-W <TT
43b94483957d3168796a816ed86cf097518817dcTinderbox UserCLASS="REPLACEABLE"
be6c1c506161e6f45fcff5d0425f78801bc267c1Automatic Updater><I
8ec3c085233cedb22b05da36e2773c8f357a7e45Automatic Updater>wait</I
6ea2385360e9e2167e65f9286447da9eea189457Tinderbox User></TT
6ea2385360e9e2167e65f9286447da9eea189457Tinderbox User></TT
6ea2385360e9e2167e65f9286447da9eea189457Tinderbox User>] {name} [server]</P
6ea2385360e9e2167e65f9286447da9eea189457Tinderbox User></DIV
6ea2385360e9e2167e65f9286447da9eea189457Tinderbox User><DIV
6ea2385360e9e2167e65f9286447da9eea189457Tinderbox UserCLASS="REFSECT1"
6ea2385360e9e2167e65f9286447da9eea189457Tinderbox User><A
6ea2385360e9e2167e65f9286447da9eea189457Tinderbox UserNAME="AEN33"
6ea2385360e9e2167e65f9286447da9eea189457Tinderbox User></A
6ea2385360e9e2167e65f9286447da9eea189457Tinderbox User><H2
6ea2385360e9e2167e65f9286447da9eea189457Tinderbox User>DESCRIPTION</H2
6ea2385360e9e2167e65f9286447da9eea189457Tinderbox User><P
6ea2385360e9e2167e65f9286447da9eea189457Tinderbox User><B
6ea2385360e9e2167e65f9286447da9eea189457Tinderbox UserCLASS="COMMAND"
6ea2385360e9e2167e65f9286447da9eea189457Tinderbox User>host</B
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater>
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updateris a simple utility for performing DNS lookups.
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic UpdaterIt is normally used to convert names to IP addresses and vice versa.
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic UpdaterWhen no arguments or options are given,
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater<B
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic UpdaterCLASS="COMMAND"
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater>host</B
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater>
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updaterprints a short summary of its command line arguments and options.</P
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater><P
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater><TT
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="PARAMETER"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews><I
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews>name</I
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews></TT
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews> is the domain name that is to be looked
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewsup. It can also be a dotted-decimal IPv4 address or a colon-delimited
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsIPv6 address, in which case <B
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="COMMAND"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews>host</B
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews> will by default
0e1dece22e128f9dfa723316a35c4b3f06912381Tinderbox Userperform a reverse lookup for that address.
0e1dece22e128f9dfa723316a35c4b3f06912381Tinderbox User<TT
0e1dece22e128f9dfa723316a35c4b3f06912381Tinderbox UserCLASS="PARAMETER"
0e1dece22e128f9dfa723316a35c4b3f06912381Tinderbox User><I
0e1dece22e128f9dfa723316a35c4b3f06912381Tinderbox User>server</I
0e1dece22e128f9dfa723316a35c4b3f06912381Tinderbox User></TT
0e1dece22e128f9dfa723316a35c4b3f06912381Tinderbox User> is an optional argument which is either
0e1dece22e128f9dfa723316a35c4b3f06912381Tinderbox Userthe name or IP address of the name server that <B
0e1dece22e128f9dfa723316a35c4b3f06912381Tinderbox UserCLASS="COMMAND"
0e1dece22e128f9dfa723316a35c4b3f06912381Tinderbox User>host</B
0e1dece22e128f9dfa723316a35c4b3f06912381Tinderbox User>
0e1dece22e128f9dfa723316a35c4b3f06912381Tinderbox Usershould query instead of the server or servers listed in
0e1dece22e128f9dfa723316a35c4b3f06912381Tinderbox User<TT
0e1dece22e128f9dfa723316a35c4b3f06912381Tinderbox UserCLASS="FILENAME"
0e1dece22e128f9dfa723316a35c4b3f06912381Tinderbox User>/etc/resolv.conf</TT
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews>.</P
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews><P
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews>The <TT
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="OPTION"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews>-a</TT
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews> (all) option is equivalent to setting the
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<TT
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="OPTION"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews>-v</TT
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews> option and asking <B
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="COMMAND"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews>host</B
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews> to make
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewsa query of type ANY.</P
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews><P
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews>When the <TT
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="OPTION"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews>-C</TT
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews> option is used, <B
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="COMMAND"
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater>host</B
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewswill attempt to display the SOA records for zone
60a900e83bab52c3f023be66654f3ab023172778Automatic Updater<TT
60a900e83bab52c3f023be66654f3ab023172778Automatic UpdaterCLASS="PARAMETER"
60a900e83bab52c3f023be66654f3ab023172778Automatic Updater><I
60a900e83bab52c3f023be66654f3ab023172778Automatic Updater>name</I
60a900e83bab52c3f023be66654f3ab023172778Automatic Updater></TT
60a900e83bab52c3f023be66654f3ab023172778Automatic Updater> from all the listed authoritative name
60a900e83bab52c3f023be66654f3ab023172778Automatic Updaterservers for that zone. The list of name servers is defined by the NS
60a900e83bab52c3f023be66654f3ab023172778Automatic Updaterrecords that are found for the zone.</P
60a900e83bab52c3f023be66654f3ab023172778Automatic Updater><P
60a900e83bab52c3f023be66654f3ab023172778Automatic Updater>The <TT
60a900e83bab52c3f023be66654f3ab023172778Automatic UpdaterCLASS="OPTION"
60a900e83bab52c3f023be66654f3ab023172778Automatic Updater>-c</TT
60a900e83bab52c3f023be66654f3ab023172778Automatic Updater> option instructs to make a DNS query of class
60a900e83bab52c3f023be66654f3ab023172778Automatic Updater<TT
60a900e83bab52c3f023be66654f3ab023172778Automatic UpdaterCLASS="PARAMETER"
60a900e83bab52c3f023be66654f3ab023172778Automatic Updater><I
60a900e83bab52c3f023be66654f3ab023172778Automatic Updater>class</I
60a900e83bab52c3f023be66654f3ab023172778Automatic Updater></TT
60a900e83bab52c3f023be66654f3ab023172778Automatic Updater>. This can be used to lookup Hesiod or
60a900e83bab52c3f023be66654f3ab023172778Automatic UpdaterChaosnet class resource records. The default class is IN (Internet).</P
60a900e83bab52c3f023be66654f3ab023172778Automatic Updater><P
60a900e83bab52c3f023be66654f3ab023172778Automatic Updater>Verbose output is generated by <B
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="COMMAND"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews>host</B
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews> when the
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<TT
2628293c6edaa41ed1407c42bb196083901e087bAutomatic UpdaterCLASS="OPTION"
2628293c6edaa41ed1407c42bb196083901e087bAutomatic Updater>-d</TT
2628293c6edaa41ed1407c42bb196083901e087bAutomatic Updater> or <TT
2628293c6edaa41ed1407c42bb196083901e087bAutomatic UpdaterCLASS="OPTION"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews>-v</TT
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews> option is used. The two
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewsoptions are equivalent. They have been provided for backwards
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewscompatibility. In previous versions, the <TT
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="OPTION"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews>-d</TT
6f1205897504b8f50b1785975482c995888dd630Tinderbox User> option
6f1205897504b8f50b1785975482c995888dd630Tinderbox Userswitched on debugging traces and <TT
6f1205897504b8f50b1785975482c995888dd630Tinderbox UserCLASS="OPTION"
6f1205897504b8f50b1785975482c995888dd630Tinderbox User>-v</TT
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews> enabled verbose
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewsoutput.</P
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews><P
d71e2e0c61df16ff37c9934c371a4a60c08974f7Mark Andrews>List mode is selected by the <TT
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="OPTION"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews>-l</TT
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews> option. This makes
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<B
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="COMMAND"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews>host</B
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews> perform a zone transfer for zone
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<TT
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="PARAMETER"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews><I
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews>name</I
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews></TT
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews>. Transfer the zone printing out the NS, PTR
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewsand address records (A/AAAA). If combined with <TT
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="OPTION"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews>-a</TT
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewsall records will be printed. </P
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews><P
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews>The <TT
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="OPTION"
dba3c818ae00b10388d31703e86a28415db398acTinderbox User>-i</TT
43b94483957d3168796a816ed86cf097518817dcTinderbox User>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewsoption specifies that reverse lookups of IPv6 addresses should
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewsuse the IP6.INT domain as defined in RFC1886.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsThe default is to use IP6.ARPA.</P
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews><P
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews>The <TT
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="OPTION"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews>-N</TT
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews> option sets the number of dots that have to be
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewsin <TT
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="PARAMETER"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews><I
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews>name</I
d71e2e0c61df16ff37c9934c371a4a60c08974f7Mark Andrews></TT
d71e2e0c61df16ff37c9934c371a4a60c08974f7Mark Andrews> for it to be considered absolute. The
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewsdefault value is that defined using the ndots statement in
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<TT
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="FILENAME"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews>/etc/resolv.conf</TT
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews>, or 1 if no ndots statement is
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewspresent. Names with fewer dots are interpreted as relative names and
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewswill be searched for in the domains listed in the <SPAN
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="TYPE"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews>search</SPAN
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewsor <SPAN
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="TYPE"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews>domain</SPAN
97e74139b19368e385a3564746d42db70879195eAutomatic Updater> directive in
97e74139b19368e385a3564746d42db70879195eAutomatic Updater<TT
43b94483957d3168796a816ed86cf097518817dcTinderbox UserCLASS="FILENAME"
dba3c818ae00b10388d31703e86a28415db398acTinderbox User>/etc/resolv.conf</TT
dba3c818ae00b10388d31703e86a28415db398acTinderbox User>.</P
dba3c818ae00b10388d31703e86a28415db398acTinderbox User><P
97e74139b19368e385a3564746d42db70879195eAutomatic Updater>The number of UDP retries for a lookup can be changed with the
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<TT
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="OPTION"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews>-R</TT
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews> option. <TT
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="PARAMETER"
52ece689e0265f9a3e518de5b2539e749f6d35acMark Andrews><I
52ece689e0265f9a3e518de5b2539e749f6d35acMark Andrews>number</I
52ece689e0265f9a3e518de5b2539e749f6d35acMark Andrews></TT
52ece689e0265f9a3e518de5b2539e749f6d35acMark Andrews> indicates
52ece689e0265f9a3e518de5b2539e749f6d35acMark Andrewshow many times <B
e68c527dff2f1f7df2a542f8d6f9181a27e05eb7Tinderbox UserCLASS="COMMAND"
e68c527dff2f1f7df2a542f8d6f9181a27e05eb7Tinderbox User>host</B
52ece689e0265f9a3e518de5b2539e749f6d35acMark Andrews> will repeat a query that does
52ece689e0265f9a3e518de5b2539e749f6d35acMark Andrewsnot get answered. The default number of retries is 1. If
52ece689e0265f9a3e518de5b2539e749f6d35acMark Andrews<TT
52ece689e0265f9a3e518de5b2539e749f6d35acMark AndrewsCLASS="PARAMETER"
52ece689e0265f9a3e518de5b2539e749f6d35acMark Andrews><I
52ece689e0265f9a3e518de5b2539e749f6d35acMark Andrews>number</I
52ece689e0265f9a3e518de5b2539e749f6d35acMark Andrews></TT
52ece689e0265f9a3e518de5b2539e749f6d35acMark Andrews> is negative or zero, the number of
52ece689e0265f9a3e518de5b2539e749f6d35acMark Andrewsretries will default to 1.</P
52ece689e0265f9a3e518de5b2539e749f6d35acMark Andrews><P
e68c527dff2f1f7df2a542f8d6f9181a27e05eb7Tinderbox User>Non-recursive queries can be made via the <TT
e68c527dff2f1f7df2a542f8d6f9181a27e05eb7Tinderbox UserCLASS="OPTION"
e68c527dff2f1f7df2a542f8d6f9181a27e05eb7Tinderbox User>-r</TT
52ece689e0265f9a3e518de5b2539e749f6d35acMark Andrews> option.
52ece689e0265f9a3e518de5b2539e749f6d35acMark AndrewsSetting this option clears the <SPAN
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="TYPE"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews>RD</SPAN
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews> &mdash; recursion
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewsdesired &mdash; bit in the query which <B
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="COMMAND"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews>host</B
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews> makes.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsThis should mean that the name server receiving the query will not
dba3c818ae00b10388d31703e86a28415db398acTinderbox Userattempt to resolve <TT
dba3c818ae00b10388d31703e86a28415db398acTinderbox UserCLASS="PARAMETER"
72938578c985138165e7a4b0a38f16daacbad95eAutomatic Updater><I
dba3c818ae00b10388d31703e86a28415db398acTinderbox User>name</I
43b94483957d3168796a816ed86cf097518817dcTinderbox User></TT
dba3c818ae00b10388d31703e86a28415db398acTinderbox User>. The
dba3c818ae00b10388d31703e86a28415db398acTinderbox User<TT
dba3c818ae00b10388d31703e86a28415db398acTinderbox UserCLASS="OPTION"
dba3c818ae00b10388d31703e86a28415db398acTinderbox User>-r</TT
dba3c818ae00b10388d31703e86a28415db398acTinderbox User> option enables <B
dba3c818ae00b10388d31703e86a28415db398acTinderbox UserCLASS="COMMAND"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews>host</B
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews> to mimic
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewsthe behaviour of a name server by making non-recursive queries and
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewsexpecting to receive answers to those queries that are usually
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewsreferrals to other name servers.</P
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews><P
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews>By default <B
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="COMMAND"
6283056805887de88040698685b8e1936a1f7a2dAutomatic Updater>host</B
6283056805887de88040698685b8e1936a1f7a2dAutomatic Updater> uses UDP when making queries. The
6283056805887de88040698685b8e1936a1f7a2dAutomatic Updater<TT
6283056805887de88040698685b8e1936a1f7a2dAutomatic UpdaterCLASS="OPTION"
6283056805887de88040698685b8e1936a1f7a2dAutomatic Updater>-T</TT
6283056805887de88040698685b8e1936a1f7a2dAutomatic Updater> option makes it use a TCP connection when querying
6283056805887de88040698685b8e1936a1f7a2dAutomatic Updaterthe name server. TCP will be automatically selected for queries that
1c51f79aba598e5e20bde66aea0237e347f6d5ceAutomatic Updaterrequire it, such as zone transfer (AXFR) requests.</P
1c51f79aba598e5e20bde66aea0237e347f6d5ceAutomatic Updater><P
6283056805887de88040698685b8e1936a1f7a2dAutomatic Updater>The <TT
1c51f79aba598e5e20bde66aea0237e347f6d5ceAutomatic UpdaterCLASS="OPTION"
6283056805887de88040698685b8e1936a1f7a2dAutomatic Updater>-t</TT
6283056805887de88040698685b8e1936a1f7a2dAutomatic Updater> option is used to select the query type.
3f9791eac42b243d9f328d604e117f91a3f67a37Tinderbox User<TT
7717ec7a6a898cdd3c35cbfba66010b7304ffd9bAutomatic UpdaterCLASS="PARAMETER"
7717ec7a6a898cdd3c35cbfba66010b7304ffd9bAutomatic Updater><I
3f9791eac42b243d9f328d604e117f91a3f67a37Tinderbox User>type</I
7717ec7a6a898cdd3c35cbfba66010b7304ffd9bAutomatic Updater></TT
7717ec7a6a898cdd3c35cbfba66010b7304ffd9bAutomatic Updater> can be any recognised query type: CNAME,
7717ec7a6a898cdd3c35cbfba66010b7304ffd9bAutomatic UpdaterNS, SOA, SIG, KEY, AXFR, etc. When no query type is specified,
7717ec7a6a898cdd3c35cbfba66010b7304ffd9bAutomatic Updater<B
7717ec7a6a898cdd3c35cbfba66010b7304ffd9bAutomatic UpdaterCLASS="COMMAND"
7717ec7a6a898cdd3c35cbfba66010b7304ffd9bAutomatic Updater>host</B
7717ec7a6a898cdd3c35cbfba66010b7304ffd9bAutomatic Updater> automatically selects an appropriate query
3f9791eac42b243d9f328d604e117f91a3f67a37Tinderbox Usertype. By default it looks for A records, but if the
3f9791eac42b243d9f328d604e117f91a3f67a37Tinderbox User<TT
3f9791eac42b243d9f328d604e117f91a3f67a37Tinderbox UserCLASS="OPTION"
3f9791eac42b243d9f328d604e117f91a3f67a37Tinderbox User>-C</TT
3f9791eac42b243d9f328d604e117f91a3f67a37Tinderbox User> option was given, queries will be made for SOA
3f9791eac42b243d9f328d604e117f91a3f67a37Tinderbox Userrecords, and if <TT
3f9791eac42b243d9f328d604e117f91a3f67a37Tinderbox UserCLASS="PARAMETER"
3f9791eac42b243d9f328d604e117f91a3f67a37Tinderbox User><I
3f9791eac42b243d9f328d604e117f91a3f67a37Tinderbox User>name</I
3f9791eac42b243d9f328d604e117f91a3f67a37Tinderbox User></TT
3f9791eac42b243d9f328d604e117f91a3f67a37Tinderbox User> is a dotted-decimal IPv4
3f9791eac42b243d9f328d604e117f91a3f67a37Tinderbox Useraddress or colon-delimited IPv6 address, <B
3f9791eac42b243d9f328d604e117f91a3f67a37Tinderbox UserCLASS="COMMAND"
3f9791eac42b243d9f328d604e117f91a3f67a37Tinderbox User>host</B
3f9791eac42b243d9f328d604e117f91a3f67a37Tinderbox User> will
3f9791eac42b243d9f328d604e117f91a3f67a37Tinderbox Userquery for PTR records. If a query type of IXFR is chosen the starting
3f9791eac42b243d9f328d604e117f91a3f67a37Tinderbox Userserial number can be specified by appending an equal followed by the
3f9791eac42b243d9f328d604e117f91a3f67a37Tinderbox Userstarting serial number (e.g. -t IXFR=12345678).</P
7717ec7a6a898cdd3c35cbfba66010b7304ffd9bAutomatic Updater><P
7717ec7a6a898cdd3c35cbfba66010b7304ffd9bAutomatic Updater>The time to wait for a reply can be controlled through the
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<TT
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="OPTION"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews>-W</TT
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews> and <TT
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="OPTION"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews>-w</TT
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews> options. The
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<TT
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="OPTION"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews>-W</TT
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews> option makes <B
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="COMMAND"
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater>host</B
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater> wait for
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater<TT
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic UpdaterCLASS="PARAMETER"
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater><I
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater>wait</I
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater></TT
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater> seconds. If <TT
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic UpdaterCLASS="PARAMETER"
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater><I
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater>wait</I
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater></TT
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater>
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updateris less than one, the wait interval is set to one second. When the
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater<TT
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic UpdaterCLASS="OPTION"
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater>-w</TT
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater> option is used, <B
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic UpdaterCLASS="COMMAND"
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater>host</B
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater> will
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updatereffectively wait forever for a reply. The time to wait for a response
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updaterwill be set to the number of seconds given by the hardware's maximum
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updatervalue for an integer quantity.</P
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater></DIV
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater><DIV
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic UpdaterCLASS="REFSECT1"
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater><A
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic UpdaterNAME="AEN106"
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater></A
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater><H2
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater>FILES</H2
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater><P
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater><TT
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic UpdaterCLASS="FILENAME"
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater>/etc/resolv.conf</TT
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater></P
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater></DIV
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater><DIV
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic UpdaterCLASS="REFSECT1"
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater><A
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic UpdaterNAME="AEN110"
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater></A
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater><H2
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater>SEE ALSO</H2
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater><P
a3f8c8e20780e488141d200acdfea6c5f3303513Automatic Updater><SPAN
a3f8c8e20780e488141d200acdfea6c5f3303513Automatic UpdaterCLASS="CITEREFENTRY"
a3f8c8e20780e488141d200acdfea6c5f3303513Automatic Updater><SPAN
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic UpdaterCLASS="REFENTRYTITLE"
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater>dig</SPAN
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater>(1)</SPAN
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater>,
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater<SPAN
a3f8c8e20780e488141d200acdfea6c5f3303513Automatic UpdaterCLASS="CITEREFENTRY"
a3f8c8e20780e488141d200acdfea6c5f3303513Automatic Updater><SPAN
a3f8c8e20780e488141d200acdfea6c5f3303513Automatic UpdaterCLASS="REFENTRYTITLE"
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater>named</SPAN
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews>(8)</SPAN
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews>.</P
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews></DIV
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews></BODY
f3d1a0ba5228251d902a6acf3c8b05cb6842f992Automatic Updater></HTML
f3d1a0ba5228251d902a6acf3c8b05cb6842f992Automatic Updater>
f3d1a0ba5228251d902a6acf3c8b05cb6842f992Automatic Updater