host.html revision 8a66318e41ed14c5a88130e8c362610e8faa2121
11e9368a226272085c337e9e74b79808c16fbdbaTinderbox User - Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews - Copyright (C) 2000-2002 Internet Software Consortium.
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 - 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<!-- $Id: host.html,v 1.7 2004/03/05 08:32:16 marka Exp $ -->
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic UpdaterNAME="GENERATOR"
c3dc968140ab7f04795acc7835e4e89ccb0c0a27Tinderbox UserCONTENT="Modular DocBook HTML Stylesheet Version 1.73
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="REFENTRY"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsBGCOLOR="#FFFFFF"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsTEXT="#000000"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsLINK="#0000FF"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsVLINK="#840084"
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic UpdaterALINK="#0000FF"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="REFNAMEDIV"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews>host -- DNS lookup utility</DIV
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="REFSYNOPSISDIV"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews>Synopsis</H2
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="COMMAND"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="OPTION"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews>-aCdlnrTwv</TT
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="OPTION"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="REPLACEABLE"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="OPTION"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="REPLACEABLE"
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic UpdaterCLASS="REPLACEABLE"
be6c1c506161e6f45fcff5d0425f78801bc267c1Automatic UpdaterCLASS="REPLACEABLE"
43b94483957d3168796a816ed86cf097518817dcTinderbox UserCLASS="REPLACEABLE"
6ea2385360e9e2167e65f9286447da9eea189457Tinderbox User>] {name} [server]</P
6ea2385360e9e2167e65f9286447da9eea189457Tinderbox UserCLASS="REFSECT1"
6ea2385360e9e2167e65f9286447da9eea189457Tinderbox User>DESCRIPTION</H2
6ea2385360e9e2167e65f9286447da9eea189457Tinderbox UserCLASS="COMMAND"
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 UpdaterCLASS="COMMAND"
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updaterprints a short summary of its command line arguments and options.</P
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="PARAMETER"
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> will by default
0e1dece22e128f9dfa723316a35c4b3f06912381Tinderbox Userperform a reverse lookup for that address.
0e1dece22e128f9dfa723316a35c4b3f06912381Tinderbox UserCLASS="PARAMETER"
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 Usershould query instead of the server or servers listed in
0e1dece22e128f9dfa723316a35c4b3f06912381Tinderbox UserCLASS="FILENAME"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="OPTION"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews> (all) option is equivalent to setting the
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="OPTION"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews> option and asking <B
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="COMMAND"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewsa query of type ANY.</P
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews>When the <TT
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="OPTION"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews> option is used, <B
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="COMMAND"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewswill attempt to display the SOA records for zone
60a900e83bab52c3f023be66654f3ab023172778Automatic UpdaterCLASS="PARAMETER"
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> option instructs to make a DNS query of class
60a900e83bab52c3f023be66654f3ab023172778Automatic UpdaterCLASS="PARAMETER"
60a900e83bab52c3f023be66654f3ab023172778Automatic Updater>. This can be used to lookup Hesiod or
60a900e83bab52c3f023be66654f3ab023172778Automatic UpdaterChaosnet class resource records. The default class is IN (Internet).</P
60a900e83bab52c3f023be66654f3ab023172778Automatic Updater>Verbose output is generated by <B
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="COMMAND"
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"
6f1205897504b8f50b1785975482c995888dd630Tinderbox Userswitched on debugging traces and <TT
6f1205897504b8f50b1785975482c995888dd630Tinderbox UserCLASS="OPTION"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews> enabled verbose
d71e2e0c61df16ff37c9934c371a4a60c08974f7Mark Andrews>List mode is selected by the <TT
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="OPTION"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews> option. This makes
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="COMMAND"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews> perform a zone transfer for zone
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="PARAMETER"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews>. Transfer the zone printing out the NS, PTR
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewsand address records (A/AAAA). If combined with <TT
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="OPTION"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewsall records will be printed. </P
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="OPTION"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewsoption specifies that reverse lookups of IPv6 addresses should
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewsuse the IP6.INT domain as defined in RFC1886.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="OPTION"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews> option sets the number of dots that have to be
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="PARAMETER"
d71e2e0c61df16ff37c9934c371a4a60c08974f7Mark Andrews> for it to be considered absolute. The
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewsdefault value is that defined using the ndots statement in
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="FILENAME"
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 Andrews>search</SPAN
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews>domain</SPAN
43b94483957d3168796a816ed86cf097518817dcTinderbox UserCLASS="FILENAME"
97e74139b19368e385a3564746d42db70879195eAutomatic Updater>The number of UDP retries for a lookup can be changed with the
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="OPTION"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews> option. <TT
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="PARAMETER"
52ece689e0265f9a3e518de5b2539e749f6d35acMark Andrewshow many times <B
e68c527dff2f1f7df2a542f8d6f9181a27e05eb7Tinderbox UserCLASS="COMMAND"
52ece689e0265f9a3e518de5b2539e749f6d35acMark Andrews> will repeat a query that does
52ece689e0265f9a3e518de5b2539e749f6d35acMark Andrewsnot get answered. The default number of retries is 1. If
52ece689e0265f9a3e518de5b2539e749f6d35acMark AndrewsCLASS="PARAMETER"
52ece689e0265f9a3e518de5b2539e749f6d35acMark Andrews> is negative or zero, the number of
52ece689e0265f9a3e518de5b2539e749f6d35acMark Andrewsretries will default to 1.</P
e68c527dff2f1f7df2a542f8d6f9181a27e05eb7Tinderbox User>Non-recursive queries can be made via the <TT
e68c527dff2f1f7df2a542f8d6f9181a27e05eb7Tinderbox UserCLASS="OPTION"
52ece689e0265f9a3e518de5b2539e749f6d35acMark AndrewsSetting this option clears the <SPAN
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews> — recursion
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewsdesired — bit in the query which <B
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="COMMAND"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsThis should mean that the name server receiving the query will not
dba3c818ae00b10388d31703e86a28415db398acTinderbox Userattempt to resolve <TT
dba3c818ae00b10388d31703e86a28415db398acTinderbox UserCLASS="PARAMETER"
dba3c818ae00b10388d31703e86a28415db398acTinderbox UserCLASS="OPTION"
dba3c818ae00b10388d31703e86a28415db398acTinderbox User> option enables <B
dba3c818ae00b10388d31703e86a28415db398acTinderbox UserCLASS="COMMAND"
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>By default <B
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="COMMAND"
6283056805887de88040698685b8e1936a1f7a2dAutomatic Updater> uses UDP when making queries. The
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
6283056805887de88040698685b8e1936a1f7a2dAutomatic Updater> option is used to select the query type.
7717ec7a6a898cdd3c35cbfba66010b7304ffd9bAutomatic UpdaterCLASS="PARAMETER"
7717ec7a6a898cdd3c35cbfba66010b7304ffd9bAutomatic Updater> can be any recognised query type: CNAME,
7717ec7a6a898cdd3c35cbfba66010b7304ffd9bAutomatic UpdaterNS, SOA, SIG, KEY, AXFR, etc. When no query type is specified,
7717ec7a6a898cdd3c35cbfba66010b7304ffd9bAutomatic UpdaterCLASS="COMMAND"
7717ec7a6a898cdd3c35cbfba66010b7304ffd9bAutomatic Updater> automatically selects an appropriate query
3f9791eac42b243d9f328d604e117f91a3f67a37Tinderbox Usertype. By default it looks for A records, but if the
3f9791eac42b243d9f328d604e117f91a3f67a37Tinderbox UserCLASS="OPTION"
3f9791eac42b243d9f328d604e117f91a3f67a37Tinderbox User> option was given, queries will be made for SOA
3f9791eac42b243d9f328d604e117f91a3f67a37Tinderbox Userrecords, and if <TT
3f9791eac42b243d9f328d604e117f91a3f67a37Tinderbox UserCLASS="PARAMETER"
3f9791eac42b243d9f328d604e117f91a3f67a37Tinderbox User> is a dotted-decimal IPv4
3f9791eac42b243d9f328d604e117f91a3f67a37Tinderbox Useraddress or colon-delimited IPv6 address, <B
3f9791eac42b243d9f328d604e117f91a3f67a37Tinderbox UserCLASS="COMMAND"
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>The time to wait for a reply can be controlled through the
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="OPTION"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="OPTION"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews> options. The
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="OPTION"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews> option makes <B
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCLASS="COMMAND"
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic UpdaterCLASS="PARAMETER"
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater> seconds. If <TT
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic UpdaterCLASS="PARAMETER"
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updateris less than one, the wait interval is set to one second. When the
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater> option is used, <B
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic UpdaterCLASS="COMMAND"
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 UpdaterCLASS="REFSECT1"
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic UpdaterCLASS="FILENAME"
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic UpdaterCLASS="REFSECT1"
a3f8c8e20780e488141d200acdfea6c5f3303513Automatic UpdaterCLASS="CITEREFENTRY"
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic UpdaterCLASS="REFENTRYTITLE"
a3f8c8e20780e488141d200acdfea6c5f3303513Automatic UpdaterCLASS="CITEREFENTRY"
a3f8c8e20780e488141d200acdfea6c5f3303513Automatic UpdaterCLASS="REFENTRYTITLE"