DNS: Multiple CAA records

Discussion in 'General' started by progressed36, Jan 9, 2023.

  1. progressed36

    progressed36 Member

    Hi there,
    Ive seem to run into an issue with multiple CAA records for a domain.
    Im using letsencrypt for the website, but the supplier of servers uses another (payed) one. I have multiple CAA records for this. I have to disable the suppliers CAA records for the letsencrypt to be able to regenerate and visa versa.

    Anybody else have this issue and know how to solve this?
     
  2. michelangelo

    michelangelo Active Member

    Create for all CA authorities a CAA record that you or your supplier use for that domain and you should be fine.
     
  3. progressed36

    progressed36 Member

    You stopped reading after the first line? That's exactly what I have...
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Having multiple caa records should be fine and is within spec. have you checked that the domain really returns all caa records when queried?
     
  5. michelangelo

    michelangelo Active Member

    Then there is something wrong with these records, or the CAA records are not yet widely enough propagated.
    When did you set them up? It may take up to 24hrs until they are broadly available.

    Another reason could be the wrong definition of issuewild and issue of CAA records.

    Also what returns your dns server when you query them for CAA records?
     
  6. nhybgtvfr

    nhybgtvfr Well-Known Member HowtoForge Supporter

    multiple CAA records should work fine.. it works for me with no problems.

    is one of the certificates supposed to allow wildcards? maybe the record is just being created using 'issue' instead of 'issuewild'?

    on a sidenote: @till does ispconfig allow the application of the iodef tag in CAA records? is this what the additional options field is for?
     
    Th0m likes this.
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    Not sure, I have not implemented the CAA records feature. I had a quick look at the code and it might even be that additional here means additional authorities and it creates more caa records in the background. I guess I will have to test it to see what gets added to the zone file if one uses the additional field.
     
  8. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    The additional options field should be suitable for that.
     
    ahrasis likes this.
  9. nhybgtvfr

    nhybgtvfr Well-Known Member HowtoForge Supporter

    any idea what syntax that would use? there's nothing about the CAA records in the 3.1 manual.
    AFIAK the iodef tag should be in it's own CAA record.
     
  10. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    Sorry, no idea, I have not been interested to use it ;)
     
  11. RL-squild

    RL-squild New Member

    Hello, i have been trying to set CAA-Records through ISPConfig and have run into an issue regarding the iodef tag.
    Was anyone able to figure out if its possible to set the iodef record with ISP Config?
    I did try to use the options field but i had no luck so far.
     
  12. nhybgtvfr

    nhybgtvfr Well-Known Member HowtoForge Supporter

    what exactly did you try?

    i belief the whole CAA record for the cert should look like:
    <domain.tld> CAA 0 issue “letsencrypt.com”
    and for the iodef:
    <domain.tld> CAA 0 iodef "mailto:mailbox@<domain.tld>"

    but i don't see any way to do this in ispconfig, and it would apply the same email to all CAA records for the domain (if you have multiple)

    you could try putting:
    iodef=mailto:<[email protected]>
    into the options field for the CAA record, it will create a CAA record that looks like:
    <domain.tld> CAA 0 issue “letsencrypt.com; iodef=mailto:<[email protected]>”

    i have no idea if this will be seen as valid and work, but it looks like it would allow different email alert addresses for each certificate authority if it does work

     
    ahrasis likes this.
  13. till

    till Super Moderator Staff Member ISPConfig Developer

    I've set the CAA iodef feature request on the ISPConfig 3.2.11 roadmap now.
     
    ahrasis likes this.

Share This Page