Sub-commands in nslookup Windows command (Part 3)
Sub-commands in nslookup Windows command (Part 3)
- The command nslookup set recurse
- Nslookup command set retry
- Nslookup command set root
- Nslookup set search command
- Nslookup command set srchlist
- Nslookup command set timeout
- Nslookup command set type
- The command nslookup set vc
- 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:
- Sub-commands in the nslookup Windows command (Part 1)
- Sub-commands in nslookup Windows command (Part 2)
- Nslookup command in Windows
- The nfsstat command in Windows
- The nlbmgr command in Windows
- Netcfg command in Windows
You should read it
May be interested
- 10 useful commands in Windows you should knowcommand prompt is used to execute batch files, perform tasks quickly, help you troubleshoot and solve some windows problems when the system crashes. however, not all commands in windows are useful and must be done regularly. with the 10 command lines in the following article it is very useful even if you are not an administrator.
- 7 commands to manipulate the most basic files and folders everyone must knowon windows or linux operating systems, there are a number of things that users can only do with commands. in the following article, the network administrator will introduce you to the 7 most basic commands that any user must 'understand' to perform operations faster.
- Run remote commands on Cisco routers from the computercan you place the cursor at the windows command prompt and run a command on the router? usually, you will first have telnet or ssh to connect to the router to be able to execute commands? this article will show you how to simultaneously run router commands without having to exit the windows command prompt, which is very convenient for control and
- 20+ essential Linux security commandshere are some of the most important security commands for everyday work on linux systems. if you're interested in security issues on your linux system, don't ignore these helpful security commands.
- PowerShell command in Windowswindows powershell is an executable command line and a scripting language specifically designed for system administrators.
- Determine which system is attacked by Windows commandsin this two-part tutorial, the first part will cover five useful command-line tools in windows to perform such an analysis.
- Combine all the most basic AutoCAD commandsusing autocad shortcut commands helps to manipulate faster. if you do not know all the cad commands, please see the summary of autocad commands that we have done below.
- Compact command in Windowsthe compact command displays or changes the process of compressing files or folders on an ntfs partition. if used without parameters, the compact command displays the compression status of the current directory and the files contained therein.
- How to use the option equivalent to the 'ls' command in Windowsthe 'ls' command (note ls, not is) is one of the first terminal commands veterans teach to linux beginners.
- How to open RUN dialog box and 60+ common commands on Windowssummary of 63+ frequently used run commands on computers win xp, 7, 8, 8.1 and windows 10 ... using the run command will help you use windows more effectively and quickly.