> ## Documentation Index
> Fetch the complete documentation index at: https://speedypage.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Manage DNS records

> How to add, edit, and delete DNS records in cPanel's Zone Editor, including A, AAAA, CNAME, MX, TXT, SRV, and CAA records.

The Zone Editor in cPanel lets you manage DNS records for your domains. You'll use this when pointing a domain to an external service, verifying domain ownership, or configuring email authentication.

<Note>
  Your domain must be using SpeedyPage's [nameservers](/web-hosting/nameservers) for these records to take effect. If your domain uses third-party nameservers, manage DNS records there instead.
</Note>

## Add a DNS record

<Steps>
  <Step title="Open the Zone Editor">
    Log in to cPanel through your [client area](https://my.speedypage.com) or at `yourdomain.com/cpanel`. Go to **Domains** and click **Zone Editor**.
  </Step>

  <Step title="Select the domain">
    Find the domain you want to modify and click **Manage**.
  </Step>

  <Step title="Add a record">
    Click **Add Record**. A new row appears at the top of the table. Select the record type from the **Type** dropdown, fill in the required fields, and click **Save Record**.

    You can also click the arrow next to **Add Record** to pick a specific record type directly.
  </Step>
</Steps>

## Edit or delete a record

To edit a record, click **Edit** next to it, update the fields, and click **Save Record**.

To delete a record, click **Delete** next to it and confirm with **Continue**.

<Warning>
  Deleting the wrong record can break your website, email, or other services. If you're unsure what a record does, don't delete it.
</Warning>

## Record types

### A record

Maps a domain or subdomain to an IPv4 address. This is the most basic DNS record. It tells the internet where your website lives.

| Field       | What to enter                                                        |
| ----------- | -------------------------------------------------------------------- |
| **Name**    | The hostname, for example `example.com.` or `subdomain.example.com.` |
| **Address** | An IPv4 address, for example `192.0.2.1`                             |

### AAAA record

Same as an A record, but maps a domain to an IPv6 address.

### CNAME record

Creates an alias that points one hostname to another. Often used to point subdomains to external services.

| Field      | What to enter                                            |
| ---------- | -------------------------------------------------------- |
| **Name**   | The alias hostname, for example `shop.example.com.`      |
| **Record** | The target hostname, for example `shops.myplatform.com.` |

<Note>
  A CNAME record must point to a hostname, not an IP address. You also cannot create a CNAME for the root domain (`example.com`) — use an A record instead.
</Note>

### MX record

Controls where email for your domain is delivered. If you use a third-party email provider like Google Workspace or Microsoft 365, you'll need to update your MX records to point to their mail servers.

| Field           | What to enter                                                                       |
| --------------- | ----------------------------------------------------------------------------------- |
| **Priority**    | A number that sets the order mail servers are tried. Lower numbers are tried first. |
| **Destination** | The mail server hostname, for example `aspmx.l.google.com.`                         |

### TXT record

Stores text data that other services read. TXT records are used for domain verification, email authentication, and various integrations.

| Field      | What to enter                                             |
| ---------- | --------------------------------------------------------- |
| **Name**   | The hostname, usually your domain name                    |
| **Record** | The text value provided by the service you're configuring |

### SRV record

Specifies a host and port for specific services, such as SIP or XMPP.

| Field        | What to enter                                    |
| ------------ | ------------------------------------------------ |
| **Priority** | The record's priority (lower is higher priority) |
| **Weight**   | Ranking among records with the same priority     |
| **Port**     | The port number for the service                  |
| **Target**   | The hostname of the server providing the service |

### CAA record

Controls which certificate authorities are allowed to issue SSL certificates for your domain.

| Field                    | What to enter                                                                                  |
| ------------------------ | ---------------------------------------------------------------------------------------------- |
| **Issuer Critical Flag** | `0` (non-critical) or `1` (critical — blocks issuance if the CA doesn't understand the record) |
| **Tag**                  | `issue`, `issuewild`, or `iodef`                                                               |
| **Value**                | The CA's domain, for example `letsencrypt.org`                                                 |

<Note>
  If no CAA records exist, any CA can issue certificates for your domain. If you add a CAA record, make sure to include one for `letsencrypt.org` so that AutoSSL can continue issuing free certificates for your account.
</Note>

## Common scenarios

### Verify domain ownership

Services like Google Search Console and Microsoft 365 ask you to prove you own a domain by adding a TXT record. Add a TXT record with your domain as the **Name** and paste the verification string they provide as the **Record** value.

### Set up SPF

An SPF record tells mail servers which servers are allowed to send email on behalf of your domain. Add a TXT record with your domain as the **Name** and the SPF value as the **Record**, for example:

```txt theme={null}
v=spf1 +a +mx include:spf.speedy.page -all
```

### Set up DKIM

DKIM adds a digital signature to outgoing email so recipients can verify it wasn't tampered with. Your email provider will give you a CNAME or TXT record to add, usually with a name like `default._domainkey.example.com`.

### Set up DMARC

DMARC tells receiving mail servers what to do when an email fails SPF and DKIM checks. Add a TXT record with the name `_dmarc.example.com` and a value like:

```txt theme={null}
v=DMARC1; p=quarantine; rua=mailto:dmarc@example.com
```

You can also use the **DMARC** record type shortcut in the Zone Editor, which provides a form to build the record without writing the syntax manually.

### Point a subdomain to an external service

To point a subdomain like `shop.example.com` to a platform like Shopify or Squarespace, add a CNAME record with `shop.example.com.` as the **Name** and the target hostname provided by the platform as the **Record**.

<Tip>
  DNS changes usually propagate within a few minutes on SpeedyPage's nameservers, but it can take up to 48 hours for all DNS resolvers worldwide to pick up the change.
</Tip>
