Provider guide · updated 2026-09-03
cPanel hosting: SPF, DKIM and PTR for server-sent mail
cPanel's Email Deliverability interface generates SPF and DKIM records for domains that send mail from the hosting server. Reverse DNS is controlled by the host, and shared IPs carry shared reputation.
The Email Deliverability interface
In cPanel, open Email, then Email Deliverability. Each domain shows whether its SPF and DKIM records are valid. Click Manage to see the suggested records. If cPanel hosts your DNS, the Repair button can install them. If DNS is elsewhere, copy the records to your DNS host.
- Log in to cPanel and open Email Deliverability.
- Click Manage next to the domain.
- Copy the DKIM and SPF records shown, or click Install the suggested record if cPanel manages the zone.
- Re-check the interface after DNS propagates.
DKIM with the default selector
cPanel signs with the selector default, so the record name is default._domainkey. The public key is generated per domain on the server. If you move to a different server, a new key is generated and the record must be updated.
| Type | Name | Value |
|---|---|---|
| TXT | default._domainkey.example.com | v=DKIM1; k=rsa; p=<public key shown in cPanel> |
SPF for server-sent mail
cPanel's suggested SPF record typically uses +a and +mx, which authorize the server's A record and MX hosts, and may add +ip4 for the server's outbound address. This works when mail is sent by the same server that hosts the website.
If your mailboxes are at Google Workspace or Microsoft 365 and only the website sends through cPanel, combine both: keep the provider's include and add the server's ip4 mechanism. Remove +a and +mx if they no longer point at mail-sending hosts.
| Type | Name | Value |
|---|---|---|
| TXT | example.com | v=spf1 +a +mx +ip4:203.0.113.10 ~allUse the server address shown in cPanel. Merge with an existing SPF record. |
PTR records and shared IP reputation
Reverse DNS (PTR) for the server's IP is set by the hosting provider, not in cPanel. If the audit reports a missing or mismatched reverse DNS, ask the host to set it to the server's hostname.
On shared hosting, every account on the server sends from the same IP. If another account sends spam, the IP's reputation affects your mail. Authentication records cannot fix that. A dedicated IP, or sending through a transactional provider, keeps your reputation separate.
