DKIM is too long to add txt records

Discussion in 'Tips and tricks' started by eritest, Sep 13, 2018.

  1. eritest

    eritest New Member

    Joined:
    Sep 13, 2018
    Messages:
    24
    Likes Received:
    0
    S.E:
    2019-03-14 17:32:47
    L.T:
    Regular
    L.C:
    1
    I would like to ask the system how to set the problem of sending domain name DKIM too long, 2048 modified to 1024, dns parsing error, can not exceed 255 characters.


    img:http://prntscr.com/ku2riq
     
  2. frm.mwz

    frm.mwz Well-Known Member

    Joined:
    Mar 8, 2016
    Messages:
    3,634
    Likes Received:
    667
    S.E:
    2019-05-17 04:02:46
    L.T:
    Regular
    L.C:
    7
    All modern DNS admin/registrars are supposed to be able to handle DKIM 2048, what software or registrar is causing this error?
    If you absolutely need to use your current DNS (which demands the shorter DKIM 1024), then create the key elsewhere and copy & paste public and private key into the place where mwz created the longer key and then save & verify it.
     
  3. twisted1919

    twisted1919 Administrator Staff Member

    Joined:
    Dec 27, 2014
    Messages:
    9,870
    Likes Received:
    2,314
  4. frm.mwz

    frm.mwz Well-Known Member

    Joined:
    Mar 8, 2016
    Messages:
    3,634
    Likes Received:
    667
    S.E:
    2019-05-17 04:02:46
    L.T:
    Regular
    L.C:
    7
    Good KB article and link!

    It might be better to allow selecting which size 1024 or 2048 at the creation time where the sending domain is configured, since this would allow to use whatever the DNS/third party supports, since this can differ by each domain/customer. And it is better to have it flexibly as high as possible since some recipient servers mark down when not 2048.

    Also, would be good to have a KB article with a complete list of all custom configuration parameters.

    :)
     
    Last edited: Sep 14, 2018
  5. eritest

    eritest New Member

    Joined:
    Sep 13, 2018
    Messages:
    24
    Likes Received:
    0
    S.E:
    2019-03-14 17:32:47
    L.T:
    Regular
    L.C:
    1
    'email.custom.dkim.key.size'=> 1024,

    Is it added like this? Can you help me tell me the example and the location I added?thanks

    http://prntscr.com/kue0zh

    The top three domain name service providers in China do not support dkim txt over 255 characters.
    Domain name service provider: aliyun.com, xinnet, cloud.tencent.com
    Dns hosting :dnspod.cn
    They can't add more than 255 characters







     
    Last edited: Sep 14, 2018
  6. twisted1919

    twisted1919 Administrator Staff Member

    Joined:
    Dec 27, 2014
    Messages:
    9,870
    Likes Received:
    2,314
    We try to push people using the most secure option, thus 2048 as default. People should not be able to play with these settings, unless cases like this one ;)

    You forgot the comma, both of your params must have commas at the end, so:
    'param1' => 'value 1',
    'param2' => 'value 2',

    They should. It's customers pressing on them and making them do an effort to support this.
     
  7. eritest

    eritest New Member

    Joined:
    Sep 13, 2018
    Messages:
    24
    Likes Received:
    0
    S.E:
    2019-03-14 17:32:47
    L.T:
    Regular
    L.C:
    1
    thanks for you.
     
  8. eritest

    eritest New Member

    Joined:
    Sep 13, 2018
    Messages:
    24
    Likes Received:
    0
    S.E:
    2019-03-14 17:32:47
    L.T:
    Regular
    L.C:
    1
    • Unable to retrieve the TXT records for your domain name.
    I resolved to the bluehost post office, and it will be verified after 30 minutes of setup, but I have not been able to successfully resolve the mailwizz for 2 months. My mailwizz is installed in the bluehost virtual space.

    [​IMG]
    https://prntscr.com/l7tt0t bluehost mail is ok
     
  9. twisted1919

    twisted1919 Administrator Staff Member

    Joined:
    Dec 27, 2014
    Messages:
    9,870
    Likes Received:
    2,314
    @eritest - the dkim selector has to me mailer._domainkey not 20180911._domainkey
     
  10. eritest

    eritest New Member

    Joined:
    Sep 13, 2018
    Messages:
    24
    Likes Received:
    0
    S.E:
    2019-03-14 17:32:47
    L.T:
    Regular
    L.C:
    1
    thank you for your help

    The screenshot is a screenshot of the bluehost post I added.

    In fact, the analysis of domain name service providers in China has not been effective. Now I try to transfer the domain name to dns.he.net and then parse txt, but it still can't take effect.

    IMG: http://prntscr.com/l7zrqs
     
  11. twisted1919

    twisted1919 Administrator Staff Member

    Joined:
    Dec 27, 2014
    Messages:
    9,870
    Likes Received:
    2,314
  12. eritest

    eritest New Member

    Joined:
    Sep 13, 2018
    Messages:
    24
    Likes Received:
    0
    S.E:
    2019-03-14 17:32:47
    L.T:
    Regular
    L.C:
    1
    Last edited: Oct 19, 2018
  13. twisted1919

    twisted1919 Administrator Staff Member

    Joined:
    Dec 27, 2014
    Messages:
    9,870
    Likes Received:
    2,314
    I am not sure how that is going to work, you might need to add the dkim to mailer._domainkey.mw.pipige.com instead of mailer._domainkey.pipige.com
    Anyway, you might want to consult with your web hosting for this.
     
  14. eritest

    eritest New Member

    Joined:
    Sep 13, 2018
    Messages:
    24
    Likes Received:
    0
    S.E:
    2019-03-14 17:32:47
    L.T:
    Regular
    L.C:
    1

    Thank you for your help, I tried to change to mailer._domainkey.mw.pipige.com is already working, thank you very much for your help.
     

Share This Page