Problem with DKIM value in DNS CNAME field

Discussion in 'General' started by themark, Jun 24, 2015.

  1. themark

    themark Member

    Hello,
    latest ispconfig installed here.
    When i try to insert a DKIM record in the DNS CNAME field, something like that:

    XXXXXXXXXXXXXXXXXXXXXXX._domainkey.XXXXXX.com CNAME XXXXXXXXXXXXXXXXXXXXXXX.dkim.amazonses.com.

    (XXX value are for privacy purpose), i will get the error:

    ERROR
    1. The hostname has the wrong format.
    What is the problem?
    Thank you
     
  2. florian030

    florian030 ISPConfig Developer ISPConfig Developer

    Your installation does not allow "_" in the host-field. You can change
    Code:
    'regex' => '/^[a-zA-Z0-9\.\-\*]{0,255}$/',
    to
    Code:
    'regex' => '/^[a-zA-Z0-9\.\-\*\_]{0,255}$/',
    in interface/web/dns/form/dns_cname.tform.php.
     
  3. themark

    themark Member

    Thank you florian, i get that error in after-night debug!
    From my side, in order to not update the interface (with the fear that after an upgrade loose my modification) i have resolved inserting the record direct in db, and then resync the DNS zones....

    ty
     

Share This Page