How to configure DomainKeys and SenderID using WHM?

I found out I could edit DNS settings via my WHM manager through DNS Zone. This allows me edit DNS properties for each domain individually. So I tried adding the DomainKeys and SenderID TXT records there. But the verification failed.

Anyone has a guide to setup the TXT records using DNS Zone from the WHM manager?

Thanks.

Dave Dave, 8 years ago

Might be best to get in touch with WHM support Danny, they should be able to help you out.

dannyfoo dannyfoo, 8 years ago

Hmm, I asked my hosting guys if they knew then they asked to ask you guys. But now I gotta ask WHM themselves. Oh well...

p.s: In case the acronym WHM is misleading, it's Web Host Manager.

Mathew Mathew, 8 years ago

Your hosting company are really the guys who have the knowledge - we can point you to http://www.campaignmonitor.com/help/topic.aspx?t=100 for how some other hosts have their setup, but we don't have individual knowledge of your hosts system.


Get in touch with us on Twitter: http://twitter.com/campaignmonitor
We're also on Facebook: http://facebook.com/campaignmonitor
dannyfoo dannyfoo, 8 years ago

Well, they called me and still told me I need to ask you guys for help in setting this up. I'm obviously not asking for one of CM to assist me personally but it's weird because I believe I have everything but something is still missing.

Here's a screenshot of the WHM Manager and how I input the required records under my domain name. And, they've already been created but still can't be verified.

http://img524.imageshack.us/my.php?image=dnszonevm7.gif

If anyone besides CM knows how to do this via the WHM Manager, please do leave your comment here. Thanks.

vince, 8 years ago

WHM is just one part of a complete system called cPanel.

Best place to ask is on their very active forums
http://forums.cpanel.net/

In the meantime, also found this
Installing DomainKeys on a cPanel server
http://www.cpanelconfig.com/cpanel-administration/installing-domainkeys-on-a-cpanel-server/

dannyfoo dannyfoo, 8 years ago

Thanks for the guide on Installing DomainKeys. I'll go see if the hosting company can help me out with it.

This is what the hosting tech staff said before I replied:

"I would suggest that you ask them (CM) why they can't verify the records. As mention previously, any third-party records or setting you need to ask the vendor as we are not sure whether what you have key in is correct."

Mathew Mathew, 8 years ago

Hey Danny,

I can confirm that the key we provide in your account will work fine if it is inserted correctly - if you email support we can check your specific domain, but of course if it is not correct it will be up to the host to fix it. Frustrating!


Get in touch with us on Twitter: http://twitter.com/campaignmonitor
We're also on Facebook: http://facebook.com/campaignmonitor
dannyfoo dannyfoo, 8 years ago

Hey Matthew,

Yes, it's ultimately frustrating even for a patient user as myself. But it'll be a huge advantage to CM if it does get solved as I'm sure others may wonder what's the solution for this.

Anyway, I've taken your advice and sent a support email. :)

Wish me luck.

Stormy Stormy, 8 years ago

Try adding a full stop (period) to the end of the Domain entry, so it reads 'cm._domainkey.simpleet.com.'


No-one expects the Spanish Inquisition!
Phend, 8 years ago

Danny,

Did you find a solution to this in the end?

Thanks in advance.

allsop, 7 years ago

Has anyone had luck with this?  I've been going a few days now trying every combination I can with no luck.  I setup a Custom Domain in less than 5 minutes with no issues (DNS wise).

I sent in a support ticket for any guidance on the topic and have received no response.

Thanks to anyone who can help.

Mathew Mathew, 7 years ago

We've answered all our support emails allsop - or do you mean from your host? Unfortunately many hosts are not up to date with domain keys.


Get in touch with us on Twitter: http://twitter.com/campaignmonitor
We're also on Facebook: http://facebook.com/campaignmonitor
efront efront, 7 years ago

I've had the same issues on WHM/CPanel.

I followed Vince's link and used ran the script via terminal - it created a default._domainkey record which I just renamed.  The main difference between what CM gave me to put in and the key generated by WHM was the TXT part was wrapped in double quotes " " and had a semi colon before the closing quote.

e.g. "k=rsa; t=y; p=xxxxxxxxxxxxxxxxxxxxxxx;"

Dorgo, 7 years ago

I am using WHM too. Would be great to get this working.

SenderID & SPF are working fine however i cannot get DomainKeys/DKIM working at all.

In WHM i have:-

Domain: cm._domainkey.domain.com.au (if i add a . to the end it drops the domain and saves as cm._domainkey)
TTL: 14400
IN: IN
Record Type: TXT
"k=rsa; t=y; p=xxxxxxxxxx;" (have tried with and without quotes and semicolon at the end)

anyone got this working?

Stef, 7 years ago

I ended up using the info in the link that Vince provided and got it working that way.

