|
| 1 | +--- |
| 2 | +meta: |
| 3 | + title: How to autoconfigure a Scaleway domain with Transactional Email |
| 4 | + description: This page provides instructions how to automatically configure the required DNS records on your domain with Transactional Email. |
| 5 | +content: |
| 6 | + h1: How to autoconfigure a Scaleway domain with Transactional Email |
| 7 | + paragraph: This page provides instructions how to automatically configure the required DNS records on your domain with Transactional Email. |
| 8 | +tags: autoconfiguration autoconfig domain dns spf spf-record dkim dkim-records transactional |
| 9 | +dates: |
| 10 | + validation: 2024-10-11 |
| 11 | + posted: 2024-10-11 |
| 12 | +categories: |
| 13 | + - managed-services |
| 14 | +--- |
| 15 | + |
| 16 | +With Scaleway domains, you can now benefit from automatic DNS record creation and updates (autoconfiguration) for domains already registered with the Transactional Email service. |
| 17 | +Automatic configuration of your DNS zone streamlines the setup of your domain for Transactional Email, allowing you to focus on sending emails and tracking traffic without manual configuration delays. |
| 18 | + |
| 19 | +You can enable autoconfiguration directly from the Scaleway console (see instructions below), through the [Transactional Email API](https://www.scaleway.com/en/developers/api/transactional-email/#path-domains-register-a-domain-in-a-project), or via [Terraform](https://github.com/scaleway/terraform-provider-scaleway/blob/master/docs/data-sources/tem_domain.md) using the `autoconfig` parameter (`bool`). |
| 20 | + |
| 21 | +<Message type="note"> |
| 22 | + This documentation covers the use of DNS autoconfiguration for domains already registerd with Transactional Email. If you want to add a new domain, refer to [How to configure your sending domain with Transactional Email](/managed-services/transactional-email/how-to/configure-domain-with-transactional-email/). |
| 23 | +</Message> |
| 24 | + |
| 25 | +<Macro id="requirements" /> |
| 26 | + |
| 27 | +- A Scaleway account logged into the [console](https://console.scaleway.com) |
| 28 | +- [Owner](/identity-and-access-management/iam/concepts/#owner) status or [IAM permissions](/identity-and-access-management/iam/concepts/#permission) allowing you to perform actions in the intended Organization |
| 29 | +- A domain name registered with [Scaleway Domains and DNS](/network/domains-and-dns/) |
| 30 | + |
| 31 | +## How to enable DNS autoconfiguration |
| 32 | + |
| 33 | +1. Click **Transactional Email** in the **Managed Services** section of the [console](https://console.scaleway.com/) side menu. The **Transactional Email** overview page displays. |
| 34 | +2. Click the domain you want to configure. The Transactional Email dashboard for the domain displays. |
| 35 | +3. Click the **DNS Verification** tab. |
| 36 | +4. Navigate to the **Autoconfiguration** section of the page, then click **Enable autoconfigration**. A pop-up displays. |
| 37 | +5. Confirm by clicking **Enable autoconfiguration** in the pop-up. The DNS zone of your domain will be updated with SPF, DKIM, DMARC and MX records. |
| 38 | + <Message type="tip"> |
| 39 | + During the autoconfiguration process, a blue dot appears next to your domain to indicate the status. Once the configuration is complete, the dot will turn green. |
| 40 | + </Message> |
| 41 | + |
| 42 | +## How to disable DNS autoconfiguration |
| 43 | + |
| 44 | +1. Click **Transactional Email** in the **Managed Services** section of the [console](https://console.scaleway.com/) side menu. The **Transactional Email** overview page displays. |
| 45 | +2. Click the domain you want to configure. The Transactional Email dashobard for the domain displays. |
| 46 | +3. Click the **DNS Verification** tab. |
| 47 | +4. Navigate to the **Autoconfiguration** section of the page, then click **Disable autoconfigration**. A pop-up displays. |
| 48 | +5. Type **DISABLE** and click **Disable autoconfiguation** to disable the automatic configuration of the DNS. |
| 49 | + |
| 50 | +<Message type="note"> |
| 51 | +- If you disable autoconfig, you have to **manually manage** DNS records (SPF, DKIM, MX, DMARC). |
| 52 | +- **Existing DNS records are not deleted**. Disabling autoconfig does not remove the previously created DNS records. They will remain in place until manually modified or deleted. You can configure multiple mail servers or providers, which requires a single SPF and DMARC record for different domains. Therefore, the records are not automatically removed. |
| 53 | +</Message> |
| 54 | + |
0 commit comments