Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Extract DKIM key for primary and addon domains

Discussion in 'E-mail Discussion' started by Arjon, Aug 22, 2016.

Tags:
  1. Arjon

    Arjon Registered

    Joined:
    Aug 21, 2016
    Messages:
    4
    Likes Received:
    1
    Trophy Points:
    1
    Location:
    Albania
    cPanel Access Level:
    Reseller Owner
    Hello,
    I have had a lot of problems lately with DKIM and external DNS. Cpanel doesn't have a proper DKIM implementation and doesn't give any info about domains.

    I have found a way to retrieve DKIM for any domain. Here is how:

    1. Open site:
    dns-record-viewer.online-domain-tools.com

    2. Enter the following information in the field of lookup tool:
    Host/IP address: default._domainkey.example.com
    DNS server: 8.8.8.8
    Query type: TXT
    Don’t forget to replace example.com with your hosted domain name.

    3. Click "Query!". It will return two chunks of data looking like

    v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA4aRAKPIsvUuNEWW6dAaIB75 7i/9NLGBvuYq+G5BE2vaSArA6wbLs/Qjoi9aV/iwBNwCaMK71k4IwPLzKvqUYKcTpS1Bd HN7mkbr3HKAx7Jy/IdwEM4hKmAnQ+yZZz9ho/938sICmsfKaByHVOwbAnkKGLhDPJCKQh pXMpqBQn/eWNPS6+KzpM/yQaxJI0H8dW

    and

    5LyNcrK6jaD2MhgQwjjDDeAYJiofNo/QK9Qgrk6p9l/vD1nOd8QmjRqN2JY+gnNIDFmCJ c2FqNGGbLI7Oa+tDlpGNZdbDmJmHovNgVUjT+F5eu3wUd5PPPs70T+4wBvUA6Q6XQDA+Y 04mDXA+QiyQIDAQAB;

    4. Open any text editor capable of handling long lines, and paste both chunks into it. Do not allow whitespace between chunks, make sure there's no whitespace on either sides, as well. The resulting long string is DKIM record you need to create.

    5. Go to the DNS and add the required record.

    Credits for this go to billing.mxroute.com/knowledgebase.php?action=displayarticle&id=11
     
    #1 Arjon, Aug 22, 2016
    Last edited by a moderator: Aug 22, 2016
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,468
    Likes Received:
    420
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Could you please clarify this comment? I'm not sure I understand what you mean.

    Here are the Docs on DKIM:
    Authentication - Documentation - cPanel Documentation
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice