Sub-commands in nslookup Windows command (Part 2)

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

May be interested

  • 10 useful commands in Windows you should know10 useful commands in Windows you should know
    command 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 know7 commands to manipulate the most basic files and folders everyone must know
    on 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 computerRun remote commands on Cisco routers from the computer
    can 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 commands20+ essential Linux security commands
    here 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 WindowsPowerShell command in Windows
    windows powershell is an executable command line and a scripting language specifically designed for system administrators.
  • Determine which system is attacked by Windows commandsDetermine which system is attacked by Windows commands
    in 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 commandsCombine all the most basic AutoCAD commands
    using 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 WindowsCompact command in Windows
    the 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 WindowsHow to use the option equivalent to the 'ls' command in Windows
    the '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 WindowsHow to open RUN dialog box and 60+ common commands on Windows
    summary 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.