These are differences I see with the keys that were created via CM:
semicolon at the end
quotes at the end
no "t=y;" (The t=y; means that your domain is in testing mode. After you remove it you should restart bind. This restart is done automatically if you change your DNS record via the WHM GUI).
default._domainkey instead of cm._domainkey (but that should not make a difference). But it should be this string without your domainname after it if you enter it in the WHM GUI (and no dot either).

Remember if you change your record you should give it time to propagate through the internet before you can test again.

minimaldesign minimaldesign, 7 years ago

I found that just enclosing both DomainKeys and Sender ID in quotes did the trick for me. BUT, after getting authentication failures for a few days, I copy pasted the DomainKeys again in campaign monitor interface and compared it to the one I got the first time and they were completely different... Not sure if that's normal... Maybe CM is reissuing new keys when the previous one fails? If that's the case, that could be the reason for so much confusion... It should be indicated somewhere...

So if you've had problems with authenticating, before you go crazy in WHM trying this and that (like I did...) make sure you go back in CM control panel and copy+paste the latest version of the DomainKeys that's there... As soon as I did that, I got verified successfully pretty much instantly.

Hope that helps...

smahato, 7 years ago

after multiple attempts, mine finally worked with the following setup:
*  cm._domainkey
* without  "t=y;" and semicolon at the end ( eg: k=rsa; p=xxxxxxxxx.....; )

Mathew Mathew, 7 years ago

@minimaldesign We definitely don't change the keys unless you manually delete them from your account, and then re-add a domain to authenticate. In that case, new ones are generated.


Get in touch with us on Twitter: http://twitter.com/campaignmonitor
We're also on Facebook: http://facebook.com/campaignmonitor
smahato, 7 years ago

phew.... someone needs to put this in the help forum in bold. I went thru several hours of agonizing wait to get the domainkeys verified. Finally got this great site:
* put the TTL as a low number eg: 100 (the server refreshes every 100 seconds)
* go to http://domainkeys.sourceforge.net/selectorcheck.html
* put the name as "cm._domainkeys.<your host.com>
* and see if the results come up correctly
* if the results seem good, change the value of TTL to 14400 or some high default value
* click on verify domainkeys thru campaignmonitor

vince, 7 years ago

Interesting tool, but does it work as intended?
Maybe someone here at CM can check as to why I got the following when I teted on CM domain:

campaignmonitor.com
    New test
TXT Record length = 66

v=spf1 mx ptr include:cmail1.com include:aspmx.googlemail.com ?all

This selector is in error: Mandatory Tag 'p' is not present

tornth, 7 years ago

I found that there are many people out there using cPanel and WHM as their web hosting management system.  However, we, WHM and Cpanel users, are all having problem verifying Campaign Monitor's DomainKeys/DKIM.  Can someone from CM make an official guide of how to verify Domain Key?

antanova, 6 years ago

I am using WHM, and to make this work, I just enclosed the second (long) entry in double-quotes.


Web design Watford, UK by Antanova.
Fox, 6 years ago

I can also confirm that adding double quotes to the entry in cPanel/WHM makes it successfully verified..

Wrong:
cm._domainkey k=rsa; p=MHwwDQYJKoZIhvcNAQEBBQADawAwaAJhALuQEtjH7gwIbOSo9FwV7BD/C3AhzprEUhp3PQO82TyIRbXxnVtLL4Z3S603JGh8d/EN7jpFHaPQleFW2w2//7eo+OM9MWxfvhx91wrT4YVmwQBmx15YkjOXORroJtSXkQIDAQAB


Correct:
cm._domainkey "k=rsa; p=MHwwDQYJKoZIhvcNAQEBBQADawAwaAJhALuQEtjH7gwIbOSo9FwV7BD/C3AhzprEUhp3PQO82TyIRbXxnVtLL4Z3S603JGh8d/EN7jpFHaPQleFW2w2//7eo+OM9MWxfvhx91wrT4YVmwQBmx15YkjOXORroJtSXkQIDAQAB;"


I can add that the next version of cPanel will include Exim 4.71 which finally supports DKIM (the successor to DomainKeys).

kfan0703, 6 years ago
Stef :

I ended up using the info in the link that Vince provided and got it working that way.

These are differences I see with the keys that were created via CM:
semicolon at the end
quotes at the end
no "t=y;" (The t=y; means that your domain is in testing mode. After you remove it you should restart bind. This restart is done automatically if you change your DNS record via the WHM GUI).
default._domainkey instead of cm._domainkey (but that should not make a difference). But it should be this string without your domainname after it if you enter it in the WHM GUI (and no dot either).

Remember if you change your record you should give it time to propagate through the internet before you can test again.

Thanks Stef. As you said, I removed the domainname after cm._domainkey and CM was able to validate the key instantly.

  1. 1
  2. 2

Join 150,000 companies around the world that use Campaign Monitor to run email marketing campaigns that deliver results for their business.

Get started for free
1-888-533-8098