nslookup.docbook revision 561a29af8c54a216e7d30b5b4f6e0d21661654ec
f743002678eb67b99bbc29fee116b65d9530fec0wrowe<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
80833bb9a1bf25dcf19e814438a4b311d2e1f4cffuankg "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
a34684a59b60a4173c25035d0c627ef17e6dc215rpluem [<!ENTITY mdash "&#8212;">]>
1337c7673efc1f80f634139fbad7cbb98a0dc657ylavic<!--
1337c7673efc1f80f634139fbad7cbb98a0dc657ylavic - Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
1337c7673efc1f80f634139fbad7cbb98a0dc657ylavic -
1337c7673efc1f80f634139fbad7cbb98a0dc657ylavic - Permission to use, copy, modify, and distribute this software for any
4da61833a1cbbca94094f9653fd970582b97a72etrawick - purpose with or without fee is hereby granted, provided that the above
4da61833a1cbbca94094f9653fd970582b97a72etrawick - copyright notice and this permission notice appear in all copies.
4da61833a1cbbca94094f9653fd970582b97a72etrawick -
4da61833a1cbbca94094f9653fd970582b97a72etrawick - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
4da61833a1cbbca94094f9653fd970582b97a72etrawick - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
4789804be088bcd86ae637a29cdb7fda25169521jailletc - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
4789804be088bcd86ae637a29cdb7fda25169521jailletc - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
4789804be088bcd86ae637a29cdb7fda25169521jailletc - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
4789804be088bcd86ae637a29cdb7fda25169521jailletc - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
e50c3026198fd496f183cda4c32a202925476778covener - PERFORMANCE OF THIS SOFTWARE.
e50c3026198fd496f183cda4c32a202925476778covener-->
e50c3026198fd496f183cda4c32a202925476778covener
5b88c8507d5ef6d0c4cfbc78230294968175b638minfrin<!-- $Id: nslookup.docbook,v 1.14 2007/05/09 01:32:08 marka Exp $ -->
5b88c8507d5ef6d0c4cfbc78230294968175b638minfrin<!--
6c3b9cebb551140fbb25d58bae08b539b3802133ylavic - Copyright (c) 1985, 1989
6c3b9cebb551140fbb25d58bae08b539b3802133ylavic - The Regents of the University of California. All rights reserved.
6c3b9cebb551140fbb25d58bae08b539b3802133ylavic -
4f29b65ab4b547ad5dbe506e2d0ff5d12ead9247ylavic - Redistribution and use in source and binary forms, with or without
4f29b65ab4b547ad5dbe506e2d0ff5d12ead9247ylavic - modification, are permitted provided that the following conditions
0a0df13b7f1f4f1a74fe295253d89ca3911b301aylavic - are met:
0a0df13b7f1f4f1a74fe295253d89ca3911b301aylavic - 1. Redistributions of source code must retain the above copyright
0a0df13b7f1f4f1a74fe295253d89ca3911b301aylavic - notice, this list of conditions and the following disclaimer.
0a0df13b7f1f4f1a74fe295253d89ca3911b301aylavic - 2. Redistributions in binary form must reproduce the above copyright
69301145375a889e7e37caf7cc7321ac0f91801erpluem - notice, this list of conditions and the following disclaimer in the
69301145375a889e7e37caf7cc7321ac0f91801erpluem - documentation and/or other materials provided with the distribution.
69301145375a889e7e37caf7cc7321ac0f91801erpluem - 3. All advertising materials mentioning features or use of this software
506bfe33206b2fece40ef25f695af39dd4130facjkaluza - must display the following acknowledgement:
506bfe33206b2fece40ef25f695af39dd4130facjkaluza - This product includes software developed by the University of
506bfe33206b2fece40ef25f695af39dd4130facjkaluza - California, Berkeley and its contributors.
506bfe33206b2fece40ef25f695af39dd4130facjkaluza - 4. Neither the name of the University nor the names of its contributors
d58a848a016d401b965111e50ef829e1641f7834minfrin - may be used to endorse or promote products derived from this software
d58a848a016d401b965111e50ef829e1641f7834minfrin - without specific prior written permission.
d58a848a016d401b965111e50ef829e1641f7834minfrin -
2e6f4d654c96c98b761fb012fd25c5d5b1558c44sf - THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
2e6f4d654c96c98b761fb012fd25c5d5b1558c44sf - ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2e6f4d654c96c98b761fb012fd25c5d5b1558c44sf - IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17e6c95f3b22d18acdf8380fb26a8d0e10c80767ylavic - ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
17e6c95f3b22d18acdf8380fb26a8d0e10c80767ylavic - FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
17e6c95f3b22d18acdf8380fb26a8d0e10c80767ylavic - DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
17e6c95f3b22d18acdf8380fb26a8d0e10c80767ylavic - OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
17e6c95f3b22d18acdf8380fb26a8d0e10c80767ylavic - HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
e8bd80a4bb88199d2f9a24a50345688e52d9c116ylavic - LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
e8bd80a4bb88199d2f9a24a50345688e52d9c116ylavic - OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
e8bd80a4bb88199d2f9a24a50345688e52d9c116ylavic - SUCH DAMAGE.
330e16bea8fe9cace4de90c349750c03dfb1fe64ylavic-->
330e16bea8fe9cace4de90c349750c03dfb1fe64ylavic<refentry>
330e16bea8fe9cace4de90c349750c03dfb1fe64ylavic
330e16bea8fe9cace4de90c349750c03dfb1fe64ylavic <refentryinfo>
330e16bea8fe9cace4de90c349750c03dfb1fe64ylavic <date>Jun 30, 2000</date>
330e16bea8fe9cace4de90c349750c03dfb1fe64ylavic </refentryinfo>
330e16bea8fe9cace4de90c349750c03dfb1fe64ylavic
d7205b1a86c51c27b71a2c458dc453fd53a261c1covener <refmeta>
d7205b1a86c51c27b71a2c458dc453fd53a261c1covener <refentrytitle>nslookup</refentrytitle>
d7205b1a86c51c27b71a2c458dc453fd53a261c1covener <manvolnum>1</manvolnum>
d7205b1a86c51c27b71a2c458dc453fd53a261c1covener <refmiscinfo>BIND9</refmiscinfo>
d7205b1a86c51c27b71a2c458dc453fd53a261c1covener </refmeta>
44ff304057225e944e220e981d434a046d14cf06covener
44ff304057225e944e220e981d434a046d14cf06covener <refnamediv>
44ff304057225e944e220e981d434a046d14cf06covener <refname>nslookup</refname>
44ff304057225e944e220e981d434a046d14cf06covener <refpurpose>query Internet name servers interactively</refpurpose>
5d1ba75b8794925e67591c209085a49279791de9covener </refnamediv>
5d1ba75b8794925e67591c209085a49279791de9covener
5d1ba75b8794925e67591c209085a49279791de9covener <docinfo>
032982212dbcc7c3cce95bf89c503bb56e185ac7kbrand <copyright>
032982212dbcc7c3cce95bf89c503bb56e185ac7kbrand <year>2004</year>
032982212dbcc7c3cce95bf89c503bb56e185ac7kbrand <year>2005</year>
032982212dbcc7c3cce95bf89c503bb56e185ac7kbrand <year>2006</year>
caad2986f81ab263f7af41467dd622dc9add17f3ylavic <year>2007</year>
caad2986f81ab263f7af41467dd622dc9add17f3ylavic <holder>Internet Systems Consortium, Inc. ("ISC")</holder>
caad2986f81ab263f7af41467dd622dc9add17f3ylavic </copyright>
caad2986f81ab263f7af41467dd622dc9add17f3ylavic </docinfo>
45a10d38e6051fd7bdf9d742aaae633d97ff02abjailletc
f7317ff316c2b141feea31bddb74d5d3fa1584edjorton <refsynopsisdiv>
f7317ff316c2b141feea31bddb74d5d3fa1584edjorton <cmdsynopsis>
2165214331e4afafca4048f66f303d0253d7b001covener <command>nslookup</command>
a34684a59b60a4173c25035d0c627ef17e6dc215rpluem <arg><option>-option</option></arg>
a34684a59b60a4173c25035d0c627ef17e6dc215rpluem <arg choice="opt">name | -</arg>
1e2d421a36999d292042a5539971070d54aa6c63ylavic <arg choice="opt">server</arg>
1e2d421a36999d292042a5539971070d54aa6c63ylavic </cmdsynopsis>
1e2d421a36999d292042a5539971070d54aa6c63ylavic </refsynopsisdiv>
fa7ed98b9dc94c5845cf845aea0a44ecacd290c9humbedooh
fa7ed98b9dc94c5845cf845aea0a44ecacd290c9humbedooh <refsect1>
fa7ed98b9dc94c5845cf845aea0a44ecacd290c9humbedooh <title>DESCRIPTION</title>
0b67eb8568cd58bb77082703951679b42cf098actrawick <para><command>Nslookup</command>
0b67eb8568cd58bb77082703951679b42cf098actrawick is a program to query Internet domain name servers. <command>Nslookup</command>
0b67eb8568cd58bb77082703951679b42cf098actrawick has two modes: interactive and non-interactive. Interactive mode allows
0b67eb8568cd58bb77082703951679b42cf098actrawick the user to query name servers for information about various hosts and
5ef3c61605a3a021ff71f488983cb0065f8e1a79covener domains or to print a list of hosts in a domain. Non-interactive mode
fb1985a97912b25ec6564c73e610a31e5fc6e25fcovener is
09c87c777bed1655621bb20e1c46cb6b1a63279dcovener used to print just the name and requested information for a host or
6502b7b32f980cc2093bb3ebce37e5e4dc68fba4ylavic domain.
6502b7b32f980cc2093bb3ebce37e5e4dc68fba4ylavic </para>
3060ce7f798fbda7999cd4ddf89b525d2b294185covener </refsect1>
c1a63b8fad09c419c1a64f75993feb8a343a6801ylavic
c1a63b8fad09c419c1a64f75993feb8a343a6801ylavic <refsect1>
c1a63b8fad09c419c1a64f75993feb8a343a6801ylavic <title>ARGUMENTS</title>
e6b4bd1113567627ab6bb6c6a7105e1e01a7d889jailletc <para>
e6b4bd1113567627ab6bb6c6a7105e1e01a7d889jailletc Interactive mode is entered in the following cases:
e466c40e1801982602ee0200c9e8b61cc148742djailletc <orderedlist numeration="loweralpha">
e466c40e1801982602ee0200c9e8b61cc148742djailletc <listitem>
457468b82e59d01eba00dd9d0817309c8f5e414ejim <para>
457468b82e59d01eba00dd9d0817309c8f5e414ejim when no arguments are given (the default name server will be used)
457468b82e59d01eba00dd9d0817309c8f5e414ejim </para>
04983e3bd1754764eec7d6bb772fe3b0bf391771jorton </listitem>
04983e3bd1754764eec7d6bb772fe3b0bf391771jorton <listitem>
15890c9306ba98f6fc243e15a3c4778ddc7d773erpluem <para>
15660979a30d251681463de2e0584853890082accovener when the first argument is a hyphen (-) and the second argument is
15660979a30d251681463de2e0584853890082accovener the host name or Internet address of a name server.
49dacedb6c387b786b7911082ff35121a45f414bcovener </para>
49dacedb6c387b786b7911082ff35121a45f414bcovener </listitem>
cfd9415521847b2f9394fad04fb701cfb955f503rjung </orderedlist>
cfd9415521847b2f9394fad04fb701cfb955f503rjung </para>
cfd9415521847b2f9394fad04fb701cfb955f503rjung
28c31fb73c1264bd1d0ff932573677030b024c7dwrowe <para>
28c31fb73c1264bd1d0ff932573677030b024c7dwrowe Non-interactive mode is used when the name or Internet address of the
28c31fb73c1264bd1d0ff932573677030b024c7dwrowe host to be looked up is given as the first argument. The optional second
28c31fb73c1264bd1d0ff932573677030b024c7dwrowe argument specifies the host name or address of a name server.
28c31fb73c1264bd1d0ff932573677030b024c7dwrowe </para>
8491e0600f69b0405e156ea8a419653c065c645bcovener
63b9f1f5880391261705f696d7d65507bbe9ace3covener <para>
63b9f1f5880391261705f696d7d65507bbe9ace3covener Options can also be specified on the command line if they precede the
63b9f1f5880391261705f696d7d65507bbe9ace3covener arguments and are prefixed with a hyphen. For example, to
49dacedb6c387b786b7911082ff35121a45f414bcovener change the default query type to host information, and the initial
49dacedb6c387b786b7911082ff35121a45f414bcovener timeout to 10 seconds, type:
49dacedb6c387b786b7911082ff35121a45f414bcovener <informalexample>
49dacedb6c387b786b7911082ff35121a45f414bcovener <programlisting>
3c990331fc6702119e4f5b8ba9eae3021aea5265jimnslookup -query=hinfo -timeout=10
3c990331fc6702119e4f5b8ba9eae3021aea5265jim</programlisting>
3c990331fc6702119e4f5b8ba9eae3021aea5265jim </informalexample>
3c990331fc6702119e4f5b8ba9eae3021aea5265jim </para>
fc42512879dd0504532f52fe5d0d0383dda96a1eniq
fc42512879dd0504532f52fe5d0d0383dda96a1eniq </refsect1>
fc42512879dd0504532f52fe5d0d0383dda96a1eniq
0451df5dc50fa5d8b3e07d92ee6a92e36a1181a5niq <refsect1>
0451df5dc50fa5d8b3e07d92ee6a92e36a1181a5niq <title>INTERACTIVE COMMANDS</title>
0451df5dc50fa5d8b3e07d92ee6a92e36a1181a5niq <variablelist>
da0442c0440caef34706e2c2f3af05cb65921cc0jailletc <varlistentry>
983528026996668ea295be95aedb9c7a346af470ylavic <term><constant>host</constant> <optional>server</optional></term>
da0442c0440caef34706e2c2f3af05cb65921cc0jailletc <listitem>
da0442c0440caef34706e2c2f3af05cb65921cc0jailletc <para>
06b8f183140c8e02e0974e938a05078b511d1603covener Look up information for host using the current default server or
06b8f183140c8e02e0974e938a05078b511d1603covener using server, if specified. If host is an Internet address and
06b8f183140c8e02e0974e938a05078b511d1603covener the query type is A or PTR, the name of the host is returned.
15890c9306ba98f6fc243e15a3c4778ddc7d773erpluem If host is a name and does not have a trailing period, the
259878293a997ff49f5ddfc53d3739cbdc25444ecovener search list is used to qualify the name.
259878293a997ff49f5ddfc53d3739cbdc25444ecovener </para>
259878293a997ff49f5ddfc53d3739cbdc25444ecovener
259878293a997ff49f5ddfc53d3739cbdc25444ecovener <para>
15890c9306ba98f6fc243e15a3c4778ddc7d773erpluem To look up a host not in the current domain, append a period to
b54b024c06a19926832d77d40ba35ad8c41e4d3dminfrin the name.
b54b024c06a19926832d77d40ba35ad8c41e4d3dminfrin </para>
b54b024c06a19926832d77d40ba35ad8c41e4d3dminfrin </listitem>
65967d05f839dbf27cf91d91fa79585eeae19660minfrin </varlistentry>
65967d05f839dbf27cf91d91fa79585eeae19660minfrin
65967d05f839dbf27cf91d91fa79585eeae19660minfrin <varlistentry>
65967d05f839dbf27cf91d91fa79585eeae19660minfrin <term><constant>server</constant> <replaceable class="parameter">domain</replaceable></term>
8152945ae46857b170cb227e79bb799f4fc7710dminfrin <listitem>
8152945ae46857b170cb227e79bb799f4fc7710dminfrin <para/>
8152945ae46857b170cb227e79bb799f4fc7710dminfrin </listitem>
8152945ae46857b170cb227e79bb799f4fc7710dminfrin </varlistentry>
75f5c2db254c0167a0e396254460de09b775d203trawick <varlistentry>
75f5c2db254c0167a0e396254460de09b775d203trawick <term><constant>lserver</constant> <replaceable class="parameter">domain</replaceable></term>
75f5c2db254c0167a0e396254460de09b775d203trawick <listitem>
4f0358189bfa57b8e75bd6b94db264302a8f336amrumph <para>
4f0358189bfa57b8e75bd6b94db264302a8f336amrumph Change the default server to <replaceable>domain</replaceable>; <constant>lserver</constant> uses the initial
4f0358189bfa57b8e75bd6b94db264302a8f336amrumph server to look up information about <replaceable>domain</replaceable>, while <constant>server</constant> uses
5716f9c6daa92dde5f2f9d11ed63f7c9549c223atrawick the current default server. If an authoritative answer can't be
5716f9c6daa92dde5f2f9d11ed63f7c9549c223atrawick found, the names of servers that might have the answer are
5716f9c6daa92dde5f2f9d11ed63f7c9549c223atrawick returned.
5716f9c6daa92dde5f2f9d11ed63f7c9549c223atrawick </para>
54d750a84a175d8e338880514d440773eb986b50covener </listitem>
54d750a84a175d8e338880514d440773eb986b50covener </varlistentry>
54d750a84a175d8e338880514d440773eb986b50covener
54d750a84a175d8e338880514d440773eb986b50covener <varlistentry>
54d750a84a175d8e338880514d440773eb986b50covener <term><constant>root</constant></term>
54d750a84a175d8e338880514d440773eb986b50covener <listitem>
54d750a84a175d8e338880514d440773eb986b50covener <para>
54d750a84a175d8e338880514d440773eb986b50covener not implemented
7a3aa12f0eda24793ee26d6a179bd53132e9dae8covener </para>
54d750a84a175d8e338880514d440773eb986b50covener </listitem>
54d750a84a175d8e338880514d440773eb986b50covener </varlistentry>
83b50288fa7d306324bba68832011ea08f5c7832covener
4e30ef014533a7e93c92d88306291f5e49c9692ftrawick <varlistentry>
83b50288fa7d306324bba68832011ea08f5c7832covener <term><constant>finger</constant></term>
5f066f496cd9f20a2a701255bc67d44e7cb46daetrawick <listitem>
5f066f496cd9f20a2a701255bc67d44e7cb46daetrawick <para>
5f066f496cd9f20a2a701255bc67d44e7cb46daetrawick not implemented
2e15620d724fb8e3a5be183b917359a2fd6e9468covener </para>
2e15620d724fb8e3a5be183b917359a2fd6e9468covener </listitem>
2e15620d724fb8e3a5be183b917359a2fd6e9468covener </varlistentry>
2e15620d724fb8e3a5be183b917359a2fd6e9468covener
1b988c41ee505962781d110a3e4c2c90f1ea0aa4covener <varlistentry>
1b988c41ee505962781d110a3e4c2c90f1ea0aa4covener <term><constant>ls</constant></term>
1b988c41ee505962781d110a3e4c2c90f1ea0aa4covener <listitem>
1b988c41ee505962781d110a3e4c2c90f1ea0aa4covener <para>
b8efdc95bec9cf089aa1be0bfd07d46aa1137a7acovener not implemented
b8efdc95bec9cf089aa1be0bfd07d46aa1137a7acovener </para>
b8efdc95bec9cf089aa1be0bfd07d46aa1137a7acovener </listitem>
f06e7c4b1bce6b6491e5de0b7998d3f5696b293dchrisd </varlistentry>
f06e7c4b1bce6b6491e5de0b7998d3f5696b293dchrisd
f06e7c4b1bce6b6491e5de0b7998d3f5696b293dchrisd <varlistentry>
179565be4043d7e5f9161aa75271fa0a001866d9covener <term><constant>view</constant></term>
179565be4043d7e5f9161aa75271fa0a001866d9covener <listitem>
179565be4043d7e5f9161aa75271fa0a001866d9covener <para>
111436a32ba1254291e4883292fb116d15fe8f64covener not implemented
fce4949fb0b309a5744afcd503c6ed2d35621ee2covener </para>
fce4949fb0b309a5744afcd503c6ed2d35621ee2covener </listitem>
fce4949fb0b309a5744afcd503c6ed2d35621ee2covener </varlistentry>
fce4949fb0b309a5744afcd503c6ed2d35621ee2covener
7b7430e701e9a31ce809da7c220bb8dfcf68c86etrawick <varlistentry>
7b7430e701e9a31ce809da7c220bb8dfcf68c86etrawick <term><constant>help</constant></term>
7b7430e701e9a31ce809da7c220bb8dfcf68c86etrawick <listitem>
ccc20788c1e5fc973f36df634399c89acb70deaejerenkrantz <para>
ccc20788c1e5fc973f36df634399c89acb70deaejerenkrantz not implemented
ccc20788c1e5fc973f36df634399c89acb70deaejerenkrantz </para>
273e512f20f262e5e2aa8e0e83371d1929fb76adjkaluza </listitem>
273e512f20f262e5e2aa8e0e83371d1929fb76adjkaluza </varlistentry>
273e512f20f262e5e2aa8e0e83371d1929fb76adjkaluza
efe780dcf13b2b95effabf897d694d8f23feac74trawick <varlistentry>
fe83f60b41477b14a37edcfcd1f7f5c5a1ebfe44minfrin <term><constant>?</constant></term>
fe83f60b41477b14a37edcfcd1f7f5c5a1ebfe44minfrin <listitem>
fe83f60b41477b14a37edcfcd1f7f5c5a1ebfe44minfrin <para>
993d1261a278d7322bccef219101220b7b4fb8c5jkaluza not implemented
993d1261a278d7322bccef219101220b7b4fb8c5jkaluza </para>
993d1261a278d7322bccef219101220b7b4fb8c5jkaluza </listitem>
ba050a6f942b9fa0e81ed73437588005c569655ccovener </varlistentry>
ba050a6f942b9fa0e81ed73437588005c569655ccovener
ba050a6f942b9fa0e81ed73437588005c569655ccovener <varlistentry>
ba050a6f942b9fa0e81ed73437588005c569655ccovener <term><constant>exit</constant></term>
135ddda3a989215d2bedbcf1529bfb269c3eda23niq <listitem>
135ddda3a989215d2bedbcf1529bfb269c3eda23niq <para>
135ddda3a989215d2bedbcf1529bfb269c3eda23niq Exits the program.
001a44c352f89c9ec332ffd3e0a6927dcd19432chumbedooh </para>
001a44c352f89c9ec332ffd3e0a6927dcd19432chumbedooh </listitem>
001a44c352f89c9ec332ffd3e0a6927dcd19432chumbedooh </varlistentry>
efe780dcf13b2b95effabf897d694d8f23feac74trawick
793214f67dede32edfd9ee96c664ead04d175cbbjfclere <varlistentry>
cc5a4a08dc9783fcbc52ce86f11e01c281a43810minfrin <term><constant>set</constant>
9b0076ddd1103e5fa9c1f9bafde4b06ce244fbaecovener <replaceable>keyword<optional>=value</optional></replaceable></term>
9b0076ddd1103e5fa9c1f9bafde4b06ce244fbaecovener <listitem>
9b0076ddd1103e5fa9c1f9bafde4b06ce244fbaecovener <para>
249d09d51808cb7981af99762c3b3736ca126cd5jkaluza This command is used to change state information that affects
249d09d51808cb7981af99762c3b3736ca126cd5jkaluza the lookups. Valid keywords are:
249d09d51808cb7981af99762c3b3736ca126cd5jkaluza <variablelist>
249d09d51808cb7981af99762c3b3736ca126cd5jkaluza <varlistentry>
56589be3d7a3e9343370df240010c6928cc78b39jkaluza <term><constant>all</constant></term>
56589be3d7a3e9343370df240010c6928cc78b39jkaluza <listitem>
56589be3d7a3e9343370df240010c6928cc78b39jkaluza <para>
77ca16c5676da23155311e13cee61e7eaba9fa3ejailletc Prints the current values of the frequently used
77ca16c5676da23155311e13cee61e7eaba9fa3ejailletc options to <command>set</command>.
77ca16c5676da23155311e13cee61e7eaba9fa3ejailletc Information about the current default
77ca16c5676da23155311e13cee61e7eaba9fa3ejailletc server and host is also printed.
f87299dab99bc04b51a6b8cad51b6795db862c0atrawick </para>
f87299dab99bc04b51a6b8cad51b6795db862c0atrawick </listitem>
f87299dab99bc04b51a6b8cad51b6795db862c0atrawick </varlistentry>
4d12805e6c18253040223ea637acd6b3b3c18f60jorton
4d12805e6c18253040223ea637acd6b3b3c18f60jorton <varlistentry>
4d12805e6c18253040223ea637acd6b3b3c18f60jorton <term><constant>class=</constant><replaceable>value</replaceable></term>
85eacfc96a04547ef25aabbc06440039715084c2jorton <listitem>
85eacfc96a04547ef25aabbc06440039715084c2jorton <para>
e5d909f2b06bd880fb3675cd49363df981caa631trawick Change the query class to one of:
a4df2cd1e1391575a327c2a90ba4315f805a0a78covener <variablelist>
a4df2cd1e1391575a327c2a90ba4315f805a0a78covener <varlistentry>
a4df2cd1e1391575a327c2a90ba4315f805a0a78covener <term><constant>IN</constant></term>
cb666b29f81df1d11d65002250153353568021fccovener <listitem>
cb666b29f81df1d11d65002250153353568021fccovener <para>
cb666b29f81df1d11d65002250153353568021fccovener the Internet class
6a80c3c6f4b8ea7ba5e89402b8b779b09ce020e0covener </para>
1c2cab00d988fc48cbe59032cf76cc0bab20d6f7covener </listitem>
6a80c3c6f4b8ea7ba5e89402b8b779b09ce020e0covener </varlistentry>
75a230a728338d84dcfe81edd375352f34de22d0covener <varlistentry>
75a230a728338d84dcfe81edd375352f34de22d0covener <term><constant>CH</constant></term>
75a230a728338d84dcfe81edd375352f34de22d0covener <listitem>
1f50dc34ae069adeed20b2986e5ffdefa5c410e0covener <para>
1f50dc34ae069adeed20b2986e5ffdefa5c410e0covener the Chaos class
1f50dc34ae069adeed20b2986e5ffdefa5c410e0covener </para>
63a5ea80bddcc84a462e40f402b4f330e0e05411covener </listitem>
63a5ea80bddcc84a462e40f402b4f330e0e05411covener </varlistentry>
63a5ea80bddcc84a462e40f402b4f330e0e05411covener <varlistentry>
63a5ea80bddcc84a462e40f402b4f330e0e05411covener <term><constant>HS</constant></term>
65a4e663b82f8bce28ac22ab2edfd7502de36998sf <listitem>
65a4e663b82f8bce28ac22ab2edfd7502de36998sf <para>
65a4e663b82f8bce28ac22ab2edfd7502de36998sf the Hesiod class
65a4e663b82f8bce28ac22ab2edfd7502de36998sf </para>
c7de1955eb0eaeabf7042902476397692672d549sf </listitem>
74e7f6c55fd67b10cb400b3f6d1dc718a303d944minfrin </varlistentry>
74e7f6c55fd67b10cb400b3f6d1dc718a303d944minfrin <varlistentry>
74e7f6c55fd67b10cb400b3f6d1dc718a303d944minfrin <term><constant>ANY</constant></term>
74e7f6c55fd67b10cb400b3f6d1dc718a303d944minfrin <listitem>
a511a29faf2ff7ead3b67680154a624effb31aafminfrin <para>
a511a29faf2ff7ead3b67680154a624effb31aafminfrin wildcard
a511a29faf2ff7ead3b67680154a624effb31aafminfrin </para>
a511a29faf2ff7ead3b67680154a624effb31aafminfrin </listitem>
a511a29faf2ff7ead3b67680154a624effb31aafminfrin </varlistentry>
63921358ef93fcb41bc71d9894221ba3d7fbb87bminfrin </variablelist>
63921358ef93fcb41bc71d9894221ba3d7fbb87bminfrin The class specifies the protocol group of the information.
63921358ef93fcb41bc71d9894221ba3d7fbb87bminfrin
deec48c67d4786bc77112ffbf3a4e70b931097edminfrin </para>
6d601599d3d65df0410eae6e573e75b2dbfb1fb4minfrin <para>
6d601599d3d65df0410eae6e573e75b2dbfb1fb4minfrin (Default = IN; abbreviation = cl)
6d601599d3d65df0410eae6e573e75b2dbfb1fb4minfrin </para>
6d601599d3d65df0410eae6e573e75b2dbfb1fb4minfrin </listitem>
684e0cfc200f66287a93bbd1708d1dd8a92a7eefcovener </varlistentry>
684e0cfc200f66287a93bbd1708d1dd8a92a7eefcovener
5c43d2fb853f84497b5ece2d414ef9484aa87e5fsf <varlistentry>
05a5a9c3e16f21566e1b61f4bd68025ce1b741ccjoes <term><constant>
05a5a9c3e16f21566e1b61f4bd68025ce1b741ccjoes <replaceable><optional>no</optional></replaceable>debug</constant></term>
ef82e8fa164e0a1f8b813f7deb6b7ead96018c94niq <listitem>
26c5829347f6a355c00f1ba0301d575056b69536niq <para>
ef82e8fa164e0a1f8b813f7deb6b7ead96018c94niq Turn on or off the display of the full response packet and
ef82e8fa164e0a1f8b813f7deb6b7ead96018c94niq any intermediate response packets when searching.
ef82e8fa164e0a1f8b813f7deb6b7ead96018c94niq </para>
ef82e8fa164e0a1f8b813f7deb6b7ead96018c94niq <para>
ef82e8fa164e0a1f8b813f7deb6b7ead96018c94niq (Default = nodebug; abbreviation = <optional>no</optional>deb)
ef82e8fa164e0a1f8b813f7deb6b7ead96018c94niq </para>
413ee814748f37be168ff12407fa6dba0ceeabe6trawick </listitem>
c12917da693bae4028a1d5a5e8224bceed8c739dsf </varlistentry>
c12917da693bae4028a1d5a5e8224bceed8c739dsf
eafcc0ebf263d0ba69855b6e10958c4c1a2361bdsf <varlistentry>
eafcc0ebf263d0ba69855b6e10958c4c1a2361bdsf <term><constant>
eafcc0ebf263d0ba69855b6e10958c4c1a2361bdsf <replaceable><optional>no</optional></replaceable>d2</constant></term>
eafcc0ebf263d0ba69855b6e10958c4c1a2361bdsf <listitem>
eafcc0ebf263d0ba69855b6e10958c4c1a2361bdsf <para>
d7ffd2da16d58b1a0de212e4d56f7aebb72bef26sf Turn debugging mode on or off. This displays more about
d7ffd2da16d58b1a0de212e4d56f7aebb72bef26sf about what nslookup is doing.
d7ffd2da16d58b1a0de212e4d56f7aebb72bef26sf </para>
4576c1a9ef54cd1e5555ee07d016a7f559f80338sf <para>
4576c1a9ef54cd1e5555ee07d016a7f559f80338sf (Default = nod2)
4576c1a9ef54cd1e5555ee07d016a7f559f80338sf </para>
9811aed12bbc71783d2e544ccb5fecd193843eadsf </listitem>
9811aed12bbc71783d2e544ccb5fecd193843eadsf </varlistentry>
9811aed12bbc71783d2e544ccb5fecd193843eadsf
88fac54d9d64f85bbdab5d7010816f4377f95bd7rjung <varlistentry>
88fac54d9d64f85bbdab5d7010816f4377f95bd7rjung <term><constant>domain=</constant><replaceable>name</replaceable></term>
bd3f5647b96d378d9c75c954e3f13582af32c643sf <listitem>
bd3f5647b96d378d9c75c954e3f13582af32c643sf <para>
bd3f5647b96d378d9c75c954e3f13582af32c643sf Sets the search list to <replaceable>name</replaceable>.
bd3f5647b96d378d9c75c954e3f13582af32c643sf </para>
bd3f5647b96d378d9c75c954e3f13582af32c643sf </listitem>
2a7beea91d46beb41f043a84eaad060047ee04aafabien </varlistentry>
2a7beea91d46beb41f043a84eaad060047ee04aafabien
2a7beea91d46beb41f043a84eaad060047ee04aafabien <varlistentry>
2a7beea91d46beb41f043a84eaad060047ee04aafabien <term><constant>
584a85dd4047e38d3ed3a29b6662fcc9d100ae4csf <replaceable><optional>no</optional></replaceable>search</constant></term>
584a85dd4047e38d3ed3a29b6662fcc9d100ae4csf <listitem>
584a85dd4047e38d3ed3a29b6662fcc9d100ae4csf <para>
f21e9e3d0bfb7a507ecc5bc963f2159d693503d1sf If the lookup request contains at least one period but
f21e9e3d0bfb7a507ecc5bc963f2159d693503d1sf doesn't end with a trailing period, append the domain
f21e9e3d0bfb7a507ecc5bc963f2159d693503d1sf names in the domain search list to the request until an
f6b9c755a0b793e8a3a3aebd327ca20a86478117sf answer is received.
f6b9c755a0b793e8a3a3aebd327ca20a86478117sf </para>
f6b9c755a0b793e8a3a3aebd327ca20a86478117sf <para>
132ee6ac1c26d6e8953836316ba50734eefab47bsf (Default = search)
132ee6ac1c26d6e8953836316ba50734eefab47bsf </para>
132ee6ac1c26d6e8953836316ba50734eefab47bsf </listitem>
85eacfc96a04547ef25aabbc06440039715084c2jorton </varlistentry>
85eacfc96a04547ef25aabbc06440039715084c2jorton
85eacfc96a04547ef25aabbc06440039715084c2jorton <varlistentry>
536d2e7cd1fdec1255b8c3bdf41fdc714c506a54trawick <term><constant>port=</constant><replaceable>value</replaceable></term>
536d2e7cd1fdec1255b8c3bdf41fdc714c506a54trawick <listitem>
536d2e7cd1fdec1255b8c3bdf41fdc714c506a54trawick <para>
536d2e7cd1fdec1255b8c3bdf41fdc714c506a54trawick Change the default TCP/UDP name server port to <replaceable>value</replaceable>.
79c5787b92ac5f0e1cc82393816c77a006399316trawick </para>
79c5787b92ac5f0e1cc82393816c77a006399316trawick <para>
79c5787b92ac5f0e1cc82393816c77a006399316trawick (Default = 53; abbreviation = po)
79c5787b92ac5f0e1cc82393816c77a006399316trawick </para>
c967bf3bc89e8aa60dbd30d9da388e448ddc1cc4trawick </listitem>
79c5787b92ac5f0e1cc82393816c77a006399316trawick </varlistentry>
79c5787b92ac5f0e1cc82393816c77a006399316trawick
79c5787b92ac5f0e1cc82393816c77a006399316trawick <varlistentry>
79c5787b92ac5f0e1cc82393816c77a006399316trawick <term><constant>querytype=</constant><replaceable>value</replaceable></term>
79c5787b92ac5f0e1cc82393816c77a006399316trawick <listitem>
7b395e4e878c28a4784919cfd2e704ddd14a3390jorton <para/>
7b395e4e878c28a4784919cfd2e704ddd14a3390jorton </listitem>
7b395e4e878c28a4784919cfd2e704ddd14a3390jorton </varlistentry>
7b395e4e878c28a4784919cfd2e704ddd14a3390jorton
536e48c08d674acac5d44929318f2ad928edc361jorton <varlistentry>
536e48c08d674acac5d44929318f2ad928edc361jorton <term><constant>type=</constant><replaceable>value</replaceable></term>
e81785da447b469da66f218b3f0244aab507958djorton <listitem>
e81785da447b469da66f218b3f0244aab507958djorton <para>
3e4e54d4e3fc0123c63d57aa84ac7ad7a8c73ff8jorton Change the type of the information query.
3e4e54d4e3fc0123c63d57aa84ac7ad7a8c73ff8jorton </para>
3e4e54d4e3fc0123c63d57aa84ac7ad7a8c73ff8jorton <para>
53e9b27aba029b18be814df40bcf6f0428771d1efuankg (Default = A; abbreviations = q, ty)
53e9b27aba029b18be814df40bcf6f0428771d1efuankg </para>
53e9b27aba029b18be814df40bcf6f0428771d1efuankg </listitem>
53e9b27aba029b18be814df40bcf6f0428771d1efuankg </varlistentry>
53e9b27aba029b18be814df40bcf6f0428771d1efuankg
6bb524f1895f30265a1431afc460977d391cb36bsf <varlistentry>
6bb524f1895f30265a1431afc460977d391cb36bsf <term><constant>
ca61ccd0c306c2c72df153688ba1b49f3eceed80sf <replaceable><optional>no</optional></replaceable>recurse</constant></term>
6bb524f1895f30265a1431afc460977d391cb36bsf <listitem>
e6dd71992459d05a676b98b7963423dc5dc1e24aminfrin <para>
e6dd71992459d05a676b98b7963423dc5dc1e24aminfrin Tell the name server to query other servers if it does not
e6dd71992459d05a676b98b7963423dc5dc1e24aminfrin have the
e6dd71992459d05a676b98b7963423dc5dc1e24aminfrin information.
23f1535d6a60817d2846bac0aea230ea475d7dccminfrin </para>
23f1535d6a60817d2846bac0aea230ea475d7dccminfrin <para>
23f1535d6a60817d2846bac0aea230ea475d7dccminfrin (Default = recurse; abbreviation = [no]rec)
23f1535d6a60817d2846bac0aea230ea475d7dccminfrin </para>
ec7520b24cd80d34d82bbcaca153cbb23cc04bc0rjung </listitem>
ec7520b24cd80d34d82bbcaca153cbb23cc04bc0rjung </varlistentry>
ec7520b24cd80d34d82bbcaca153cbb23cc04bc0rjung
ec7520b24cd80d34d82bbcaca153cbb23cc04bc0rjung <varlistentry>
ec7520b24cd80d34d82bbcaca153cbb23cc04bc0rjung <term><constant>retry=</constant><replaceable>number</replaceable></term>
ec7520b24cd80d34d82bbcaca153cbb23cc04bc0rjung <listitem>
ec7520b24cd80d34d82bbcaca153cbb23cc04bc0rjung <para>
ec7520b24cd80d34d82bbcaca153cbb23cc04bc0rjung Set the number of retries to number.
6249dfa569d3b4f1f539665b979a80c6e335d93etrawick </para>
6249dfa569d3b4f1f539665b979a80c6e335d93etrawick </listitem>
0827cb14e550f6f65018431c22c2c913631c8f25kbrand </varlistentry>
6249dfa569d3b4f1f539665b979a80c6e335d93etrawick
ae600ca541efc686b34f8b1f21bd3d0741d37674covener <varlistentry>
6249dfa569d3b4f1f539665b979a80c6e335d93etrawick <term><constant>timeout=</constant><replaceable>number</replaceable></term>
cfa64348224b66dd1c9979b809406c4d15b1c137fielding <listitem>
74499a117b3b2cd9666715a14f90c0e5d1a4ee8ajim <para>
cfa64348224b66dd1c9979b809406c4d15b1c137fielding Change the initial timeout interval for waiting for a
74499a117b3b2cd9666715a14f90c0e5d1a4ee8ajim reply to number seconds.
cfa64348224b66dd1c9979b809406c4d15b1c137fielding </para>
74499a117b3b2cd9666715a14f90c0e5d1a4ee8ajim </listitem>
cfa64348224b66dd1c9979b809406c4d15b1c137fielding </varlistentry>
74499a117b3b2cd9666715a14f90c0e5d1a4ee8ajim
cfa64348224b66dd1c9979b809406c4d15b1c137fielding <varlistentry>
<term><constant>
<replaceable><optional>no</optional></replaceable>vc</constant></term>
<listitem>
<para>
Always use a virtual circuit when sending requests to the
server.
</para>
<para>
(Default = novc)
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>
<replaceable><optional>no</optional></replaceable>fail</constant></term>
<listitem>
<para>
Try the next nameserver if a nameserver responds with
SERVFAIL or a referral (nofail) or terminate query
(fail) on such a response.
</para>
<para>
(Default = nofail)
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1>
<title>FILES</title>
<para><filename>/etc/resolv.conf</filename>
</para>
</refsect1>
<refsect1>
<title>SEE ALSO</title>
<para><citerefentry>
<refentrytitle>dig</refentrytitle><manvolnum>1</manvolnum>
</citerefentry>,
<citerefentry>
<refentrytitle>host</refentrytitle><manvolnum>1</manvolnum>
</citerefentry>,
<citerefentry>
<refentrytitle>named</refentrytitle><manvolnum>8</manvolnum>
</citerefentry>.
</para>
</refsect1>
<refsect1>
<title>Author</title>
<para>
Andrew Cherenson
</para>
</refsect1>
</refentry><!--
- Local variables:
- mode: sgml
- End:
-->