rpvw

Well-Known Member
Jul 18, 2013
1,088
446
113
Spain
cPanel Access Level
Root Administrator
The following is for setting up DMARC in cPanel - NOT in WHM

There are several wizards available for generating the DMARC txt that you need - just do a search for "dmarc wizard" in your favorite search engine

Once you have the txt for the domain you are adding the record for, go into the advanced DNS editor for that domain in their cPanel
Add a record using the following:

Name _dmarc
TTL 14400
Type TXT
And in the TXT Data use the txt you got from your wizard (tip: don't wrap in any parenthesis if they were added to the generated txt)
Lastly, don't forget to click the "Add Record" button to save the record.

You may then want to Synchronize all zones to all servers in your WHM Home > DNS Functions > Synchronize DNS Records

You can test the validity of your record using many on-line tools, use "test dmarc" in your favorite search engine.
 
Last edited:

samuelmf

Well-Known Member
May 22, 2006
110
5
168
Perú
Thansk my friend, i think that the correct name value was: _dmarc.domain.com. but i've see that only is _dmarc. Confir it please

Thanks again
 

rpvw

Well-Known Member
Jul 18, 2013
1,088
446
113
Spain
cPanel Access Level
Root Administrator
If you use just _dmarc cPanel should add the .domain.tld. bit for you automatically when it creates the record - at least it did for me :)
 

rpvw

Well-Known Member
Jul 18, 2013
1,088
446
113
Spain
cPanel Access Level
Root Administrator
What can I say, I have just done 20 dmarc records and they ALL added the .domain.tld. after the _dmarc during the process. I guess if your system isn't behaving the same way, you will have to resort to manually adding the full domain record.

I would recommend you remove the parenthesis from your record - when i tried, it failed all the tests if the record was wrapped in parenthesis !
 

samuelmf

Well-Known Member
May 22, 2006
110
5
168
Perú
Mmmm ok i will investigate it
One question more it's neccesary the trailing dot at the end of the .com .net etc?
 

rpvw

Well-Known Member
Jul 18, 2013
1,088
446
113
Spain
cPanel Access Level
Root Administrator

samuelmf

Well-Known Member
May 22, 2006
110
5
168
Perú
Ok, Thanks my friend.

I have tryed to add the _dmarc for another domain and the domain.tld. does not filled automaticaly i will still investigating.

I've forgotten this step
You may then want to Synchronize all zones to all servers in your WHM Home > DNS Functions > Synchronize DNS Records
 

samuelmf

Well-Known Member
May 22, 2006
110
5
168
Perú
If i complete Snap 2016-06-10 at 11.14.32.png
and save, load again, the .miempresa.com. is deleted. :/

I'm doing this by whm i will try to do by user cpanel account (this implicate that i must enable the advanced editor on the features list)
 

rpvw

Well-Known Member
Jul 18, 2013
1,088
446
113
Spain
cPanel Access Level
Root Administrator
The instructions I gave were specific to using the advanced DNS editor in the cPanel interface for the domain you were adding the record.

If you are trying to use them in the WHM DNS editor - then presumably you know more than I do, because I always end up getting it wrong and making a mess.

On the basis you know more than I do, I shall now go away and have a coffee o_O
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,902
2,226
363
cPanel Access Level
DataCenter Provider
Twitter