DNS Error Occurred , DKIM,SPF

Operating System & Version
CENTOS 7.9
cPanel & WHM Version
94.0.11

dxb04

Well-Known Member
Dec 27, 2020
67
4
8
UAE
cPanel Access Level
Root Administrator
I still wouldn't expect there to be errors from the cPanel interface when setting up the records. Do you see them added to the zone if you check the Zone Editor tool?
The record were there before when i added them ..
and they already there ..

that's all ?!
 

dxb04

Well-Known Member
Dec 27, 2020
67
4
8
UAE
cPanel Access Level
Root Administrator
Hi ,

In WHM , i open to : service configuration -> Nameserver Selection section
There was no choosen dns , the only one i was able to click on was BIND .

Then i try to Enable DKIM/SPF Globally

How to check if DKIM is working ?
 

dxb04

Well-Known Member
Dec 27, 2020
67
4
8
UAE
cPanel Access Level
Root Administrator
Have you already created custom nameservers and pointed them to your server at the registrar level? If so, and the rest of the DNS is working, there are online tools such as DKIM Check- DomainKeys Identified Mail (DKIM) Record Lookup - MxToolBox that can check the records for you.
Yes , it had been done at : Home »Networking Setup »Resolver Configuration , and i add the server ip

I check the online tool you provide , it shows :



An error has occurred with your lookup. Please try again.
You must include a selector when checking DKIM.

[LIST]
[*]Option 1: (domain):(selector) i.e. mxtoolbox.com:[I]email[/I] - where mxtoolbox.com is the domain part and [I]email[/I] is the selector, separated by a colon
[*]Option 2: (selector).(_domainkey).(domain) i.e. [I]email._domainkey.mxtoolbox.com[/I] - where [I]email[/I] is the selector followed by ._[I]domainkey[/I]. and then mxtoolbox.com as the domain.
[/LIST]



i add an email address of the same domain as a selector , is it correct ? or i missing something ?!

Moreover ,
Yesterday i had made some changes at : Home »Email »Email Deliverability

DKIM and SPF are valid now ..
 

dxb04

Well-Known Member
Dec 27, 2020
67
4
8
UAE
cPanel Access Level
Root Administrator
The resolver configuration is separate from the nameservers. Is the DNS pointed to the cPanel machine for this domain?
As long as i know , yes

Does : Nameserver Record Report , shows this information ?
The nameserver and the ip are correct ..

Also at : Home /Networking Setup /Resolver Configuration ,
The ip address is correct ..

Is there any other thing need to be checked ?!
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
15,235
2,422
363
cPanel Access Level
Root Administrator
That's all good then. If you see the DNS record in cPanel, that's all that needs to happen.

Another easy way to test is to send an email to Gmail and then view the headers. That will show them checking the SPF and DKIM and if it validates.
 

dxb04

Well-Known Member
Dec 27, 2020
67
4
8
UAE
cPanel Access Level
Root Administrator
That's all good then. If you see the DNS record in cPanel, that's all that needs to happen.

Another easy way to test is to send an email to Gmail and then view the headers. That will show them checking the SPF and DKIM and if it validates.
Shows all as PASS
:)