Log in Register

Log in

Nslookup command - switches, options, syntax and examples

Nslookup command - switches, options, syntax and examples Hot

 
0.0 (0)
2319   0   0   0   0  
Write Review

Use of Nslookup commands:

nslookup is one of the network troubleshooting commands. This command is supported on many operating systems. nslookup command is used to querying the DNS ( Domain Name System) to option hostname (domain name) or IP address.

Nslookup command is used to resolve DNS. Nslookup command used to troubleshoot forward and reverse DNS lookup.

nslookup command syntax:

Nslookup [] [{ | -}]

Nslookup /exit

Nslookup /finger [] [{[>] |[>>] }]

Nslookup /{help | ?}

Nslookup /ls [

] [{[>] |[>>] }]

Nslookup /lserver  

Nslookup /root 

Nslookup /server

Nslookup /set [=]

Nslookup /set all 

Nslookup /set class=

Nslookup /set [no]d2

Nslookup /set [no]debug

Nslookup /set [no]defname

Nslookup /set domain=

Nslookup /set [no]ignore

Nslookup /set port=

Nslookup /set querytype=

Nslookup /set [no]recurse

Nslookup /set retry=

Nslookup /set root=

Nslookup /set [no]search

Nslookup /set srchlist=[/...]

Nslookup /set timeout=

Nslookup /set type=

Nslookup /set [no]vc

Nslookup /view

 

Nslookup command switches:

Nslookup /exit : Exits nslookup.

Nslookup /finger  : Connects with the finger server on the current computer.

Nslookup /help  : Displays a short summary of nslookup subcommands.

Nslookup /ls : Lists information for a DNS domain.

Nslookup /lserver : Changes the default server to the specified DNS domain.

Nslookup /root : Changes the default server to the server for the root of the DNS domain name space.

Nslookup /server : Changes the default server to the specified DNS domain.

Nslookup /set : Changes configuration settings that affect how lookups function.

Nslookup /set all : Prints the current values of the configuration settings.

Nslookup /set class : Changes the query class. The class specifies the protocol group of the information.

Nslookup /set d2 : Turns exhaustive Debugging Mode on or off. All fields of every packet are printed.

Nslookup /set debug : Turns Debugging Mode on or off.

Nslookup /set defname : Appends the default DNS domain name to a single component lookup request. A single component is a component that contains no periods.

Nslookup /set domain : Changes the default DNS domain name to the name specified.

Nslookup /set ignore : Ignores packet truncation errors.

Nslookup /set port : Changes the default TCP/UDP DNS name server port to the value specified.

Nslookup /set querytype : Changes the resource record type for the query.

Nslookup /set recurse : Tells the DNS name server to query other servers if it does not have the information.

Nslookup /set retry : Sets the number of retries.

Nslookup /set root : Changes the name of the root server used for queries.

Nslookup /set search : Appends the DNS domain names in the DNS domain search list to the request until an answer is received. This applies when the set and the lookup request contain at least one period, but do not end with a trailing period.

Nslookup /set srchlist : Changes the default DNS domain name and search list.

Nslookup /set timeout : Changes the initial number of seconds to wait for a reply to a request.

Nslookup /set type : Changes the resource record type for the query.

Nslookup /set vc : Specifies to use or not use a virtual circuit when sending requests to the server.

Nslookup /view : Sorts and lists the output of the previous ls subcommand or commands.

 

Nslookup command examples:

Each command-line option consists of a hyphen (-) followed immediately by the command name and, in some cases, an equal sign (=) and then a value. For example, to change the default query type to host (computer) information and the initial time-out to 10 seconds, type:

nslookup -querytype=hinfo -timeout=10

User reviews

There are no user reviews for this listing.
Already have an account? or Create an account