Written by 8:15 pm DNS • 2 Comments

Тools – DNS trace, Ping, Traceroute, Nslookup, Reverse lookup

In this article, we will use few different tools that will help you troubleshoot and monitor your DNS and network.

DNS trace (dig + trace)

Using DNS trace, you can troubleshoot your DNS. You can use it on Linux OS, Mac OS and even on Windows (using Cygwin). You will trace the road of a DNS query. If there is a problem, you will see exactly where it is.

$ dig +trace www.cloudns.net

(you can write your website)

First, you request a webpage, for example, www.cloudns.net.

The query gets to the root name server for it.

This name server will show you the TLD authoritative server.

Your recursive resolver queries the .com TLD authoritative server for www.cloudns.net.

The .com TLD authoritative server refers your recursive server to the authoritative servers for cloudns.net.

Your recursive resolver queries the authoritative servers for www.cloudns.net and receives the IP as the answer.

Your recursive resolver caches the answer for the duration of the time-to-live (TTL) specified on the record and returns it to you.

This is how domain resolution works. You can get valuable information about the speed and accuracy of the answer.

Premium DNS Service!

Online Ping

Online Ping is a DNS tool that administrator use for checking the connectivity and the speed. Using this command, you send a small data packet to a particular IP address. Then wait to get a feedback packet. You can also use it to ping a name resolution. If you get an answer when you do a ping to an IP but not when you do it to a name, then the two don’t match.

What is ICMP Ping monitoring?

Traceroute

Tracing the route is similar to the ping. Using this DNS tool, you send a packet of data to an internet host, and it gives you back a result for every hop your query makes in seconds. If your website has a slow response, using this tool you can see where exactly it is the problem.

DNS lookup (nslookup)

You can use this tool on different Operating systems for making DNS queries to get to an IP address or for specific DNS record. You can use it to see if you have any problems with any kind of DNS record that you are using.

Read more for the nslookup command in our article:
10 most used nslookup commands

Reverse DNS lookup

It does what is say, here you start with an IP address and you can find the domain name. This process uses PTR records that shows exactly that. You can use it for troubleshooting.

Read more for the Reverse DNS and PTR records in our article: rDNS explained in detail

Conclusion:

Using these DNS tools, you can monitor and control your DNS. You can use them on different operating systems. You can easily see if something is not right and correct it.

(Visited 32,608 times, 3 visits today)
Enjoy this article? Don't forget to share.
Tags: , , , , , , , , , Last modified: September 25, 2023
Close