frame

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Register

How to check DNS records of a domain

IevazIevaz Administrator
edited September 2020 in Various Tutorials

There are many reasons why you might need to check your domain DNS records which are propagated on the internet.For instance, your website is not available ( it might be that DNS records are incorrect) or you need to check which DNS records are shown on the internet. Since Domain Name System (DNS) is used to point an incoming website domain toward the IP address of the server. It means that when you open website, the DNS records fetch the IP address of the server (there is the domain pointed) and serve the website.

So in this guide, I will show how to check your current domain DNS records with using provided commands and online tools.

Checking DNS records using command line

The most efficient way to check DNS records of the domain is to use a terminal with the command nslookup. This command will run on almost all operating systems (Windows, Linux and MacOS). The command nslookup shows all DNS records of the domain and below will be provided various nslookup command for the different DNS record types to check using command line.

For demonstration, I will use our domain name 'time4VPS.com'.When you will open terminal window, type the following commands, just do not miss to replace 'time4VPS.com' with your domain name.

Lookup A record:

nslookup -type=A time4vps.com

Example output:

nslookup time4vps.com

Example output:

Lookup NS record:

nslookup -type=NS time4vps.com

Example output:

Lookup MX record:

nslookup -type=MX time4vps.com

Lookup CNAME record:

nslookup -type=CNAME time4vps.com

Lookup TXT record:

nslookup -type=TXT time4vps.com

Other DNS records you can check by replacing the DNS record type, for example, nslookup -type=SOA domainname.

Also, there are other commands which you can use to check DNS records, for example, ping or host.

The ping command shows domain A record - where the domain is pointed.

The host command runs on Linux and shows the IP address of a particular domain name or if you want to find out the domain name of a particular IP address.

Example output:

Checking domain DNS records using online tools

If you do not have ability to check DNS records using command line, you can check records using online trusted tools. Down below are provided some online tools which you can use .

  1. dnsrecords.io

The online tool where you can enter the domain name and all the domain DNS records will be provided - is the website fully propagated or not worldwide.

  1. DNSChecker.org

This tool not only shows all DNS records for the domain, but also shows how those records are propagated on the internet.

  1. Leaf DNS

This online tool shows domain DNS records. Also, this tool provides warnings and failures of the DNS records. So this leafdns tool will check if your DNS records are correct or no. It's quite helpful, for example, when you create custom nameservers for the domain.

Sign In or Register to comment.

Time4VPS

Learn how to install a web and database server, email, FTP client or other applications. Discover and share information on server security or optimization recommendations.
Feel free to join our constantly expanding community, participate in discussions, strengthen your knowledge on Linux and Windows server management!
© 2013 - 2024 Time4VPS. All rights reserved.

Get In Touch