Email Configuration

A Record

An A record, short for Address Record, is a type of Domain Name System (DNS) record that maps a domain name to an IPv4 address. It is one of the most fundamental components of DNS and makes sure users and applications can reach your website or email server by translating human-readable domains into machine-readable IP addresses.

What Is an A Record?

An A record functions as the backbone of DNS resolution for IPv4 networks. When someone types a domain name, such as example.com, into their browser or email client, the DNS system queries the domain’s A record to determine the associated IP address, such as 192.0.2.1.

Without A records, services like websites, email servers, and APIs would not be reachable because systems require numeric IP addresses to establish network connections.

A records work closely with other DNS records, such as MX records for mail routing and TXT records for authentication (SPF, DKIM, DMARC).

Each A record contains:

  1. Hostname: The domain or subdomain (e.g., www.example.com)
  2. IPv4 address: The IP address assigned to that host
  3. Time to live (TTL): Specifies how long the record is cached by DNS resolvers

How Does an A Record Work?

Here’s the process step by step:

  1. User request: A user types a domain name into a browser or email client
  2. DNS query: The resolver checks for the domain’s A record
  3. Response: The A record returns the IPv4 address associated with the domain
  4. Connection established: The browser or mail client connects to the server using that IP address

For example, if example.com has an A record pointing to 192.0.2.1, typing example.com in a browser will load the content hosted at that IP.

Why Is an A Record Important?

A records play a critical role in:

  • Website accessibility: Directing traffic to the correct web server
  • Email delivery: Supporting related records, like MX records, that depend on accurate DNS resolution
  • Infrastructure management: Routing traffic between primary and backup servers
  • Performance optimization: Adjusting TTL to balance load and response times

An incorrect A record configuration can lead to website downtime, email delivery failures, or security vulnerabilities.

Common Use Cases

A records are used for:

  • Hosting websites: Mapping a domain to a web server’s IP address
  • Load balancing: Distributing traffic across multiple servers by using multiple A records
  • Failover systems: Pointing traffic to a backup server during outages
  • Custom subdomains: Assigning different IP addresses to subdomains for specialized services

Example scenario: A company wants its main website to resolve at example.com and sets its A record to point to 192.0.2.1. At the same time, it creates another A record for api.example.com pointing to a separate server handling API requests.

FAQs About A Record

Can a domain have multiple A records?

Yes. Multiple A records can be used for load balancing or redundancy.

What’s the difference between an A record and a CNAME record?

An A record maps a domain to an IP address, while a CNAME record maps one domain name to another domain name.

How do I check A records for a domain?

Use DNS lookup tools, nslookup, or dig commands to view A records.

Verify all your emails, even Catch-alls in real-time with our Email Verification Software.

Create an account for free.