Most viewed posts
LINUX COMMANDS
Search
Linux Command: nslookup
| See the examples |
nslookup [-option ... ] [host-to-find | -[server ] ]
TCP/IP command. Query Internet domain nameservers. nslookup is deprecated; its functionality is replaced by the dig and host all List the current settings d2 Set exhaustive debug mode on nod2 Set exhaustive debug mode off debug Set debug mode on nodebug Set debug mode off defname Set domain-appending mode on nodefname Set domain-appending mode off domain=string Establish the appendable domain ignoretc Set it to ignore packet truncation errors noignoretc Set it to acknowledge packet truncation errors host Inquires about the specified host. In this non-interactive command format, nslookup Does not prompt for additional commands. - Causes nslookup to prompt for more information, such as host names, before sending one or more queries.
|
Examples: |
This command is often used to perform a reverse lookup on an IP address as shown in the below example. $ nslookup 204.228.150.3 |