nslookup.docbook revision feb1ccdaf161557d2f160974c16c294a6cdd8c3a
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce - Copyright (C) 2004-2007, 2010, 2013-2016 Internet Systems Consortium, Inc. ("ISC")
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce - Permission to use, copy, modify, and/or distribute this software for any
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce - purpose with or without fee is hereby granted, provided that the above
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce - copyright notice and this permission notice appear in all copies.
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce - PERFORMANCE OF THIS SOFTWARE.
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce - Copyright (c) 1985, 1989
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce - The Regents of the University of California. All rights reserved.
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce - Redistribution and use in source and binary forms, with or without
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce - modification, are permitted provided that the following conditions
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce - 1. Redistributions of source code must retain the above copyright
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce - notice, this list of conditions and the following disclaimer.
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce - 2. Redistributions in binary form must reproduce the above copyright
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce - notice, this list of conditions and the following disclaimer in the
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce - documentation and/or other materials provided with the distribution.
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce - 3. Neither the name of the University nor the names of its contributors
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce - may be used to endorse or promote products derived from this software
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce - without specific prior written permission.
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce - THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce - ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce - IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce - ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce - FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce - DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce - OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce - HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce - LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce - OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce - SUCH DAMAGE.
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce<!-- Converted by db4-upgrade version 1.0 -->
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce<refentry xmlns="http://docbook.org/ns/docbook" version="5.0">
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <refentryinfo>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <corpauthor>Internet Systems Consortium, Inc.</corpauthor>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce </refentryinfo>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <refnamediv>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <refpurpose>query Internet name servers interactively</refpurpose>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce </refnamediv>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <holder>Internet Systems Consortium, Inc. ("ISC")</holder>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce </copyright>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <refsynopsisdiv>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <arg choice="opt" rep="norepeat"><option>-option</option></arg>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce </cmdsynopsis>
56f1285ca5d97d3205b74c32dc4de1ea7b69fea1Michael Sawyer </refsynopsisdiv>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <refsection><info><title>DESCRIPTION</title></info>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce is a program to query Internet domain name servers. <command>Nslookup</command>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce has two modes: interactive and non-interactive. Interactive mode allows
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce the user to query name servers for information about various hosts and
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce domains or to print a list of hosts in a domain. Non-interactive mode
56f1285ca5d97d3205b74c32dc4de1ea7b69fea1Michael Sawyer used to print just the name and requested information for a host or
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce </refsection>
56f1285ca5d97d3205b74c32dc4de1ea7b69fea1Michael Sawyer <refsection><info><title>ARGUMENTS</title></info>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce Interactive mode is entered in the following cases:
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <orderedlist numeration="loweralpha" inheritnum="ignore" continuation="restarts">
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce when no arguments are given (the default name server will be used)
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce when the first argument is a hyphen (-) and the second argument is
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce the host name or Internet address of a name server.
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce </orderedlist>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce Non-interactive mode is used when the name or Internet address of the
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce host to be looked up is given as the first argument. The optional second
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce argument specifies the host name or address of a name server.
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce Options can also be specified on the command line if they precede the
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce arguments and are prefixed with a hyphen. For example, to
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce change the default query type to host information, and the initial
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce timeout to 10 seconds, type:
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <!-- <informalexample> produces bad nroff. -->
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <programlisting>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Lucenslookup -query=hinfo -timeout=10
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce</programlisting>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <!-- </informalexample> -->
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce number and immediately exits.
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce </refsection>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <refsection><info><title>INTERACTIVE COMMANDS</title></info>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <variablelist>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <varlistentry>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <term><constant>host</constant> <optional>server</optional></term>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce Look up information for host using the current default server or
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce using server, if specified. If host is an Internet address and
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce the query type is A or PTR, the name of the host is returned.
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce If host is a name and does not have a trailing period, the
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce search list is used to qualify the name.
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce To look up a host not in the current domain, append a period to
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce </varlistentry>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <varlistentry>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <term><constant>server</constant> <replaceable class="parameter">domain</replaceable></term>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce </varlistentry>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <varlistentry>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <term><constant>lserver</constant> <replaceable class="parameter">domain</replaceable></term>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce Change the default server to <replaceable>domain</replaceable>; <constant>lserver</constant> uses the initial
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce server to look up information about <replaceable>domain</replaceable>, while <constant>server</constant> uses
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce the current default server. If an authoritative answer can't be
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce found, the names of servers that might have the answer are
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce </varlistentry>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <varlistentry>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce not implemented
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce </varlistentry>
fafd1d771905532e8dc3efa2ce90ce4c9e74af61Eric Luce <varlistentry>
027e89d47af308db4b41761ca9f847c026b63ec8Andreas Gustafsson not implemented
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce </varlistentry>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <varlistentry>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce not implemented
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce </varlistentry>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <varlistentry>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce not implemented
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce </varlistentry>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <varlistentry>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce not implemented
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce </varlistentry>
56f1285ca5d97d3205b74c32dc4de1ea7b69fea1Michael Sawyer <varlistentry>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce not implemented
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce </varlistentry>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <varlistentry>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce Exits the program.
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce </varlistentry>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <varlistentry>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <replaceable>keyword<optional>=value</optional></replaceable></term>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce This command is used to change state information that affects
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce the lookups. Valid keywords are:
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <variablelist>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <varlistentry>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce Prints the current values of the frequently used
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce Information about the current default
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce server and host is also printed.
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce </varlistentry>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <varlistentry>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <term><constant>class=</constant><replaceable>value</replaceable></term>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce Change the query class to one of:
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <variablelist>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <varlistentry>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce the Internet class
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce </varlistentry>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <varlistentry>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce the Chaos class
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce </varlistentry>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <varlistentry>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce the Hesiod class
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce </varlistentry>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <varlistentry>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce </varlistentry>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce </variablelist>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce The class specifies the protocol group of the information.
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce (Default = IN; abbreviation = cl)
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce </varlistentry>
56f1285ca5d97d3205b74c32dc4de1ea7b69fea1Michael Sawyer <varlistentry>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <replaceable><optional>no</optional></replaceable>debug</constant></term>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce Turn on or off the display of the full response packet and
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce any intermediate response packets when searching.
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce (Default = nodebug; abbreviation = <optional>no</optional>deb)
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce </varlistentry>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <varlistentry>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <replaceable><optional>no</optional></replaceable>d2</constant></term>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce Turn debugging mode on or off. This displays more about
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce what nslookup is doing.
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce (Default = nod2)
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce </varlistentry>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <varlistentry>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <term><constant>domain=</constant><replaceable>name</replaceable></term>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce Sets the search list to <replaceable>name</replaceable>.
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce </varlistentry>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <varlistentry>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <replaceable><optional>no</optional></replaceable>search</constant></term>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce If the lookup request contains at least one period but
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce doesn't end with a trailing period, append the domain
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce names in the domain search list to the request until an
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce answer is received.
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce (Default = search)
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce </varlistentry>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <varlistentry>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <term><constant>port=</constant><replaceable>value</replaceable></term>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce Change the default TCP/UDP name server port to <replaceable>value</replaceable>.
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce (Default = 53; abbreviation = po)
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce </varlistentry>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <varlistentry>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <term><constant>querytype=</constant><replaceable>value</replaceable></term>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce </varlistentry>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <varlistentry>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <term><constant>type=</constant><replaceable>value</replaceable></term>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce Change the type of the information query.
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce (Default = A; abbreviations = q, ty)
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce </varlistentry>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <varlistentry>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <replaceable><optional>no</optional></replaceable>recurse</constant></term>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce Tell the name server to query other servers if it does not
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce information.
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce (Default = recurse; abbreviation = [no]rec)
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce </varlistentry>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <varlistentry>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <term><constant>ndots=</constant><replaceable>number</replaceable></term>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce Set the number of dots (label separators) in a domain
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce that will disable searching. Absolute names always
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce stop searching.
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce </varlistentry>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <varlistentry>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <term><constant>retry=</constant><replaceable>number</replaceable></term>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce Set the number of retries to number.
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce </varlistentry>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <varlistentry>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <term><constant>timeout=</constant><replaceable>number</replaceable></term>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce Change the initial timeout interval for waiting for a
56f1285ca5d97d3205b74c32dc4de1ea7b69fea1Michael Sawyer reply to number seconds.
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce </varlistentry>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <varlistentry>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <replaceable><optional>no</optional></replaceable>vc</constant></term>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce Always use a virtual circuit when sending requests to the
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce (Default = novc)
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce </varlistentry>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <varlistentry>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <replaceable><optional>no</optional></replaceable>fail</constant></term>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce Try the next nameserver if a nameserver responds with
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce SERVFAIL or a referral (nofail) or terminate query
c71787bd6356c92e9c7d0a174cd63ab17fcf34c6Eric Luce (fail) on such a response.
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce (Default = nofail)
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce </varlistentry>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce </variablelist>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce </varlistentry>
c71787bd6356c92e9c7d0a174cd63ab17fcf34c6Eric Luce </variablelist>
c71787bd6356c92e9c7d0a174cd63ab17fcf34c6Eric Luce </refsection>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <refsection><info><title>RETURN VALUES</title></info>
c71787bd6356c92e9c7d0a174cd63ab17fcf34c6Eric Luce <command>nslookup</command> returns with an exit status of 1
c71787bd6356c92e9c7d0a174cd63ab17fcf34c6Eric Luce if any query failed, and 0 otherwise.
c71787bd6356c92e9c7d0a174cd63ab17fcf34c6Eric Luce </refsection>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce </refsection>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <refentrytitle>dig</refentrytitle><manvolnum>1</manvolnum>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce </citerefentry>,
c71787bd6356c92e9c7d0a174cd63ab17fcf34c6Eric Luce <citerefentry>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <refentrytitle>host</refentrytitle><manvolnum>1</manvolnum>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce </citerefentry>,
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <citerefentry>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <refentrytitle>named</refentrytitle><manvolnum>8</manvolnum>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce </citerefentry>.
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce </refsection>