Sub-commands in nslookup Windows command (Part 2)

Nslookup set all command, nslookup set class, nslookup set d2, Alias ​​nslookup set debug, nslookup set domain, nslookup set port, and nslookup set querytype in Windows

Sub-commands in nslookup Windows command (Part 2)

  1. Nslookup command set all

  2. The nslookup set class command
  3. Nslookup command set d2
  4. Nslookup command set debug
  5. The nslookup set domain command
  6. Nslookup command set port
  7. Nslookup command set querytype

Nslookup command set all

Print the current values ​​of configuration settings.

Syntax of command nslookup set all

 đặt một 

Nslookup command parameter set all

Parameters

Describe

?}

Nslookup command comment set all

The Set all command also prints information about the default server and the computer.

The nslookup set class command

Change the query class.This query class specifies the protocol group of information.

Syntax nslookup set class

 đặt class = 

The nslookup set class command parameter

Parameters

Describe

 

The default class is IN.The following list lists valid values ​​for this command:

- IN: Specify the Internet layer.

- CHAOS: Assign Chaos class.

- HESIOD: Assign MIT class Athena Hesiod.

- ANY: Specify any wildcard listed previously.

?}

Nslookup command set d2

Turn on or off Full Debugging Mode Debugging Mode.All fields of each package are printed.

Syntax command nslookup set d2

 set [no] d2 

The command nslookup set d2

Parameters

Describe

nod2

Turn off Full debug mode.The default syntax is nod2 .

d2

Enable Comprehensive Debug Mode.

?}

Nslookup command set debug

Enable or disable debugging mode.

Syntax syntax nslookup set debug

 set [no] debug 

Nslookup command parameter set debug

Parameters

Describe

nodebug

Turn off debugging mode.The default syntax is nodebug .

debug

Turn on debugging mode.

?} **

Nslookup command comment set debug

With debugging mode enabled, more information about the package is sent to the server and the resulting answer is printed.

The nslookup set domain command

(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 name to the specified name.

Syntax of nslookup set domain

 set domain = 

The nslookup set domain command parameter

Parameters

Describe

Specify a new name for the default DNS domain name.The default domain name is the host name (host name).

?}

Show a brief summary of sub-commands in nslookup .

Note nslookup set domain command

The default DNS domain name appended to a lookup request depends on the status of the defname and search options . The DNS domain search list will contain the source of the default DNS domain if it has at least two components in its name. For example, if the default DNS domain is mfg.widgets.com, the search list is named mfg.widgets.com and widgets.com. Use the srchlist set command to specify a different list and set all commands to display the list.

Nslookup command set port

Change the default Domain Name System's TCP / UDP port to the specified value.

Syntax command nslookup set port

 set port = 

Nslookup command parameter set port

Parameters

Describe

 

Specify a new value for the default DNS / UDP server name port.The default port is 53.

?}

Nslookup command set querytype

(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 nslookup command set querytype

 set querytype = 

Nslookup command parameter set querytype

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

?}

Nslookup command comment set querytype

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.

See more:

  1. Sub-commands in the nslookup Windows command (Part 1)
  2. Sub-commands in nslookup Windows command (Part 3)
  3. The net print command in Windows
  4. Netcfg command in Windows
  5. Nbtstat command in Windows
3.8 ★ | 10 Vote