Nslookup tool commands




















When using the ptr option, type the IP address in reverse, i. DNS servers use port 53 to communicate. If you want to check a different port, specify it with the port option:. Note: In the interactive mode, setting the debug option turns on the debugging mode. To exit the mode, set the nodebug option. After reading this article, you should know how to install and use the nslookup command on Linux.

The article provided examples of the most common uses of nslookup. How to Use the nslookup Command January 13, Was this article helpful? Marko Aleksic. His innate curiosity regarding all things IT, combined with over a decade long background in writing, teaching and working in IT-related fields, led him to technical writing, where he has an opportunity to employ his skills and make technology less daunting to everyone. Next you should read. Now, you are ready to use the Nslookup command on your device and try the examples below.

Nslookup syntax The Nslookup syntax is very simple, and you can use it the same on different OSes. Nslookup: command not found — how to fix it? What is Nslookup? Check the 10 most used Nslookup commands that will help you to understand better your domain's management. Martin Pramatarov. Publisher Name. Enjoy this article? Don't forget to share. Primary and Secondary DNS zone and how to create it.

Related Posts. Basic DNS terms you should know List. DNS zone transfer and zone file. DNS cache explained. Jonathan Rude says:. May 17, at pm. Boyan Peychev says:. May 21, at am. Winfried Maus says:. January 9, at am. Laura says:. February 5, at pm. Before using this tool, you should be familiar with how DNS works. If you need to look up only a single piece of data, we recommend using the non-interactive mode.

For the first parameter, type the name or IP address of the computer that you want to look up. If you omit the second argument, nslookup uses the default DNS name server.

If you need to look up more than one piece of data, you can use interactive mode. Type a hyphen - for the first parameter and the name or IP address of a DNS name server for the second parameter. If you omit both parameters, the tool uses the default DNS name server.

While using the interactive mode, you can:. An unrecognized command is interpreted as a computer name. For more information about the nslookup command and DNS, see the following resources:. Lee, T. Redmond, Washington: Microsoft Press. Albitz, P. Larson, M. DNS on Windows For example, to change the default query type to host computer information and the initial time-out to 10 seconds, type:.

Skip to main content. This browser is no longer supported.



0コメント

  • 1000 / 1000