Spotlight

Case Study Microsoft

How Microsoft scaled global content delivery

Find out how Microsoft used Gcore to strengthen delivery across regions.

case study ProSieben GNTM app TOPSHOT

How ProSieben scaled GNTM's app TOPSHOT

Explore how ProSieben brought real-time AI portraits to GNTM's audience.

case study Higgsfield

How Higgsfield scaled AI video generation

See how Gcore helped Higgsfield scale with GPUs and Managed Kubernetes.

case study Fawkes Games

How Fawkes Games stopped DDoS attacks

See how Gcore protected gaming servers from massive DDoS threats without disrupting gameplay.

We're hiring

Help build the next chapter of the web

We're not just filling seats. We're building a team that will write the next chapter of the internet.

  1. Home
  2. Learning
  3. Why CAA Records Matter

Why CAA Records Matter

  • June 13, 2023
  • 3 min read
Why CAA Records Matter

CAA records for DNS help people who own domain names control who can make certificates for their domain. This stops people who shouldn’t have them from getting digital certificates and makes your website’s domain more secure. This writing will tell you more about CAA records.

What is a CAA Record?

A CAA record, or Certification Authority Authorization record, is a type of DNS record. It lets a person who owns a domain name choose which Certificate Authorities (CAs) can make certificates for their domain.

On the internet, a certificate (also called a digital certificate or SSL/TLS certificate) is used to show that a public key belongs to someone. It has details about the key, who owns it, and a digital signature from a Certificate Authority (CA) which has checked that the certificate is right.

CAA records help domain owners set rules about who can make certificates for their domain. This makes the domain more secure.

How Does a CAA Record Work?

Imagine you own a house and want to make it safe. You could put in a security system and choose a specific security company to look after it. In this picture, your house is your domain, the security system is the SSL/TLS certificate, and the security company is the Certificate Authority. A CAA record is like a list of approved security companies that you put on your front door.

When a CA gets ready to make a certificate, it first looks at the CAA record for the domain. If the CA sees itself on the CAA record, it can go ahead and make the certificate. If it’s not on the record, it has to say no to the certificate request. This gives domain owners more control and helps stop certificates from being made when they shouldn’t be.

How to Use CAA Records

To use a CAA record, you add the record to your DNS setup. The record has parts like flags, tags, and values, which help set the policy. The most common tags are ‘issue’, ‘issuewild’, and ‘iodef’:

  • issue: This tag says which CA can make a certificate for your domain
  • issuewild: This tag says which CA can make a wildcard certificate for your domain. Wildcard certificates make the domain and its subdomains safe
  • iodef: This tag is used to report when a policy is broken. It gives a URL where the CA can send reports if they find any breaking of your rules

What Does a CAA Record Look Like?

Here’s an example of a CAA record for a made-up domain, example.com:

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

This is a basic CAA record. Here’s what each part means:

  • example.com.: This is the domain for the CAA record
  • IN: This stands for Internet – it’s the class of the DNS record
  • CAA: This tells us the type of DNS record – in this case, a Certification Authority Authorization record
  • 0: This is the flag. Most CAA records have a flag of 0. It can be set to 1 to mean “critical”. This means that any Certificate Authority that doesn’t know about CAA records should not make a certificate. Since many older CAs don’t know about CAA records, this flag is usually set at 0
  • issue: This is the tag of the record. Here, it’s issue, which means the record is saying which CA can make certificates (non-wildcard) for this domain
  • “letsencrypt.org”: This is the value, which shows the authorized Certificate Authority. In this example, only Let’s Encrypt (letsencrypt.org) can make certificates for example.com

You can add an iodef record for more protection. It looks like this:

example.com.    IN   CAA   0 iodef "mailto:security@example.com"

In this, iodef is the tag. It shows a way to report certificate requests that break the security rules. The value “mailto:security@example.com” means that rule breaks should be reported by email to security@example.com.

So, with these two CAA records, only Let’s Encrypt can make certificates for example.com. If anyone breaks this rule, they should report it to security@example.com.

Conclusion

Looking for reliable, high-performance DNS hosting? Choose Gcore DNS Hosting for fast and resilient DNS services:

  • Global latency averaging 30 ms
  • Anycast routing
  • Multiple load balancing options, including Geobalancing
  • Free-forever through enterprise-grade plans

Try for free

Try Gcore Network

Gcore all-in-one platform: cloud, AI, CDN, security, and other infrastructure services.

Related articles

Data network with server, devices, file folders, and security shield over a global map.
CDN Caching: What It Is and How It Works

Every second of load time costs you. During a traffic spike, an uncached origin server can buckle under the pressure, and CDN caching can offload 70% to 90% of that traffic before it ever reaches your Gcore infrastructure. For a user in New

A central server connecting to various smart devices, laptop, phone, camera, and cloud services.
What Is an Edge Server?

Picture an autonomous vehicle doing 70 mph on the highway, waiting on a response from a data center hundreds of miles away. Or a surgeon depending on real-time imaging that freezes mid-procedure because data has to make a round trip across

Man interacts with a data processing system showing inputs, a central server, and outputs.
What is Cache Hit Ratio and How Can You optimize It?

Every cache miss is a trip your server didn't need to make. And those trips add up fast. Sites with poorly optimized caching can see cache hit ratios as low as 70%, meaning three in 10 requests are hitting your origin server directly, dragg

Secure data server connected to cloud and other servers, illustrating data management and security.
What Is a High Availability Server?

Every minute your servers are down, your business is bleeding. For e-commerce sites, healthcare platforms, and revenue-critical applications, an outage isn't just an inconvenience. It's a direct hit to your bottom line, your reputation, and

Visual comparison of cloud-based infrastructure connected to devices versus traditional server racks.
Cloud vs Dedicated Server: Which Is Right for You?

Your server choice could be quietly costing you, or quietly holding you back. Pick the wrong infrastructure for your workload and you're either overpaying for idle hardware every month or watching your site buckle under traffic spikes you c

Man and woman secure a network, analyzing threats and protecting global data infrastructure.
How to Troubleshoot DNS Issues: Complete Guide

Your website stops loading. Email bounces back. Users can't access your application. The culprit? A DNS failure that's invisible to most monitoring tools but devastating to your operations. When DNS breaks, every service that depends on it

Subscribe to our newsletter

Get the latest industry trends, exclusive insights, and Gcore updates delivered straight to your inbox.