Sub-commands in nslookup Windows command (Part 3)

Nslookup set recurse, nslookup set retry, nslookup set root, nslookup set search, nslookup set srchlist, nslookup set timeout, nslookup set type, nslookup set vc, and nslookup view in Windows

Sub-commands in nslookup Windows command (Part 3)

  1. The command nslookup set recurse
  2. Nslookup command set retry
  3. Nslookup command set root
  4. Nslookup set search command
  5. Nslookup command set srchlist
  6. Nslookup command set timeout
  7. Nslookup command set type
  8. The command nslookup set vc
  9. Nslookup view command

The command nslookup set recurse

Requires a Domain Name System (DNS) server to query other servers without information.

Syntax of command nslookup set recurse

set [no] recurse

The command nslookup command set recurse

Parameters

Describe

norecurse

Prevent the Domain Name System (DNS) server from querying other servers if it has no information

recurse

Requires a Domain Name System (DNS) server to query other servers if it has no information.The default syntax is recurse.

?}

Nslookup command set retry

(Applies to Windows Server (Semi-Annual Channel), Windows Server 2016, Windows Server 2012 R2, Windows Server 2012).

Set the number of retries.

Syntax nslookup command set retry

 set retry = 

The nslookup command parameter set retry

Parameters

Describe

Specify a new value for the number of retries. The default number of retries is 4.

?}

Show a brief summary of sub-commands in nslookup .

Note nslookup command set retry

When a reply is not received for a request within a certain time period, the waiting period will be doubled and the request is resent.Retry value controls the number of times the request is resubmitted before cancellation.You can change the timeout period with the child set timeout command .

Nslookup command set root

(Applies to Windows Server (Semi-Annual Channel), Windows Server 2016, Windows Server 2012 R2, Windows Server 2012).

Change the name of the original server used for queries.

Syntax l command nslookup set root

 đặt root = 

The nslookup command parameter set root

Parameters

Describe

Specify a new name for the original server. The default value is ns.nic.ddn.mil.

?}

Show a brief summary of sub-commands in nslookup .

Note

The child set root command will affect the root sub command .

Nslookup set search command

Append Domain Name System (DNS) domains in the DNS name search list on request until the answer is received.This applies when the installation and lookup requirements contain at least one cycle, but do not end with a slash.

Syntax nslookup set search

set [no] search

Nslookup set search command parameter

Parameters

Describe

nosearch

Stop adding Domain Name System (DNS) domains in the required DNS domain search list.

search

Append Domain Name System (DNS) domain names in the DNS domain name search list to the request until the answer is received. The default syntax is search.

?}

Nslookup command set srchlist

(Applies to Windows Server (Semi-Annual Channel), Windows Server 2016, Windows Server 2012 R2, Windows Server 2012).

Change the default Domain Name System (DNS) domain and search list.

Syntax command nslookup set srchlist

 Set srchlist = [/ .] 

The command nslookup command set srchlist

Parameters

Describe

Specify a new name for the default DNS domain name and search list. The default domain value is based on the host name. You can specify up to six names, separated by a slash (/).

?}

Show a brief summary of sub-commands in nslookup .

Nslookup command comment set srchlist

The set srchlist subroutine will override the default DNS domain name and the search list of the domain set command. Use the set all command to display the list.

The following example sets the DNS domain name to mfg.widgets.com and the search list into three names as follows:

 set srchlist = mfg.widgets.com/mrp2.widgets.com/ widgets.com 

Nslookup command set timeout

(Applies to Windows Server (Semi-Annual Channel), Windows Server 2016, Windows Server 2012 R2, Windows Server 2012).

Change the number of first seconds to wait for a response to a search request.

Syntax command nslookup set timeout

set timeout =

Nslookup command parameter set timeout

Parameters

Describe

Specify the number of seconds to wait for a reply.The default number of seconds to wait is 5.

?}

Show a brief summary of sub-commands in nslookup .

Nslookup command comment set timeout

When a request response is not received within the specified time period, the waiting time is doubled and the request is resubmitted.You can use the set retry command to control the number of retries .

The following example sets the wait time to receive a response in 2 seconds:

 set timeout = 2 

Nslookup command set type

(Applies to Windows Server (Semi-Annual Channel), Windows Server 2016, Windows Server 2012 R2, Windows Server 2012).

Change the resource record type for the query.

Syntax of command nslookup set type

 đặt type = 

The parameter nslookup command set type

Specify a DNS resource record type.The default resource record type is A. The following table lists the valid values ​​for this command.

Value

Describe

A

Specify an IP address of the computer

ANY

Specify an IP address of the computer

CNAME

Specify a standard name for an alias

GID

Specifies the group identifier of a group name

HINFO

Determine the CPU of the computer and operating system type

MB

Specify mailbox mailbox domain name

MG

Specify a mail group member.

MINFO

Specify mailbox or mail list information

MR

Specify rename mail domain

MX

Specify the mail exchange object

NS

Specify the DNS name server for the named zone

PTR

Specify a computer name if the query is an IP address;otherwise, the cursor will be assigned to another information

SOA

Specify permissions for DNS zones

TXT

Specify text information.

UID

Identify user identifiers.

UINFO

Determine user information.

WKS

Describe a prominent service

?}

Note

The set type command performs the same function as the querytype set command .

For more information about resource record types, see Request for Comment (Rfc) 1035.

The command nslookup set vc

Specify to use or not to use virtual circuits when sending requests to the server.

Syntax command nslookup set vc

set [no] vc

The command nslookup set vc command

Parameters

Describe

novc

Specify never to use virtual circuits when sending requests to the server. Default is novc .

vc

Specify to always use virtual circuits when sending requests to the server.

?}

Nslookup view command

(Applies to Windows Server (Semi-Annual Channel), Windows Server 2016, Windows Server 2012 R2, Windows Server 2012).

sort and list the output of sub-commands or previous ls commands.

Syntax of nslookup view command

view

The nslookup view command parameter

Parameters

Describe

Specifies the name of the file that contains the output from the previous subcommand or ls command.

?}

Show a brief summary of nslookup subcommands.

See more:

  1. Sub-commands in the nslookup Windows command (Part 1)
  2. Sub-commands in nslookup Windows command (Part 2)
  3. Nslookup command in Windows
  4. The nfsstat command in Windows
  5. The nlbmgr command in Windows
  6. Netcfg command in Windows
Update 26 May 2019
Category

System

Mac OS X

Hardware

Game

Tech info

Technology

Science

Life

Application

Electric

Program

Mobile