The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Extract DKIM key for primary and addon domains

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

Tags:
  1. Arjon

    Arjon Registered

    Joined:
    Aug 21, 2016
    Messages:
    4
    Likes Received:
    0
    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:
    14,451
    Likes Received:
    195
    Trophy Points:
    63
    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
     
Loading...

Share This Page