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

# DNS レコードを管理する

## DNSレコードを管理する

DNSレコードはドメインをサーバーやサービスに接続します。

### 一般的なレコードタイプ

* **A**：名前をIPv4アドレスに向けます。
* **AAAA**：名前をIPv6アドレスに向けます。
* **CNAME**：ある名前を別の名前のエイリアスにします。
* **MX**：メールのルーティング。
* **TXT**：検証とメール認証（SPF/DKIM/DMARC）。

### 典型的な設定

#### VPSでのウェブサイト

* `A` のレコード `@` → あなたのVPSのIPv4
* オプション `A` のレコード `www` → あなたのVPSのIPv4、または `CNAME www → @`

#### メール配信性

* SPF（TXT）
* DKIM（TXT）
* DMARC（TXT）

{% hint style="warning" %}
不適切なMX/TXTレコードはメールを壊す可能性があります。変更は一度に一つずつ行ってください。
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.prevps.com/documentation/documentation-ja/domein/dns-rekdowosuru.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
