How to Set Up CAA Records: Step-by-Step Guide

Step-by-step guide to setting up CAA records: the issue, issuewild and iodef tags, example records for common certificate authorities, and how to test them.

This guide shows how to set up CAA records step by step: which tags to use, example records for common certificate authorities, and how to test them once they are live. CAA (Certification Authority Authorization) records let you name the certificate authorities (CAs) that may issue SSL/TLS certificates for your domain.

Already have CAA records? Check what your domain publishes right now with the free CAA record checker.


What Are CAA Records?

CAA records are a type of DNS record that allows domain owners to specify which CAs are authorized to issue SSL/TLS certificates for their domain. This ensures that only trusted authorities can create certificates, mitigating risks like certificate misuse or unauthorized issuance.

For example, if your domain's DNS includes a CAA record specifying a particular CA, any other CA attempting to issue a certificate for your domain will be blocked.


Why Are CAA Records Important?

  1. Prevent Unauthorized Certificate Issuance: Without CAA records, any CA can issue certificates for your domain, increasing the risk of misuse. CAA records restrict this to authorized entities.
  2. Pass Security Reviews: No major regulation requires CAA, but it is a common item in domain security checks and audits, and it is cheap to add.
  3. Enhance Trust: Ensuring certificates are issued only by trusted authorities builds user confidence in your domain's security.

How CAA Records Work

CAA records consist of the following components:

  • Flags: Indicate how CAs should handle the record. The value is typically set to 0 for general use.

  • Tag: Specifies the property, such as issue, issuewild, or iodef.

    • issue: Authorizes a CA to issue a standard certificate.
    • issuewild: Authorizes a CA to issue a wildcard certificate.
    • iodef: Provides an email or URL for incident reporting.
  • Value: The name of the authorized CA (e.g., letsencrypt.org).

Example:

example.com. IN CAA 0 issue "letsencrypt.org"

This record allows only Let’s Encrypt to issue certificates for example.com.


Steps to Set Up CAA Records

  1. Identify Your Trusted Certificate Authority Determine which CA(s) you want to authorize for your domain. Make sure they are reputable and meet your security requirements.

  2. Access Your DNS Settings Log in to your domain registrar or DNS hosting provider. Navigate to the DNS management section.

  3. Create a New CAA Record Add a CAA record for your domain with the appropriate settings:

    • Type: CAA
    • Name: Your domain name (e.g., example.com).
    • Flags: Set to 0 unless specific advanced directives are needed.
    • Tag: Choose issue, issuewild, or iodef.
    • Value: Enter the CA’s domain (e.g., digicert.com).
  4. Set Up Additional Tags (Optional) If required, add separate CAA records for wildcard certificates or incident reporting:

    example.com. IN CAA 0 issuewild "digicert.com"
    example.com. IN CAA 0 iodef "mailto:security@example.com"
    
  5. Save Your Changes Save the record and allow DNS propagation, which may take a few hours.

  6. Test Your Configuration Run the free CAA record checker to see the records exactly as certificate authorities will, or use dig on the command line:

    dig example.com CAA
    

Best Practices for Using CAA Records

  • Use Explicit Authorizations: Only list the CAs you actively use.
  • Enable Incident Reporting: Add an iodef tag for immediate alerts about unauthorized requests.
  • Regularly Audit Records: Review your CAA records periodically to ensure they reflect your current CA usage.

Conclusion

Setting up CAA records is a straightforward yet powerful way to enhance your domain’s certificate security. By explicitly authorizing trusted Certificate Authorities, you reduce the risk of unauthorized certificates and build a safer digital presence. Implementing and maintaining these records should be a part of your overall domain security strategy.

For more insights into DNS security and best practices, explore our related articles on DNS and email authentication.

Protect your inbox, save time, and stay compliant. Subscribe to our newsletter for personalized email security audits, expert advice, and actionable tips.

Download to read the eBook

Back to top
Schedule a Demo

Schedule a Demo

Discover more about YourDMARC and book a demo with sales.

Choose the Right Plan

Choose the Right Plan

Explore our flexible plans and pricing for perfectly fit solutions.

Learn more

Learn more

Explore our latest blogs for expert insights on email spoofing prevention.

Ready to get started?

See how YourDMARC can stop spoofing of your organization's domains

Get Demo

Download to read the eBook

How to Set Up CAA Records: Step-by-Step Guide