… [Trackback]
[…] Read More here to that Topic: blog.neterra.cloud/en/nslookup-command-and-10-easy-examples/ […]
There is plenty of command-line interface software for network diagnostics out there. One of the commonly used is nslookup. Why? Because it is simple, yet useful. It has a set of functions for checking different DNS records and DNS servers.
You can find it on various OSes like Windows, of course, but also many Linux distros, some Unix-based OSes (macOS), and ReactOS.
Network administrators can use it simultaneously with other software and receive diverse network data.
There are also websites that provide many online diagnostics tools like nslookup online. They could be useful because you don’t depend on the OS of your device, but bear in mind you should use just well-recognized sites for better security.
You need to run the command prompt. Go to Start, then Run, type in “cmd” and press enter. In the Command prompt write nslookup and click Enter. Ready!
*Nslookup works differently on different OSes. We recommend that you use it on Linux or macOS for full functionality.
Start the Terminal and type in “nslookup”. Then press Enter and you are all set!
Go to applications and search for the Terminal. Open it and write “nslookup” followed by a press of the Enter button. Done!
We are using Google.com for our examples, but you can change it with the domain you’d like to check out.
Use nslookup to create a query for the A records of a domain. That way you can see all the IP addresses related to the domain.
nslookup google.com
By executing this command, you will see the authoritative server for the selected domain. It is written on the NS records
nslookup -type=ns google.com
SOA is the start of authority. In the SOA record you can get the zone information.
nslookup -type=soa google.com
You can use nslookup to check the MX records and verify if the mail servers are working properly.
nslookup -query=mx google.com
You want to see all the DNS records, use this command. Later you can check any of the available DNS records, one by one if you like.
nslookup -type=any google.com
You can also use this admin tool to check a specific ns server. You can see if it is responsive or not.
nslookup example.com ns1.google.com
Sometimes you don’t need the IP address of a domain, but you want to see if an IP really corresponds to a specific domain. Then you use a reverse DNS lookup with the IP address in question.
nslookup 10.20.30.40
See if a particular port is in use. Maybe you want to verify that you’ve limited a certain port. An nslookup for that port should do the trick. In our case, it will be port 53.
nslookup -port=53 example.com
You can change the time interval to more seconds if you want to give more time to the server. Also, you can limit the time to see which servers respond fast enough. In our example, it is 15 seconds.
nslookup -timeout=15 google.com
You can enable the Debug mode which will give you detailed information about the question and the received answer.
nslookup -debug google.com
So, nslookup is a small tool, a command-line that you can use for different purposes. You can see a lot of information about DNS records of your domain.
… [Trackback]
[…] Read More here to that Topic: blog.neterra.cloud/en/nslookup-command-and-10-easy-examples/ […]
… [Trackback]
[…] Find More here to that Topic: blog.neterra.cloud/en/nslookup-command-and-10-easy-examples/ […]
… [Trackback]
[…] Information to that Topic: blog.neterra.cloud/en/nslookup-command-and-10-easy-examples/ […]
… [Trackback]
[…] Here you will find 25149 additional Info on that Topic: blog.neterra.cloud/en/nslookup-command-and-10-easy-examples/ […]
Hi there would you mind stating which blog platform you’re working with? I’m planning to start my own blog in the near future but I’m having a tough time making a decision between BlogEngine/Wordpress/B2evolution and Drupal. The reason I ask is because your design seems different then most blogs and I’m looking for something completely unique. P.S Apologies for getting off-topic but I had to ask!
… [Trackback]
[…] Read More here on that Topic: blog.neterra.cloud/en/nslookup-command-and-10-easy-examples/ […]
… [Trackback]
[…] Info on that Topic: blog.neterra.cloud/en/nslookup-command-and-10-easy-examples/ […]
… [Trackback]
[…] Here you can find 63099 additional Information to that Topic: blog.neterra.cloud/en/nslookup-command-and-10-easy-examples/ […]