nslookup.docbook revision 8afea636ab0c07399aa3e2410b2cfbd41099df98
947bd6c648bd29bc226971324de1b30230a56a22David Lawrence<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
947bd6c648bd29bc226971324de1b30230a56a22David Lawrence "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
947bd6c648bd29bc226971324de1b30230a56a22David Lawrence [<!ENTITY mdash "&#8212;">]>
878363c06b3d42f8fa4acca0c4aec9252b7844d9David Lawrence<!--
878363c06b3d42f8fa4acca0c4aec9252b7844d9David Lawrence - Copyright (C) 2004-2007, 2010 Internet Systems Consortium, Inc. ("ISC")
cc5547dbcb04bdc498cf050c6104a1974f68c6eaAndreas Gustafsson -
cc5547dbcb04bdc498cf050c6104a1974f68c6eaAndreas Gustafsson - Permission to use, copy, modify, and/or distribute this software for any
b8957f3496b6a900df9ca263864a47dbb1cb8978David Lawrence - purpose with or without fee is hereby granted, provided that the above
b8957f3496b6a900df9ca263864a47dbb1cb8978David Lawrence - copyright notice and this permission notice appear in all copies.
c7f22f83aac9e61dafee191cad040e9c42652cc8David Lawrence -
c7f22f83aac9e61dafee191cad040e9c42652cc8David Lawrence - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
c7f22f83aac9e61dafee191cad040e9c42652cc8David Lawrence - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
c4717613e45323ed23dc6e9162cba89f1f83830cDavid Lawrence - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
c4717613e45323ed23dc6e9162cba89f1f83830cDavid Lawrence - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
c4717613e45323ed23dc6e9162cba89f1f83830cDavid Lawrence - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
f6d6835ed5bb14f7d87cb9b736deadf9de2085ddAndreas Gustafsson - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
f6d6835ed5bb14f7d87cb9b736deadf9de2085ddAndreas Gustafsson - PERFORMANCE OF THIS SOFTWARE.
f6d6835ed5bb14f7d87cb9b736deadf9de2085ddAndreas Gustafsson-->
d41c9885ecfb4be7382fd32a58ae4a9fb2056b81David Lawrence
d41c9885ecfb4be7382fd32a58ae4a9fb2056b81David Lawrence<!-- $Id: nslookup.docbook,v 1.18 2010/02/22 23:49:11 tbox Exp $ -->
38feb01f1b0a3ac65897ae63c22c27c72e8cfda1David Lawrence<!--
38feb01f1b0a3ac65897ae63c22c27c72e8cfda1David Lawrence - Copyright (c) 1985, 1989
38feb01f1b0a3ac65897ae63c22c27c72e8cfda1David Lawrence - The Regents of the University of California. All rights reserved.
38feb01f1b0a3ac65897ae63c22c27c72e8cfda1David Lawrence -
802aa6f2b70cc0b4e69ef0a1dcab0a8d68a0fdeaDavid Lawrence - Redistribution and use in source and binary forms, with or without
802aa6f2b70cc0b4e69ef0a1dcab0a8d68a0fdeaDavid Lawrence - modification, are permitted provided that the following conditions
802aa6f2b70cc0b4e69ef0a1dcab0a8d68a0fdeaDavid Lawrence - are met:
5b27fa26dd1288f61de9ace6f4ec56be63858048David Lawrence - 1. Redistributions of source code must retain the above copyright
5b27fa26dd1288f61de9ace6f4ec56be63858048David Lawrence - notice, this list of conditions and the following disclaimer.
5b27fa26dd1288f61de9ace6f4ec56be63858048David Lawrence - 2. Redistributions in binary form must reproduce the above copyright
5b27fa26dd1288f61de9ace6f4ec56be63858048David Lawrence - notice, this list of conditions and the following disclaimer in the
5b27fa26dd1288f61de9ace6f4ec56be63858048David Lawrence - documentation and/or other materials provided with the distribution.
5b27fa26dd1288f61de9ace6f4ec56be63858048David Lawrence - 3. All advertising materials mentioning features or use of this software
32d7adf5ee52c5a86122ee3d9e35a894fc5ed0a6Bob Halley - must display the following acknowledgement:
32d7adf5ee52c5a86122ee3d9e35a894fc5ed0a6Bob Halley - This product includes software developed by the University of
32d7adf5ee52c5a86122ee3d9e35a894fc5ed0a6Bob Halley - California, Berkeley and its contributors.
32d7adf5ee52c5a86122ee3d9e35a894fc5ed0a6Bob Halley - 4. Neither the name of the University nor the names of its contributors
32d7adf5ee52c5a86122ee3d9e35a894fc5ed0a6Bob Halley - may be used to endorse or promote products derived from this software
32d7adf5ee52c5a86122ee3d9e35a894fc5ed0a6Bob Halley - without specific prior written permission.
32d7adf5ee52c5a86122ee3d9e35a894fc5ed0a6Bob Halley -
32d7adf5ee52c5a86122ee3d9e35a894fc5ed0a6Bob Halley - THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
32d7adf5ee52c5a86122ee3d9e35a894fc5ed0a6Bob Halley - ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
32d7adf5ee52c5a86122ee3d9e35a894fc5ed0a6Bob Halley - IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
cc43f2461d2b7da80105cf6d1b96bda4e93303cdDavid Lawrence - ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
cc43f2461d2b7da80105cf6d1b96bda4e93303cdDavid Lawrence - FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
58bc93c3ddbdf0b2fde9b7d2b4342f90d83ec633David Lawrence - DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
58bc93c3ddbdf0b2fde9b7d2b4342f90d83ec633David Lawrence - OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
58bc93c3ddbdf0b2fde9b7d2b4342f90d83ec633David Lawrence - HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
7ce81e15fa98db5b13fba06d54526e8679ac064cDavid Lawrence - LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
7ce81e15fa98db5b13fba06d54526e8679ac064cDavid Lawrence - OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
8fedfa7b45989d3c1715e414637bc1a96331fd14David Lawrence - SUCH DAMAGE.
8fedfa7b45989d3c1715e414637bc1a96331fd14David Lawrence-->
7da5c63dc0eaeec88aaf67b7aeee43ab0b0125baDavid Lawrence<refentry>
7da5c63dc0eaeec88aaf67b7aeee43ab0b0125baDavid Lawrence
7da5c63dc0eaeec88aaf67b7aeee43ab0b0125baDavid Lawrence <refentryinfo>
7da5c63dc0eaeec88aaf67b7aeee43ab0b0125baDavid Lawrence <date>Jun 30, 2000</date>
7da5c63dc0eaeec88aaf67b7aeee43ab0b0125baDavid Lawrence </refentryinfo>
7da5c63dc0eaeec88aaf67b7aeee43ab0b0125baDavid Lawrence
32eeec855957c3dd38f0d6c98ca79b67a71300b6Brian Wellington <refmeta>
32eeec855957c3dd38f0d6c98ca79b67a71300b6Brian Wellington <refentrytitle>nslookup</refentrytitle>
f3f88c6802df4cfee59439b19a1c49637b70342dDavid Lawrence <manvolnum>1</manvolnum>
f3f88c6802df4cfee59439b19a1c49637b70342dDavid Lawrence <refmiscinfo>BIND9</refmiscinfo>
f3f88c6802df4cfee59439b19a1c49637b70342dDavid Lawrence </refmeta>
77f372eed39827f5efef476602de7c0505f99b91David Lawrence
77f372eed39827f5efef476602de7c0505f99b91David Lawrence <refnamediv>
77f372eed39827f5efef476602de7c0505f99b91David Lawrence <refname>nslookup</refname>
8b7304a34c751e519ede7d00b77f1f962c0a37e4David Lawrence <refpurpose>query Internet name servers interactively</refpurpose>
8b7304a34c751e519ede7d00b77f1f962c0a37e4David Lawrence </refnamediv>
8b7304a34c751e519ede7d00b77f1f962c0a37e4David Lawrence
8b7304a34c751e519ede7d00b77f1f962c0a37e4David Lawrence <docinfo>
8b7304a34c751e519ede7d00b77f1f962c0a37e4David Lawrence <copyright>
8b7304a34c751e519ede7d00b77f1f962c0a37e4David Lawrence <year>2004</year>
cabcfd3e90a647c7bab3c5cc3ef7b36f49830787David Lawrence <year>2005</year>
cabcfd3e90a647c7bab3c5cc3ef7b36f49830787David Lawrence <year>2006</year>
cabcfd3e90a647c7bab3c5cc3ef7b36f49830787David Lawrence <year>2007</year>
cabcfd3e90a647c7bab3c5cc3ef7b36f49830787David Lawrence <year>2010</year>
cabcfd3e90a647c7bab3c5cc3ef7b36f49830787David Lawrence <holder>Internet Systems Consortium, Inc. ("ISC")</holder>
585529aaeb95a71cd3d95df2602a4688fc7c3292David Lawrence </copyright>
585529aaeb95a71cd3d95df2602a4688fc7c3292David Lawrence </docinfo>
585529aaeb95a71cd3d95df2602a4688fc7c3292David Lawrence
585529aaeb95a71cd3d95df2602a4688fc7c3292David Lawrence <refsynopsisdiv>
585529aaeb95a71cd3d95df2602a4688fc7c3292David Lawrence <cmdsynopsis>
d111a46c88adda33a93839f4934e127b6147d87dBob Halley <command>nslookup</command>
e4e183af576855f4ccc9fc28084ffe095aaa5b55Andreas Gustafsson <arg><option>-option</option></arg>
e4e183af576855f4ccc9fc28084ffe095aaa5b55Andreas Gustafsson <arg choice="opt">name | -</arg>
e4e183af576855f4ccc9fc28084ffe095aaa5b55Andreas Gustafsson <arg choice="opt">server</arg>
e49a98d47fea220023c22bcc7204f13f7f0b07feBrian Wellington </cmdsynopsis>
6f17d90364f01c3e81073a9ffb40b0093878c8e2Brian Wellington </refsynopsisdiv>
195da2b26542b85d60308b2af35ea9966df9c3bbMichael Graff
195da2b26542b85d60308b2af35ea9966df9c3bbMichael Graff <refsect1>
195da2b26542b85d60308b2af35ea9966df9c3bbMichael Graff <title>DESCRIPTION</title>
e9a9ae4fc627f24cb960a3008f2723ba9a55b274Brian Wellington <para><command>Nslookup</command>
e9a9ae4fc627f24cb960a3008f2723ba9a55b274Brian Wellington is a program to query Internet domain name servers. <command>Nslookup</command>
e9a9ae4fc627f24cb960a3008f2723ba9a55b274Brian Wellington has two modes: interactive and non-interactive. Interactive mode allows
d1bdeae7bb7a0642170d5476c2fd901db3028143Andreas Gustafsson the user to query name servers for information about various hosts and
d1bdeae7bb7a0642170d5476c2fd901db3028143Andreas Gustafsson domains or to print a list of hosts in a domain. Non-interactive mode
d1bdeae7bb7a0642170d5476c2fd901db3028143Andreas Gustafsson is
d111a46c88adda33a93839f4934e127b6147d87dBob Halley used to print just the name and requested information for a host or
d111a46c88adda33a93839f4934e127b6147d87dBob Halley domain.
d111a46c88adda33a93839f4934e127b6147d87dBob Halley </para>
d111a46c88adda33a93839f4934e127b6147d87dBob Halley </refsect1>
585529aaeb95a71cd3d95df2602a4688fc7c3292David Lawrence
9e53cbca72767d0c91962b7a01650ea07d7398ddMark Andrews <refsect1>
585529aaeb95a71cd3d95df2602a4688fc7c3292David Lawrence <title>ARGUMENTS</title>
9e53cbca72767d0c91962b7a01650ea07d7398ddMark Andrews <para>
585529aaeb95a71cd3d95df2602a4688fc7c3292David Lawrence Interactive mode is entered in the following cases:
2d0c5f1eada2015324cb89c11c7c5c11cccb493fAndreas Gustafsson <orderedlist numeration="loweralpha">
3bb3b7ac462a90c2b8b1fb783324d800e2ba748cMichael Graff <listitem>
3bb3b7ac462a90c2b8b1fb783324d800e2ba748cMichael Graff <para>
3bb3b7ac462a90c2b8b1fb783324d800e2ba748cMichael Graff when no arguments are given (the default name server will be used)
c6adcd09c8d5c0acd47a8dccb8061bb1105cad95Michael Graff </para>
c6adcd09c8d5c0acd47a8dccb8061bb1105cad95Michael Graff </listitem>
b5fff54fe9335b20c02d749831fc0eaeda97198fBrian Wellington <listitem>
15a0ed30600ea88fe1227233155586f0c3c6cc34Bob Halley <para>
15a0ed30600ea88fe1227233155586f0c3c6cc34Bob Halley when the first argument is a hyphen (-) and the second argument is
15a0ed30600ea88fe1227233155586f0c3c6cc34Bob Halley the host name or Internet address of a name server.
15a0ed30600ea88fe1227233155586f0c3c6cc34Bob Halley </para>
53c892082e4dd70a12bb5badd81a9e939d7e6efdBrian Wellington </listitem>
53c892082e4dd70a12bb5badd81a9e939d7e6efdBrian Wellington </orderedlist>
b5fff54fe9335b20c02d749831fc0eaeda97198fBrian Wellington </para>
b5fff54fe9335b20c02d749831fc0eaeda97198fBrian Wellington
b5fff54fe9335b20c02d749831fc0eaeda97198fBrian Wellington <para>
b5fff54fe9335b20c02d749831fc0eaeda97198fBrian Wellington Non-interactive mode is used when the name or Internet address of the
b5fff54fe9335b20c02d749831fc0eaeda97198fBrian Wellington host to be looked up is given as the first argument. The optional second
b5fff54fe9335b20c02d749831fc0eaeda97198fBrian Wellington argument specifies the host name or address of a name server.
3ae757933270e8298a6c1c5f9dfd30a4d852972cAndreas Gustafsson </para>
3ae757933270e8298a6c1c5f9dfd30a4d852972cAndreas Gustafsson
3ae757933270e8298a6c1c5f9dfd30a4d852972cAndreas Gustafsson <para>
3ae757933270e8298a6c1c5f9dfd30a4d852972cAndreas Gustafsson Options can also be specified on the command line if they precede the
3ae757933270e8298a6c1c5f9dfd30a4d852972cAndreas Gustafsson arguments and are prefixed with a hyphen. For example, to
b61bbad878d0ac563a093525aa826cdba0fd43bfMark Andrews change the default query type to host information, and the initial
b61bbad878d0ac563a093525aa826cdba0fd43bfMark Andrews timeout to 10 seconds, type:
b61bbad878d0ac563a093525aa826cdba0fd43bfMark Andrews <!-- <informalexample> produces bad nroff. -->
4716e94840921878b26e493576f84afe4fe08752Mark Andrews <programlisting>
4716e94840921878b26e493576f84afe4fe08752Mark Andrewsnslookup -query=hinfo -timeout=10
4716e94840921878b26e493576f84afe4fe08752Mark Andrews</programlisting>
622af581bd08a61d12c70f80b1d40d0d9c8a1fa3David Lawrence <!-- </informalexample> -->
622af581bd08a61d12c70f80b1d40d0d9c8a1fa3David Lawrence </para>
622af581bd08a61d12c70f80b1d40d0d9c8a1fa3David Lawrence
3db95284356cd54df84ed2425f189ad2b44e4992David Lawrence </refsect1>
3db95284356cd54df84ed2425f189ad2b44e4992David Lawrence
b4b032ab5a3d0e96e7c752e232e3050e8806b8cbBob Halley <refsect1>
0e9c5d24d25cb77a6935abf9247734b576626c9fBob Halley <title>INTERACTIVE COMMANDS</title>
0e9c5d24d25cb77a6935abf9247734b576626c9fBob Halley <variablelist>
3886e748a4086b813e3453232a742903762fedadBob Halley <varlistentry>
3886e748a4086b813e3453232a742903762fedadBob Halley <term><constant>host</constant> <optional>server</optional></term>
3886e748a4086b813e3453232a742903762fedadBob Halley <listitem>
3886e748a4086b813e3453232a742903762fedadBob Halley <para>
3886e748a4086b813e3453232a742903762fedadBob Halley Look up information for host using the current default server or
3886e748a4086b813e3453232a742903762fedadBob Halley using server, if specified. If host is an Internet address and
b4b032ab5a3d0e96e7c752e232e3050e8806b8cbBob Halley the query type is A or PTR, the name of the host is returned.
b4b032ab5a3d0e96e7c752e232e3050e8806b8cbBob Halley If host is a name and does not have a trailing period, the
b4b032ab5a3d0e96e7c752e232e3050e8806b8cbBob Halley search list is used to qualify the name.
b4b032ab5a3d0e96e7c752e232e3050e8806b8cbBob Halley </para>
b4b032ab5a3d0e96e7c752e232e3050e8806b8cbBob Halley
ce0004744d2c232581af53cbc6201f4ec4cf1f1cBrian Wellington <para>
ce0004744d2c232581af53cbc6201f4ec4cf1f1cBrian Wellington To look up a host not in the current domain, append a period to
ce0004744d2c232581af53cbc6201f4ec4cf1f1cBrian Wellington the name.
ce0004744d2c232581af53cbc6201f4ec4cf1f1cBrian Wellington </para>
ce0004744d2c232581af53cbc6201f4ec4cf1f1cBrian Wellington </listitem>
ce0004744d2c232581af53cbc6201f4ec4cf1f1cBrian Wellington </varlistentry>
ce0004744d2c232581af53cbc6201f4ec4cf1f1cBrian Wellington
b4b4adc097365bd3f980b30bc7cc30199f4b8456Andreas Gustafsson <varlistentry>
b4b4adc097365bd3f980b30bc7cc30199f4b8456Andreas Gustafsson <term><constant>server</constant> <replaceable class="parameter">domain</replaceable></term>
b4b4adc097365bd3f980b30bc7cc30199f4b8456Andreas Gustafsson <listitem>
134ba0e08a0ae9a564a8d8628fc633377d3fc239Bob Halley <para/>
83a39d3f3c9b9966bc060d46e8e419adb004888aAndreas Gustafsson </listitem>
134ba0e08a0ae9a564a8d8628fc633377d3fc239Bob Halley </varlistentry>
134ba0e08a0ae9a564a8d8628fc633377d3fc239Bob Halley <varlistentry>
134ba0e08a0ae9a564a8d8628fc633377d3fc239Bob Halley <term><constant>lserver</constant> <replaceable class="parameter">domain</replaceable></term>
134ba0e08a0ae9a564a8d8628fc633377d3fc239Bob Halley <listitem>
83a39d3f3c9b9966bc060d46e8e419adb004888aAndreas Gustafsson <para>
8426878e988859184706f36e2229e24e77b80aa4Andreas Gustafsson Change the default server to <replaceable>domain</replaceable>; <constant>lserver</constant> uses the initial
8426878e988859184706f36e2229e24e77b80aa4Andreas Gustafsson server to look up information about <replaceable>domain</replaceable>, while <constant>server</constant> uses
0f7045b0c437b158c61c195c319d2762882ece83Andreas Gustafsson the current default server. If an authoritative answer can't be
0f7045b0c437b158c61c195c319d2762882ece83Andreas Gustafsson found, the names of servers that might have the answer are
0f7045b0c437b158c61c195c319d2762882ece83Andreas Gustafsson returned.
7c0e50b5623a6ffc9e3986e129f8ca6bae9aabfaBrian Wellington </para>
7c0e50b5623a6ffc9e3986e129f8ca6bae9aabfaBrian Wellington </listitem>
a25310fd1dce652cdebba2b3dbc5d38cc3706745Andreas Gustafsson </varlistentry>
a25310fd1dce652cdebba2b3dbc5d38cc3706745Andreas Gustafsson
a25310fd1dce652cdebba2b3dbc5d38cc3706745Andreas Gustafsson <varlistentry>
a25310fd1dce652cdebba2b3dbc5d38cc3706745Andreas Gustafsson <term><constant>root</constant></term>
42712a426dd62518ca7c36982867e5622f7265e7Michael Graff <listitem>
42712a426dd62518ca7c36982867e5622f7265e7Michael Graff <para>
e6a6c0a5d6393d3a7f75b486f16e4ef15c4857bbDavid Lawrence not implemented
e6a6c0a5d6393d3a7f75b486f16e4ef15c4857bbDavid Lawrence </para>
e6a6c0a5d6393d3a7f75b486f16e4ef15c4857bbDavid Lawrence </listitem>
e6a6c0a5d6393d3a7f75b486f16e4ef15c4857bbDavid Lawrence </varlistentry>
11a898e05092e8477fbfe1a245c1c5871a846638Andreas Gustafsson
11a898e05092e8477fbfe1a245c1c5871a846638Andreas Gustafsson <varlistentry>
5d4f11b265c396d71ec2162a632e620425481a9eDavid Lawrence <term><constant>finger</constant></term>
5d4f11b265c396d71ec2162a632e620425481a9eDavid Lawrence <listitem>
b295930144c8782e84528dcd355153ae5a5d66e8David Lawrence <para>
b295930144c8782e84528dcd355153ae5a5d66e8David Lawrence not implemented
b295930144c8782e84528dcd355153ae5a5d66e8David Lawrence </para>
0bcb1d4d630f8d7547ee62870e1b059827cc1c8aDavid Lawrence </listitem>
0bcb1d4d630f8d7547ee62870e1b059827cc1c8aDavid Lawrence </varlistentry>
ce3be21d63d1e06b222ecb66b4eae909b4658d53James Brister
ce3be21d63d1e06b222ecb66b4eae909b4658d53James Brister <varlistentry>
ce3be21d63d1e06b222ecb66b4eae909b4658d53James Brister <term><constant>ls</constant></term>
ce3be21d63d1e06b222ecb66b4eae909b4658d53James Brister <listitem>
ce3be21d63d1e06b222ecb66b4eae909b4658d53James Brister <para>
ce3be21d63d1e06b222ecb66b4eae909b4658d53James Brister not implemented
ce3be21d63d1e06b222ecb66b4eae909b4658d53James Brister </para>
ce3be21d63d1e06b222ecb66b4eae909b4658d53James Brister </listitem>
ce3be21d63d1e06b222ecb66b4eae909b4658d53James Brister </varlistentry>
ce3be21d63d1e06b222ecb66b4eae909b4658d53James Brister
ce3be21d63d1e06b222ecb66b4eae909b4658d53James Brister <varlistentry>
ce3be21d63d1e06b222ecb66b4eae909b4658d53James Brister <term><constant>view</constant></term>
ce3be21d63d1e06b222ecb66b4eae909b4658d53James Brister <listitem>
ce3be21d63d1e06b222ecb66b4eae909b4658d53James Brister <para>
ce3be21d63d1e06b222ecb66b4eae909b4658d53James Brister not implemented
ce3be21d63d1e06b222ecb66b4eae909b4658d53James Brister </para>
7b2db4b8d13e3d8bc81419ffcc8b39de8193ef63David Lawrence </listitem>
7b2db4b8d13e3d8bc81419ffcc8b39de8193ef63David Lawrence </varlistentry>
7b2db4b8d13e3d8bc81419ffcc8b39de8193ef63David Lawrence
7b2db4b8d13e3d8bc81419ffcc8b39de8193ef63David Lawrence <varlistentry>
9e7c9ad159b581714c67148c3c698c12730d7ef7James Brister <term><constant>help</constant></term>
9e7c9ad159b581714c67148c3c698c12730d7ef7James Brister <listitem>
bf062442eeef2fe404d728891b1317b01fbb7908Andreas Gustafsson <para>
bf062442eeef2fe404d728891b1317b01fbb7908Andreas Gustafsson not implemented
bf062442eeef2fe404d728891b1317b01fbb7908Andreas Gustafsson </para>
bf062442eeef2fe404d728891b1317b01fbb7908Andreas Gustafsson </listitem>
bf062442eeef2fe404d728891b1317b01fbb7908Andreas Gustafsson </varlistentry>
bf062442eeef2fe404d728891b1317b01fbb7908Andreas Gustafsson
bf062442eeef2fe404d728891b1317b01fbb7908Andreas Gustafsson <varlistentry>
bf062442eeef2fe404d728891b1317b01fbb7908Andreas Gustafsson <term><constant>?</constant></term>
bf062442eeef2fe404d728891b1317b01fbb7908Andreas Gustafsson <listitem>
404e3e4738e97d5dff48fab1e76839e963cb16a6Brian Wellington <para>
404e3e4738e97d5dff48fab1e76839e963cb16a6Brian Wellington not implemented
404e3e4738e97d5dff48fab1e76839e963cb16a6Brian Wellington </para>
5b84a24a3bf571adae57c1bc006a0bce0f9f2befDavid Lawrence </listitem>
5b84a24a3bf571adae57c1bc006a0bce0f9f2befDavid Lawrence </varlistentry>
5b84a24a3bf571adae57c1bc006a0bce0f9f2befDavid Lawrence
5b84a24a3bf571adae57c1bc006a0bce0f9f2befDavid Lawrence <varlistentry>
5b84a24a3bf571adae57c1bc006a0bce0f9f2befDavid Lawrence <term><constant>exit</constant></term>
5b84a24a3bf571adae57c1bc006a0bce0f9f2befDavid Lawrence <listitem>
d9cc295339982d8d86075ab4285cc700d354e2eeBob Halley <para>
7d1d130f4fe1b7485142c4f55a4ef3760b5fa30aBrian Wellington Exits the program.
7d1d130f4fe1b7485142c4f55a4ef3760b5fa30aBrian Wellington </para>
7d1d130f4fe1b7485142c4f55a4ef3760b5fa30aBrian Wellington </listitem>
d9cc295339982d8d86075ab4285cc700d354e2eeBob Halley </varlistentry>
d9cc295339982d8d86075ab4285cc700d354e2eeBob Halley
d9cc295339982d8d86075ab4285cc700d354e2eeBob Halley <varlistentry>
9ac79ef3f89b23d80f9649abf71fdc65bb7a8b62David Lawrence <term><constant>set</constant>
9ac79ef3f89b23d80f9649abf71fdc65bb7a8b62David Lawrence <replaceable>keyword<optional>=value</optional></replaceable></term>
9ac79ef3f89b23d80f9649abf71fdc65bb7a8b62David Lawrence <listitem>
a6a0b5e9b7078887a73ecec8be2935daa287a389James Brister <para>
a6a0b5e9b7078887a73ecec8be2935daa287a389James Brister This command is used to change state information that affects
a6a0b5e9b7078887a73ecec8be2935daa287a389James Brister the lookups. Valid keywords are:
a6a0b5e9b7078887a73ecec8be2935daa287a389James Brister <variablelist>
be768c2e952c34438025999125f984995a2c675fBob Halley <varlistentry>
da6affdf7dd677a636155e4a41f6de416a2d815bBob Halley <term><constant>all</constant></term>
da6affdf7dd677a636155e4a41f6de416a2d815bBob Halley <listitem>
da6affdf7dd677a636155e4a41f6de416a2d815bBob Halley <para>
da6affdf7dd677a636155e4a41f6de416a2d815bBob Halley Prints the current values of the frequently used
da6affdf7dd677a636155e4a41f6de416a2d815bBob Halley options to <command>set</command>.
da6affdf7dd677a636155e4a41f6de416a2d815bBob Halley Information about the current default
be768c2e952c34438025999125f984995a2c675fBob Halley server and host is also printed.
be768c2e952c34438025999125f984995a2c675fBob Halley </para>
be768c2e952c34438025999125f984995a2c675fBob Halley </listitem>
f00e30e9322fb2170ad3e21c3336c5b81be964c2James Brister </varlistentry>
01e320c4fb51c802e9fe86c192fbebf4229ca918Bob Halley
19e0c849f69ad8b655b4d199e16de0a4a94562d6Bob Halley <varlistentry>
19e0c849f69ad8b655b4d199e16de0a4a94562d6Bob Halley <term><constant>class=</constant><replaceable>value</replaceable></term>
19e0c849f69ad8b655b4d199e16de0a4a94562d6Bob Halley <listitem>
19e0c849f69ad8b655b4d199e16de0a4a94562d6Bob Halley <para>
9ac79ef3f89b23d80f9649abf71fdc65bb7a8b62David Lawrence Change the query class to one of:
01e320c4fb51c802e9fe86c192fbebf4229ca918Bob Halley <variablelist>
01e320c4fb51c802e9fe86c192fbebf4229ca918Bob Halley <varlistentry>
01e320c4fb51c802e9fe86c192fbebf4229ca918Bob Halley <term><constant>IN</constant></term>
dd6132005a5c48dea642c2ed0507bf472c8ee9bbJames Brister <listitem>
dd6132005a5c48dea642c2ed0507bf472c8ee9bbJames Brister <para>
dd6132005a5c48dea642c2ed0507bf472c8ee9bbJames Brister the Internet class
d6d18435cd47a57f43af2eab835d0f6b7a76f2bdAndreas Gustafsson </para>
d6d18435cd47a57f43af2eab835d0f6b7a76f2bdAndreas Gustafsson </listitem>
d6d18435cd47a57f43af2eab835d0f6b7a76f2bdAndreas Gustafsson </varlistentry>
3f46e84f9ff264cac8c07c2136a507827afb2760James Brister <varlistentry>
3f46e84f9ff264cac8c07c2136a507827afb2760James Brister <term><constant>CH</constant></term>
3f46e84f9ff264cac8c07c2136a507827afb2760James Brister <listitem>
3f46e84f9ff264cac8c07c2136a507827afb2760James Brister <para>
3f46e84f9ff264cac8c07c2136a507827afb2760James Brister the Chaos class
3f46e84f9ff264cac8c07c2136a507827afb2760James Brister </para>
3f46e84f9ff264cac8c07c2136a507827afb2760James Brister </listitem>
3f46e84f9ff264cac8c07c2136a507827afb2760James Brister </varlistentry>
3f46e84f9ff264cac8c07c2136a507827afb2760James Brister <varlistentry>
99b80297d416ebb722b2515023c51b3aacdc1fb9Bob Halley <term><constant>HS</constant></term>
fdb12d38d325efba64581bdee7fac188466fff55Bob Halley <listitem>
fdb12d38d325efba64581bdee7fac188466fff55Bob Halley <para>
fdb12d38d325efba64581bdee7fac188466fff55Bob Halley the Hesiod class
fdb12d38d325efba64581bdee7fac188466fff55Bob Halley </para>
fdb12d38d325efba64581bdee7fac188466fff55Bob Halley </listitem>
fdb12d38d325efba64581bdee7fac188466fff55Bob Halley </varlistentry>
43a5758df763a04d907a8b406e89a96f5c207a9cBrian Wellington <varlistentry>
43a5758df763a04d907a8b406e89a96f5c207a9cBrian Wellington <term><constant>ANY</constant></term>
43a5758df763a04d907a8b406e89a96f5c207a9cBrian Wellington <listitem>
c73aafe6016ed1a7a6972681148cedf6a48a21bcBrian Wellington <para>
c73aafe6016ed1a7a6972681148cedf6a48a21bcBrian Wellington wildcard
c73aafe6016ed1a7a6972681148cedf6a48a21bcBrian Wellington </para>
99b80297d416ebb722b2515023c51b3aacdc1fb9Bob Halley </listitem>
99b80297d416ebb722b2515023c51b3aacdc1fb9Bob Halley </varlistentry>
99b80297d416ebb722b2515023c51b3aacdc1fb9Bob Halley </variablelist>
99b80297d416ebb722b2515023c51b3aacdc1fb9Bob Halley The class specifies the protocol group of the information.
99b80297d416ebb722b2515023c51b3aacdc1fb9Bob Halley
a5a5371b756f3bbbe33dac1dde196fbd6c063640Bob Halley </para>
<para>
(Default = IN; abbreviation = cl)
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>
<replaceable><optional>no</optional></replaceable>debug</constant></term>
<listitem>
<para>
Turn on or off the display of the full response packet and
any intermediate response packets when searching.
</para>
<para>
(Default = nodebug; abbreviation = <optional>no</optional>deb)
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>
<replaceable><optional>no</optional></replaceable>d2</constant></term>
<listitem>
<para>
Turn debugging mode on or off. This displays more about
what nslookup is doing.
</para>
<para>
(Default = nod2)
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>domain=</constant><replaceable>name</replaceable></term>
<listitem>
<para>
Sets the search list to <replaceable>name</replaceable>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>
<replaceable><optional>no</optional></replaceable>search</constant></term>
<listitem>
<para>
If the lookup request contains at least one period but
doesn't end with a trailing period, append the domain
names in the domain search list to the request until an
answer is received.
</para>
<para>
(Default = search)
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>port=</constant><replaceable>value</replaceable></term>
<listitem>
<para>
Change the default TCP/UDP name server port to <replaceable>value</replaceable>.
</para>
<para>
(Default = 53; abbreviation = po)
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>querytype=</constant><replaceable>value</replaceable></term>
<listitem>
<para/>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>type=</constant><replaceable>value</replaceable></term>
<listitem>
<para>
Change the type of the information query.
</para>
<para>
(Default = A; abbreviations = q, ty)
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>
<replaceable><optional>no</optional></replaceable>recurse</constant></term>
<listitem>
<para>
Tell the name server to query other servers if it does not
have the
information.
</para>
<para>
(Default = recurse; abbreviation = [no]rec)
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>ndots=</constant><replaceable>number</replaceable></term>
<listitem>
<para>
Set the number of dots (label separators) in a domain
that will disable searching. Absolute names always
stop searching.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>retry=</constant><replaceable>number</replaceable></term>
<listitem>
<para>
Set the number of retries to number.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>timeout=</constant><replaceable>number</replaceable></term>
<listitem>
<para>
Change the initial timeout interval for waiting for a
reply to number seconds.
</para>
</listitem>
</varlistentry>
<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:
-->