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

# Enabling SPF and DKIM Records (Cpanel)

## SPF/DKIM

SPF/DKIM records are necessary in order to help prevent your email addresses from being spoofed, which lets unauthorized party to forge emails using @yourdomain.com mailbox.

### Creating a basic SPF/DKIM Record within cPanel

1. Login to your cPanel dashboard.

2. From the main page look for the **Email category**. From there click on the **Email Authentication** icon.

![](https://tutorials.my-virtual-panel.com/articles/IkSHxoc.png)

3. This brings you to the Email Authentication screen. Begin by finding the **SPF/DKIM** subsection, which is the vast majority of the page. Scroll down the page and check the check box for **All Entry (ALL)**.

NOTE: This is important as it adds the '-all' to the end of the record so that all addresses that fail the other checks will be rejected.

![](https://tutorials.my-virtual-panel.com/articles/KbIQX7R.png)

4. Now that you have set the basic SPF settings, scroll back up to the top and click the **Enable** button for both **SPF and DKIM** section.

![](https://tutorials.my-virtual-panel.com/articles/MrqcObs.png)

NOTE: You may see the following warning about authoritative nameservers right after enabling.

![](https://tutorials.my-virtual-panel.com/articles/yBi7Nng.png)

5. Allow some time to pass for the records to propagate and refresh the page afterwards. The warning should go away and DNS checks will be passed.

![](https://tutorials.my-virtual-panel.com/articles/hRWvpeZ.png)
