Check DNS records for a specific domain

dns entry post image

It always happens that I move domains for customers to another hosting and also change the DNS entries of the domain. And every few months I would like to check which DNS servers are currently stored with the domain, but I keep forgetting how to do that.

So that I can easily look here in the future, I'll just treat the topic to a little tutorial for people who also want to know how to do it.

This is how you check DNS entries from any domain on the Internet
How to check DNS entries from any domain on the Internet: explained here in the article.

What are DNS records?

Since you've searched for the topic, there's a good chance you already know what a DNS record is. For readers who don't yet have the background knowledge, here is a little explanation:

DNS entries, short for domain name system entries, are essential for domain names to function on the Internet at all. They connect the domain name to the IP address of the server on which the website is hosted.

This means you don't have to remember a cryptic number like 85.13.161.12, but can simply enter sir-apfelot.de in your browser. You also give the server the information about which website you want to see, because every server usually has many different websites under the same IP address.

The nslookup command – your tool for DNS queries

One of the best methods to check DNS records is to use the nslookup command Port. This command is available on most operating systems and shows you all relevant DNS entries for the desired domain.

Here is the screenshot of my terminal, in which I test the entries from my website using nslookup.
Here is the screenshot of my terminal, in which I test the entries from my website using nslookup.

Here is a short guide on how you can query different types of DNS entries:

  • A record (Address Record): To find the IP address of the domain, type: nslookup -type=A domainname.com
  • NS record (Name Server Record): This shows you which name servers are responsible for the domain. Command: nslookup -type=NS domainname.com
  • MX record (Mail Exchange Record): This will help you find out which server is responsible for emails. Command: nslookup -type=MX domainname.com
  • Canonical Name Record (CNAME) record: To discover aliases of the domain, use: nslookup -type=CNAME domainname.com

LeafDNS – alternative without a terminal

LeafDNS is an excellent tool for anyone who wants to quickly and easily check their DNS records. The big advantage of LeafDNS is its simplicity and reliability. It is completely ad-free and costs nothing, making it an ideal tool for webmasters and IT enthusiasts.

Here you can see the output of the LeafDNS tool if you enter sir-apfelot.de as a test domain.
Here you can see the output of the LeafDNS tool if you enter sir-apfelot.de as a test domain.

Not only does LeafDNS display all DNS records for a domain, it also identifies possible problems or errors. This makes it particularly valuable when it comes to checking custom name servers or complex DNS configurations. With its user-friendly interface and detailed analysis of your domain's DNS health, LeafDNS is my tool of choice when it comes to DNS checks.

Conclusion

Whether you're tech-savvy and want to use the nslookup command in the Mac terminal or prefer the more convenient option with online tools, checking a domain's DNS records isn't that difficult.

My tips & tricks about technology & Apple

Did you like the article and did the instructions on the blog help you? Then I would be happy if you the blog via a Steady Membership would support.

Post a comment

Your e-mail address will not be published. Required fields are marked with * marked

In the Sir Apfelot Blog you will find advice, instructions and reviews on Apple products such as the iPhone, iPad, Apple Watch, AirPods, iMac, Mac Pro, Mac Mini and Mac Studio.

Specials
Shopping
  •  
  •