text
stringlengths
0
4.23k
<port>
Specifies the new value for the default TCP/UDP DNS name server port. The default port is 53.
/?
Displays help at the command prompt.
/help
Displays help at the command prompt.
<port>
nslookup set querytype
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012
Changes the resource record type for the query. For information about resource record types, see Request for Comment (Rfc) 1035.
Note
This command is the same as the nslookup set type command.
Syntax
set querytype=<resourcerecordtype>
Parameters
Parameter
Description
<resourcerecordtype>
Specifies a DNS resource record type. The default resource record type is A, but you can use any of the following values:A: Specifies a computer's IP address.ANY: Specifies a computer's IP address.CNAME: Specifies a canonical name for an alias.GID Specifies a group identifier of a group name.HINFO: Specifies a computer's CPU and type of operating system.MB: Specifies a mailbox domain name.MG: Specifies a mail group member.MINFO: Specifies mailbox or mail list information.MR: Specifies the mail rename domain name.MX: Specifies the mail exchanger.NS: Specifies a DNS name server for the named zone.PTR: Specifies a computer name if the query is an IP address; otherwise, specifies the pointer to other information.SOA: Specifies the start-of-authority for a DNS zone.TXT: Specifies the text information.UID: Specifies the user identifier.UINFO: Specifies the user information.WKS: Describes a well-known service.
/?
Displays help at the command prompt.
/help
Displays help at the command prompt.
<resourcerecordtype>
nslookup set recurse
Tells the Domain Name System (DNS) name server to query other servers if it can't find the information on the specified server.
Syntax
set [no]recurse
Parameters
Parameter
Description
norecurse
Stops the Domain Name System (DNS) name server from querying other servers if it can't find the information on the specified server.
recurse
Tells the Domain Name System (DNS) name server to query other servers if it can't find the information on the specified server. This is the default value.
/?
Displays help at the command prompt.
/help
Displays help at the command prompt.
nslookup set retry
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012
If a reply isn't received within a certain amount of time, the time-out period is doubled, and the request is resent. This command sets the number of times a request is resent to a server for information, before giving up.
Note
To change the length of time before the request times out, use the nslookup set timeout command.
Syntax
set retry=<number>
Parameters
Parameter
Description
<number>
Specifies the new value for the number of retries. The default number of retries is 4.
/?
Displays help at the command prompt.
/help
Displays help at the command prompt.
<number>
nslookup set root
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012