• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Generate Domain Keys

C

Colin de Rooy

Guest
Is there a way to generate a new domain key for a domain to enter into the dns. I have a client who deleted their domainkey dns entry for their domain.

I want to generate it again. I have looked all over to find out how to gerenate the domainkey again but no luck.

Thanks,
 
Try the following:

1. Reset the clients DNS zone to your default template.

2. Under the domains mail configuration turn Domain Keys off then back on.

Let me know how it goes.

Christopher.
 
BUMP!

As of 11.5.xx this will only re-generate DomainKeys DNS entries for the subscribers primary domain.

In fact if there are DomainKeys DNS entries under any domains for that subscriber, turning the option under Mail configuration off only removes the entries from the primary domain, all the other subscribers domains retain the DNS entries, likewise when you turn it back on, only the primary domain gets regenerated DomainKeys DNS entries, the other domains stay as they were.

Is there a way to regenerate entries for any/all domains under a subscription?
 
Hopefully this will help anyone else who stumbles upon this thread.. Several hours later, and extrapolating from another thread regarding mass changes across an entire server, I have now performed this on only a handful of domains and can confirm that it works.

For a subscribers primary domain, the Plesk switch works just fine, turn it off, then back on again, DNS entries created and DomainKeys work.

For any other domains, you can do the same thing at the command line (turn it off which removes the entries - if they're still there, then back on again which regenerates the DomainKeys DNS entries correctly for that domain):

/usr/local/psa/bin/domain_pref -u your-domain-name.com -sign_outgoing_mail false

Give it a few seconds, refresh the DNS zones view in Plesk to confirm if you like..

/usr/local/psa/bin/domain_pref -u your-domain-name.com -sign_outgoing_mail true

Again, refresh in Plesk and there's your DNS entries back!

The -sign_outgoing_mail switch tells Plesk to use DomainKeys signing for that domain, /usr/local/psa/bin/domain_pref -h will give you more information about the scripts full capabilities.

(CentOS 6.5 x64, Plesk 11.5.30 Update #41)
 
Thanks alot BikeBoy you saved me!
i my case i needed to turn it off per domain.

I think there is sort of mismatch / bug in plesk 12, because i turn DomainKeys spam protection > Allow signing outgoing mail > OFF.
This should do something with the subscriptions main domainnames, like create of delete DNS entries as you wrote above.

But in my case i have my DNS settings with a 3rd party. So the emails i send are signed with a key and i didnt add any DNS entries (this is bad), this causes a bad signture (emails are junked or never arrived).
Now my next step to use domainkeys again is to find the keys that plesk generates when i turn domainkeys back on?
So that i can add the keys to my DNS list.

I hope you can help me out here!!
Thx

Eric
 
Back
Top