Home Explore Blog CI



man-pages

3rd chunk of `nslookup.man`
83d509858df2fee494f39fe3e8c5ac6b193cce5d69b15ffd0000000100000d1d
 on or off. This displays
                     more about what nslookup is doing. The default is nod2.

              domain=name
                     This keyword sets the search list to name.

              nosearch
                     If the lookup request contains at least  one  period,  but
                     does  not end with a trailing period, this keyword appends
                     the domain names in the domain search list to the  request
                     until an answer is received. The default is search.

              port=value
                     This  keyword changes the default TCP/UDP name server port
                     to value from its default, port 53. The  abbreviation  for
                     this keyword is po.

              querytype=value | type=value
                     This  keyword changes the type of the information query to
                     value. The defaults are A and then AAAA; the abbreviations
                     for these keywords are q and ty.

                     Please note that it is only possible to specify one  query
                     type.  Only the default behavior looks up both when an al‐
                     ternative is not specified.

              norecurse
                     This keyword tells the name server to query other  servers
                     if  it  does  not have the information. The default is re‐
                     curse; the abbreviation for this keyword is [no]rec.

              ndots=number
                     This keyword sets the number of dots (label separators) in
                     a domain that disables searching.  Absolute  names  always
                     stop searching.

              retry=number
                     This keyword sets the number of retries to number.

              timeout=number
                     This  keyword changes the initial timeout interval to wait
                     for a reply to number, in seconds.

              novc   This keyword indicates that a virtual circuit  should  al‐
                     ways be used when sending requests to the server.  novc is
                     the default.

              nofail This keyword tries the next nameserver if a nameserver re‐
                     sponds with SERVFAIL or a referral (nofail), or terminates
                     the  query  (fail)  on such a response. The default is no‐
                     fail.

RETURN VALUES
       nslookup returns with an exit status of 1 if any  query  failed,  and  0
       otherwise.

IDN SUPPORT
       If nslookup has been built with IDN (internationalized domain name) sup‐
       port,  it can accept and display non-ASCII domain names. nslookup appro‐
       priately converts character encoding of a domain name before  sending  a
       request  to a DNS server or displaying a reply from the server.  To turn
       off IDN support, define the IDN_DISABLE environment variable.  IDN  sup‐
       port  is disabled if the variable is set when nslookup runs, or when the
       standard output is not a tty.

FILES
       /etc/resolv.conf

SEE ALSO
       dig(1), host(1), named(8).

AUTHOR
       Internet Systems Consortium

COPYRIGHT
       2024, Internet Systems Consortium

9.18.18‐0ubuntu2.1‐Ubuntu          2023‐08‐04                       NSLOOKUP(1)

Title: nslookup: Interactive Commands - Set (Continued), Return Values, IDN Support, Files, See Also, Author, and Copyright
Summary
Continuation of the 'set' command options in nslookup, including 'norecurse' (controls recursive queries), 'ndots' (sets the minimum number of dots to disable searching), 'retry' (sets the number of retries), 'timeout' (sets the timeout interval), 'novc' (disables virtual circuits), and 'nofail' (controls behavior on SERVFAIL or referral responses). Also covers nslookup's return values (1 for query failure, 0 otherwise), IDN support (for internationalized domain names), relevant files (/etc/resolv.conf), related utilities (dig, host, named), author (Internet Systems Consortium), and copyright information.