> For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt.

# How to Enable DKIM in DirectAdmin

:::info

If you are using the Standard theme on DirectAdmin, switch to the Refreshed theme as shown in [How to change theme or layout on DirectAdmin](https://wiki.crowncloud.net/?How_to_change_theme_or_layout_on_DirectAdmin).

:::

DKIM stands for DomainKeys Identified Mail and is used to authenticate emails that are being sent. A DKIM record exists in the DNS, but it is a bit more complicated than SPF. DKIM's advantage is that it can survive forwarding, which makes it superior to SPF and a foundation for securing your email.

You need to log in as a **User**. If you are a **Reseller**, change the access level to **User** from the dropdown in the top-right corner.

## In the Refreshed Theme

### Enable DKIM


### Log in as a User
Log in to DirectAdmin as a **User**.
### Open Email Accounts
Navigate to **Email Manager** > **Email Accounts**.
<img alt="Email Accounts under Email Manager" src={image0} />
### Click Enable DKIM
Click the **Enable DKIM** button.
<img alt="Enable DKIM button" src={image1} />

### Update Your DNS Records

Enabling DKIM adds two new DNS records within DirectAdmin.


### Open DNS Management
Navigate to **Account Manager** > **DNS Management**. Be sure you are on the right domain.
<img alt="DNS records" src={image2} />
### Find the DKIM record
Two new `TXT` records have been added. You need the contents of the `x._domainkey` record, which has the following format:
```
"v=DKIM1; k=rsa; p=<encoded public key>"
```
### Add the record to external DNS (if needed)
If you use Cloudflare to manage your domain's DNS, add a new **TXT** record (DKIM is configured as a TXT record) with the contents of the **TXT** record from DirectAdmin. For more information, see [Managing DNS records in Cloudflare](https://support.cloudflare.com/hc/en-us/articles/360019093151-Managing-DNS-records-in-Cloudflare).

Once everything is configured, you should be able to send signed emails.

## In the Standard Theme


Click here to show the steps

### Enable DKIM

### Log in as a User
Log in to DirectAdmin as a **User**.
### Open Email Accounts
Navigate to **Email Manager** > **Email Accounts**.
<img alt="Email Accounts under Email Manager" src={image3} />
### Click Enable DKIM
Click the **Enable DKIM** button.
<img alt="Enable DKIM button" src={image4} />

### Update Your DNS Records
Enabling DKIM adds two new DNS records within DirectAdmin.

### Open DNS Management
Navigate to **Account Manager** > **DNS Management**. Be sure you are on the right domain.
<img alt="DNS records" src={image5} />
### Find the DKIM record
Two new `TXT` records have been added. You need the contents of the `x._domainkey` record, which has the following format:
```
"v=DKIM1; k=rsa; p=<encoded public key>"
```
### Add the record to external DNS (if needed)
If you use Cloudflare to manage your domain's DNS, add a new **TXT** record (DKIM is configured as a TXT record) with the contents of the **TXT** record from DirectAdmin. For more information, see [Managing DNS records in Cloudflare](https://support.cloudflare.com/hc/en-us/articles/360019093151-Managing-DNS-records-in-Cloudflare).

Once everything is configured, you should be able to send signed emails.
