> For the complete documentation index, see [llms.txt](https://newsleopard.gitbook.io/help-center/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://newsleopard.gitbook.io/help-center/marketing/marketing/squarespace-dns-setup.md).

# Squarespace DNS 設定教學

如果你的網域 DNS 代管在 Squarespace，在收到電子豹提供的 DNS 設定檔（CSV）後，就依照下面的步驟，把每一筆記錄逐一新增到 Squarespace。

> ⚠️ 本文所有 DNS 記錄的名稱與值都是示意用途，並非實際要填入的內容。實際操作時，請依照你收到的 DNS 設定檔（CSV）裡的值逐一填入，操作步驟與本文相同。

## 記錄總覽

| # | Record Name             | Type  | 說明                                                                        |
| - | ----------------------- | ----- | ------------------------------------------------------------------------- |
| 1 | `_dmarc`                | TXT   | DMARC 政策，以 `v=DMARC1;` 開頭，包含政策設定（如 `p=none`）                              |
| 2 | `@`（空白）                 | TXT   | SPF 記錄，列出授權代表網域寄信的服務                                                      |
| 3 | `mx._domainkey`         | TXT   | Mailgun DKIM，以 `k=rsa; p=` 開頭，後接一段很長的 RSA 公鑰字串                            |
| 4 | `xxxxxxxx..._domainkey` | CNAME | Amazon SES DKIM（第 1 筆），指向 `xxxxxxxx....dkim.amazonses.com`，開頭識別碼與 Name 相同 |
| 5 | `yyyyyyyy..._domainkey` | CNAME | Amazon SES DKIM（第 2 筆），指向 `yyyyyyyy....dkim.amazonses.com`，開頭識別碼與 Name 相同 |
| 6 | `zzzzzzzz..._domainkey` | CNAME | Amazon SES DKIM（第 3 筆），指向 `zzzzzzzz....dkim.amazonses.com`，開頭識別碼與 Name 相同 |

## 開始前的注意事項

Squarespace 的 DNS 設定位置，會因為你的網域連接方式不同而有所差異：

| 網域連接方式                        | DNS 設定位置                            |
| ----------------------------- | ----------------------------------- |
| **Squarespace 自有網域**          | 直接在 Squarespace 後台的 DNS Settings 編輯 |
| **第三方網域（Nameserver Connect）** | 在 Squarespace 後台的 DNS Settings 編輯   |
| **第三方網域（DNS Connect）**        | 需回到原網域註冊商編輯，**本文不適用**               |

## 進入 Squarespace DNS 管理介面

1. 開啟瀏覽器，前往 <https://account.squarespace.com/domains>
2. 輸入帳號與密碼登入
3. 在 Domains 頁面，點擊你要設定的**網域名稱**
4. 點擊 **「DNS Settings」**
5. 向下捲動至 **「Custom Records」**&#x5340;塊

> ⚠️ Squarespace 的 Host 欄位不需要填入網域名稱本身。

## 記錄 1：DMARC（TXT）

**操作步驟：**

1. 在「Custom Records」區塊，點擊 **「Add Record」**&#x6309;鈕
2. 在 **「Type」**&#x4E0B;拉選單選擇 **「TXT」**
3. 在 **「Host」**&#x6B04;位輸入：`_dmarc`
4. 在 **「Text」**&#x6B04;位依你的檔案填入
5. **「TTL」**&#x4FDD;留預設值（4 hours）
6. 點擊 **「Save」**&#x5132;存

## 記錄 2：SPF（TXT）

**操作步驟：**

1. 點擊 **「Add Record」**
2. **「Type」**&#x9078;擇 **「TXT」**
3. **「Host」**&#x6B04;位輸入：`@`
4. **「Text」**&#x4F9D;你的檔案填入
5. 點擊 **「Save」**&#x5132;存

> ⚠️ Squarespace 在你新增後會**自動合併** SPF 記錄，不需要手動處理。

## 記錄 3：Mailgun DKIM（TXT）

**操作步驟：**

1. 點擊 **「Add Record」**
2. **「Type」**&#x9078;擇 **「TXT」**
3. **「Host」**&#x4F9D;你的檔案填入，格式範例：`mx._domainkey`
4. **「Text」**&#x4F9D;你的檔案填入（以 `k=rsa; p=` 開頭）
5. 點擊 **「Save」**&#x5132;存

**驗證方式：** 請參照你的 DNS 設定檔中該筆記錄的 Validate URL 欄位。

## 記錄 4–6：Amazon SES DKIM（CNAME）

Amazon SES 使用三筆 CNAME 記錄來啟用 DKIM 簽章，三筆操作方式相同：

1. 點擊 **「Add Record」**
2. **「Type」**&#x9078;擇 **「CNAME」**
3. **「Host」**&#x4F9D;你的檔案填入對應的識別碼
4. **「Alias Data」**&#x4F9D;你的檔案填入對應的目標網域
5. 點擊 **「Save」**&#x5132;存

> Squarespace 的 CNAME 目標欄位名稱為 **「Alias Data」**，對應其他平台的「Value」或「Points to」欄位。

**驗證方式：** 請參照你的 DNS 設定檔中該筆記錄的 Validate URL 欄位。

## 設定完成後的確認清單

* [ ] `_dmarc` TXT 記錄已新增
* [ ] `@` SPF TXT 記錄已新增
* [ ] `mx._domainkey` TXT 記錄已新增（Mailgun DKIM）
* [ ] 三筆 Amazon SES DKIM CNAME 記錄均已新增
* [ ] 使用 DNS 設定檔中各筆記錄提供的 **Validate URL** 逐一驗證記錄是否已生效

> ⏱ Squarespace 自訂記錄預設 TTL 為 4 小時，DNS 更新最多可能需要 **24 至 48 小時**才會在全球完全生效。

***

相關文章：[如何設定寄件者身份驗證（DNS 設定）](/help-center/marketing/marketing/sender-authentication-dns-setup.md)、[為何要設定寄件者身份驗證？](/help-center/marketing/marketing/1.md)


---

# 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, and the optional `goal` query parameter:

```
GET https://newsleopard.gitbook.io/help-center/marketing/marketing/squarespace-dns-setup.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
