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

# DNS Records

> Reference and how-to for configuring A, AAAA, CNAME, MX, TXT, and SRV records.

DNS records tell the internet where to find your domain's services — websites, email, subdomains, and more.

## Record types reference

| Type      | Purpose                                   | Example value                            |
| --------- | ----------------------------------------- | ---------------------------------------- |
| **A**     | Point to an IPv4 address                  | `203.0.113.10`                           |
| **AAAA**  | Point to an IPv6 address                  | `2001:db8::1`                            |
| **CNAME** | Alias one hostname to another             | `myapp.crazynode.in`                     |
| **MX**    | Mail server for the domain                | `mail.example.com` (priority 10)         |
| **TXT**   | Text data (SPF, DKIM, verification)       | `"v=spf1 include:_spf.example.com ~all"` |
| **SRV**   | Service location (VoIP, Minecraft, etc.)  | `0 5 25565 mc.example.com`               |
| **NS**    | Delegate a subdomain to other nameservers | `ns1.provider.com`                       |

## Adding a record

<Steps>
  <Step title="Open DNS management">
    In the client area: **Domains → My Domains → Manage DNS**.
  </Step>

  <Step title="Click Add Record">
    Choose the record type.
  </Step>

  <Step title="Fill in the fields">
    * **Name/Host** — subdomain (use `@` for root, `www` for `www.example.com`)
    * **Value/Target** — the destination (IP or hostname)
    * **TTL** — how long resolvers cache the record (default `3600` is fine)
  </Step>

  <Step title="Save">
    Changes take effect after DNS propagation (usually minutes to hours).
  </Step>
</Steps>

## Common configurations

### Point domain to a website

| Type  | Name  | Value             |
| ----- | ----- | ----------------- |
| A     | `@`   | `YOUR_HOSTING_IP` |
| CNAME | `www` | `example.com`     |

### Point a subdomain to a game server

| Type | Name                 | Value                      |
| ---- | -------------------- | -------------------------- |
| A    | `mc`                 | `YOUR_GAME_SERVER_IP`      |
| SRV  | `_minecraft._tcp.mc` | `0 5 25565 mc.example.com` |

### Email routing (with Google Workspace)

| Type | Name | Value             | Priority |
| ---- | ---- | ----------------- | -------- |
| MX   | `@`  | `smtp.google.com` | 1        |

## Checking propagation

Use [whatsmydns.net](https://www.whatsmydns.net) or `dig`:

```bash theme={null}
dig example.com A
dig example.com MX
dig example.com TXT
```
