Nslookup Command In Windows Server 2008
This article shows how to use Nslookup Command in Windows Server 2008 operating system.
Introduction
Nslookup command is used to show information that user can be use to diagnose Domain Name System (DNS) infrastructure. Syntax used for Nslookup command is given below.
Syntax
Nslookup [<-SubCommand . . . >] [{<ComputerToFind> | -<Server>}]
|
Subcommands Of Nslookup
Subcommand |
Description |
Nslookup /exit |
Exits Nslookup. |
Nslookup /finger |
Connects with the finger server on current computer. |
Nslookup /help |
Shows the short summary of Nslookup subcommand. |
Nslookup /ls |
Lists information for a DNS domain. |
Nslookup /lserver |
Changes default server to the specified DNS domain. |
Nslookup /root |
Changes the default server to the server for the root of the DNS domain name space. |
Nslookup /server |
Changes the default server to the specified DNS domain. |
Nslookup /set |
Changes configuration settings that effects how lookups function. |
Nslookup /set all |
Prints the current values of the configuration setting. |
Nslookup /set class |
Changes the query class. |
Nslookup /set d2 |
Turns exhaustive Debugging Mode on or off. |
Nslookup /set debug |
Turns debugging mode on or off. |
Nslookup /set defname |
Appends the off DNS domain name to a single component lookup request. |
Nslookup /set domain |
Changes the default DNS domain name to the name defined. |
Nslookup /set ignore |
Ignores packet truncation errors. |
Nslookup /set port |
Changes the default TCP/UDP DNS name server port to the value specified. |
Nslookup /set querytype |
Changes the resource record type for the query. |
Nslookup /set recurse |
Tells the DNS name server to query other servers if it does not have the information. |
Nslookup /set retry |
Sets the number of retries. |
Nslookup /set root |
Changes the name of the root server used for queries. |
Nslookup /set search |
Appends the DNS domain names in the DNS domain search list to the request until an answer is received. |
Nslookup /set srchlist |
Changes the default DNS domain name and search list. |
Nslookup /set timeout |
Changes the initial number of seconds to wait for a reply to a request. |
Nslookup /set type |
Changes the resource record type for the query. |
Nslookup /set vc |
Defines to use or not use a virtual circuit when sending requests to the server. |
Nslookup /set view |
Sorts and lists the output of the previous ls subcommand or commands. |
Got a programming related question? You may want to post your question here