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.
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 |
C:\>nslookup
computerhope.com
Server: ns.computerhope.com
Address: 1.1.1.1
Name: computerhope.com
Address: 204.228.150.3
APPEND | ARP | ASSOC | AT | ATTRIB | BREAK | CACLS | CALL | CD |
CHCP | CHDIR | CHKDSK | CHKNTFS | CLS | CMD | COLOR | COMMAND | COMP |
COMPACT | CONTROL | CONVERT | COPY | DATE | DEBUG | DEL | DELTREE | DIR 2 |
DIR ... | DISKCOMP | DISKCOPY | DOSKEY | ECHO | EDIT | EDLIN | ERASE | EXIT |
EXPAND | FC | FDISK | FIND | FOR | FORMAT | FTP | GRAFTABL | HELP |
IPCONFIG | LABEL | LOADFIX | MD | MEM | MKDIR | MODE | MORE | MOVE |
MSCDEX | NBTSTAT | NET | NETSTAT | NLSFUNC | NSLOOKUP | PATH | PATHPING | PAUSE |
PING | PROMPT | RD | REN | RENAME | RMDIR | ROUTE | SET | |
SETVER | SHARE | SHUTDOWN | SORT | SUBST | TIME | TREE | TYPE | UNLOCK |
VER | VERIFY | VOL | XCOPY |