What is A record?

A record is the most basic type of DNS record. It points a hostname with the IP address. Assigning a value to an A record is as simple as providing your DNS management panel with an IP address to where the domain should point and a TTL. It specifies the IP address of a host. There are many third-party tools available to check the DNS records. But as a server administrator, you can use the below SSH command to check A record or any other DNS records in Linux Terminal.

Command to check A record in Linux Terminal:

In Linux, three command-line utilities are available to check the DNS record information. The utilities are Host, Dig and nslookup commands.

Dig command is used by most of the DNS operators to troubleshoot the DNS problems. It stands for Domain Information Groper. It is the most flexible tool to interrogate DNS nameserver. The following command is used to check A record in Linux Terminal.

dig yourdomainname.com

Tagged in:

, ,