Digital Library, Domains

What is an A-Record? – #Digital Literacy

Written by Pratham Yogendra
Posted on - 3 min read

An A-Record allows the use of hostnames to locate the address of a computer. It’s a type of DNS records where  A stands for the Address. It records the information about the ip-address connecting to a domain.  

In the DNS, It records the bridge between the hosting server and the domain. An A-Record is only applicable to ipv4-addresses. In case of ipv6 addresses, the AAAA-Records are used. 

Why does it matter?

When you type an URL in a browser, the DNS redirects you to the website by matching the url to the specified ip-address value using a set of DNS records. And, an important part of the process is possible due to an A-Record.

In this process, it acts as bridge matching the URL to the ip-address.

If you wish to learn more about an IP-Address, click here to read what an IP-Address is and How it works.

How to configure an A-Record?

To know how to configure an A-Record, you’ll have to understand its format.

A-Record Format
A-Record Format

For instance, Google‘s IP- Address is 172.217.17.110. And, it’s configuration might be similar to this.

Google DNS A Record
Google’s A-Record Format

The @ here stands for the root domain and the host section can be configured with the information about the root domain and the secondary level domains as per the user requirement.

The N.N.N.N here refers to an IPV4-Address and can be configured to point to the preferred ip-address as per the user requirement.

The TTL here talks about the Time to Live. The Time to Live settings refer to the time limit for the information to live on a device or a remote server. Meaning, when the time-frame exceeds the time limit, the data is then purged and refreshed with new information.