Microsoft DOS nslookup command
MS-DOS utility that enables a user to look up an IP address of a domain or host on a network.
Users who are using earlier versions of Microsoft Windows 95, Windows 98, or Windows ME and need the options available with the nslookup command will need to download an alternative, third-party program.
The nslookup.exe command is an external command that is available in the below Microsoft operating systems.
Commands: (identifiers are shown in uppercase,  means optional)
|NAME||print info about the host/domain NAME using default server|
|NAME1 NAME2||as above, but use NAME2 as server|
|help or ?||print info on common commands|
|set OPTION||set an option |
|server NAME||set default server to NAME, using current default server|
|lserver NAME||set default server to NAME, using initial server|
|finger [USER]||finger the optional NAME at the current default host|
|root||set current default server to the root|
|ls [opt] DOMAIN [> FILE]||list addresses in DOMAIN (optional: output to FILE) |
|view FILE||sort an 'ls' output file and view it with pg|
|exit||exit the program|
This command is often used to perform a reverse lookup on an IP address as shown in the example below. The first section specifies the server and address of that server that provided you with the domain name and IP address displayed in the second section.
Running nslookup without specifying an IP address or domain name will display your routers server and address. To get out of the > prompt type exit and press enter.