How to Check DNS Records of a Domain

In some situations, it becomes necessary to check the DNS records of a domain. DNS records are instructions that reside on authoritative DNS servers and offer details about a domain, such as the IP address that it is associated with and how to respond to requests for that domain. In this guide, you will explore how to check the DNS records of a Domain using commands.

Let us execute the commands to check the DNS records of a domain:

  1. Using a terminal and the “nslookup” command is the most effective way to examine the domain’s DNS records. Almost all operating systems will support this command (Windows, Linux, and macOS).
    There are other commands, such as ping or host that you can use in addition to the above to check DNS records. The domain where the domain is pointed is displayed in a record by the ping command.
  2. The nslookup command displays every DNS record for the domain, and the different nslookup commands for the various sorts of DNS records are supplied below for you to use on the command line:
    1. To check A record:
      nslookup -type=A ukhostsupport.com

      nslookup ukhostsupport.com

    2. To check NS record:
      nslookup -type=NS ukhostsupport.com
    3. To check MX record:
      nslookup -type=MX ukhostsupport.com
    4. To check CNAME record:
      nslookup -type=CNAME ukhostsupport.com
    5. To check TXT record:
      nslookup -type=TXT ukhostsupport.com
  3. There are other commands, such as ping or host that you can use in addition to the above to check DNS records. The domain where the domain is pointed is displayed in a record by the ping command.

In this manner, you can check a domain’s DNS records. You can get assistance from our support staff if you run into any difficulties when using these commands.