> For the complete documentation index, see [llms.txt](https://docs.hostinger.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hostinger.com/domains/dns.md).

# DNS Management

DNS records route your domain's traffic to websites, email, and third-party services.

> **Note:** DNS management in hPanel is only available when your domain uses Hostinger's nameservers. If DNS lives at another provider, manage it there.

## Open DNS settings

1. Go to **Domains** in hPanel.
2. Click your domain.
3. Click **DNS / Nameservers**.

The **DNS Zone Editor** is also available from a website's dashboard sidebar, so you can edit records without leaving the site view.

## Record types

| Type      | Purpose                             | Example                                |
| --------- | ----------------------------------- | -------------------------------------- |
| **A**     | Points to an IPv4 address           | `@ → 185.0.0.1`                        |
| **AAAA**  | Points to an IPv6 address           | `@ → 2001:db8::1`                      |
| **CNAME** | Alias to another domain             | `www → yourdomain.com`                 |
| **MX**    | Mail server for the domain          | `@ → mail.hostinger.com (priority 10)` |
| **TXT**   | Free-text (verification, SPF, DKIM) | `@ → "v=spf1 include:... ~all"`        |
| **NS**    | Authoritative nameservers           | `@ → ns1.dns-parking.com`              |
| **SRV**   | Service locator records             | App/protocol-specific                  |
| **CAA**   | Allowed certificate authorities     | `@ → 0 issue "letsencrypt.org"`        |

## Add a record

1. Click **Add record**.
2. Select the type.
3. Fill in:
   * **Name/Host** — `@` for root, `www` for `www.yourdomain.com`, or a subdomain
   * **Value/Points to** — IP, domain, or text value
   * **TTL** — cache lifetime in seconds; default is fine
   * **Priority** — required for MX and SRV; lower = higher priority
4. Click **Save**.

## Edit or delete

Find the record → click **Edit** or **Delete** → confirm.

## DNS snapshots

Hostinger keeps snapshots of your DNS zone, so a bad edit isn't fatal:

1. Open your domain's DNS page and find **DNS snapshots** (also labeled **Restore DNS Snapshot**).
2. Pick a snapshot from before the change.
3. Restore — the zone reverts to that state.

> **Tip:** Making a risky change (switching email providers, re-pointing a live site)? Note the current snapshot time first, so you know exactly what to restore to.

## Propagation

DNS changes can take up to **24–48 hours** to propagate globally — often sooner. Check status at [dnschecker.org](https://dnschecker.org) or [whatsmydns.net](https://www.whatsmydns.net).

## Common setups

> Using Hostinger Email? Don't add these records by hand — the [Email Domain Settings](/emails/domain-settings.md) page sets up MX, SPF, DKIM, and DMARC for you.

### Point `www` to root

```
CNAME  www  yourdomain.com
```

### Google Workspace email

```
MX  @  ASPMX.L.GOOGLE.COM  (priority 1)
MX  @  ALT1.ASPMX.L.GOOGLE.COM  (priority 5)
MX  @  ALT2.ASPMX.L.GOOGLE.COM  (priority 5)
...
```

### Domain verification (TXT)

```
TXT  @  google-site-verification=xxxxxxxxxxxx
```

### SPF

```
TXT  @  v=spf1 include:_spf.hostinger.com ~all
```

***

*Last updated: July 22, 2026*
