Skip to main content

A records

A records map domain names to IPv4 addresses. Use them to direct a name, such as www.example.com, to the address of the server hosting a service.

What an A record is

An A record associates a DNS name with an IPv4 address. For example, an A record for www.example.com could point to 192.0.2.10.

You can configure A records for the zone apex, such as example.com, or names within the zone, such as www.example.com and api.example.com.

Use an AAAA record for an IPv6 address. An A record’s destination must be an IPv4 address, rather than a hostname or URL.

For secondary zones, make record changes at the primary DNS provider. See Secondary DNS zones for details.

Explore A records on the Records page

To view A records, go to DNS > Zones, select Primary zones, open the zone, and select the Records tab.

In Grouped view, expand A (Address - IPv4).

The table displays the following information:

Column

Description

Record name

The complete DNS name, including the zone name

IPv4 address

The destination IPv4 address or addresses

Policy

The response-selection policy associated with the record

TTL

How long the record can be cached, in seconds

Use Search to locate a record or switch to Table view to review records in a table. The reorder control lets you adjust which record type groups are displayed and their order.

Each row provides an actions menu for editing or deleting the record. Select row checkboxes to perform bulk deletion.

Create an A record

To create an A record, open the zone’s Records tab:

  1. Select Add record, either at the top of the page or beside A (Address - IPv4).

  2. Set Record type to A (Address - IPv4).

  3. Enter the Name, or use @ for the zone apex.

  4. Enter the TTL in seconds.

  5. Leave Configure reverse PTR selected to create a corresponding PTR record, or clear it to skip reverse record creation.

    See Reverse DNS for reverse zone selection and configuration.

  6. Leave Policy set to None (Default) for a standard A record.

  7. Under Destination IP addresses, enter an IPv4 address.

  8. To include more addresses, select Add another. Use the remove icon beside an address to remove that entry.

  9. Review the record summary.

  10. Select Save and close, or Save and add another to continue creating records.

    If a duplicate is found when you save, a banner directs you to edit the existing record. Update that entry instead of creating another.

The form contains these fields:

Field

Description

Record type

The DNS record type; select A (Address - IPv4)

Name

The name within the zone, or @ for the zone apex

TTL

The cache duration, in seconds

Policy

Controls how DNS responses are selected

Destination IP addresses

One or more IPv4 addresses associated with the name

The zone name appears beneath Name. For a zone named example.com, these entries produce the following names:

Name entered

Resulting record name

@

example.com

www

www.example.com

api

api.example.com

You can also add records through Import records. See Import DNS records for supported formats and validation behavior.

Update an A record

  1. Locate the record on the Records tab.

  2. Open its actions menu and select Edit.

    The Record type and Name fields are read-only in the edit form.

  3. Update the TTL, Policy, or Destination IP addresses.

  4. Select Update.

To remove one destination address while retaining the other addresses, edit the record and remove the relevant address entry.

Delete an A record

To delete an entire A record entry, open its actions menu, select Delete, and confirm the deletion.

To delete multiple entries from the Records page:

  1. Select the checkboxes beside the records.

  2. Select Delete in the selection toolbar.

  3. Review the names listed in the confirmation dialog.

  4. Select Delete.

Deletion cannot be undone. Deleting an entry removes its configured addresses, although previously cached answers may remain available until their TTL expires.

Multiple IPv4 addresses and response policies

You can associate multiple IPv4 addresses with the same A record name. DigiCert®​​ DNS displays these addresses together in one row on the Records page.

If an A record already exists for a name, edit that record to add addresses. Attempting to create another A record entry with the same name displays a message directing you to edit the existing record.

Adding multiple addresses does not, by itself, configure health monitoring or automatic failover.

For a standard A record, select None (Default). This uses the configured record without applying a response selection policy.

For availability-based responses, see Simple failover. For region-specific responses, see Regional views. These articles explain the additional configuration required.

TTL and record changes

The TTL, or time to live, specifies how long a DNS record can be cached before it expires. Enter this value in seconds.

For example, a TTL of 800 represents 13 minutes and 20 seconds.

After you update an address, resolvers may continue returning a previously cached value until its TTL expires. Changing the TTL does not shorten the lifetime of copies already cached using the previous value.

When planning an address change, consider lowering the TTL in advance and allowing the previous TTL to expire before changing the destination.