For early-stage tech startups, securing the domain identity is crucial. A common concern is preventing unauthorized certificate authorities from issuing HTTPS certificates for a company's domain. This article addresses how to configure Certification Authority Authorization (CAA) records in DNS to explicitly list permitted CAs, thereby reducing the risk of certificate misissuance and browser trust warnings.
Scenario: A Startup Securing Its Domain
In one hypothetical early-stage team, a developer named Mira is preparing the domain for a small internal dashboard and wants to limit which certificate authorities may issue for it. She keeps a plain production checklist titled “CAA decisions before launch” with three entries: “issue: which CA may issue ordinary certificates,” “issuewild: whether wildcard certificates are allowed,” and “contact or reporting note: who reviews a failed issuance.” For the two value entries she writes example records as short text fields, not as instructions to copy. Her draft record file reads, on one line, the domain example.test with tag issue and value ca-one.example, and on the next line the same domain with tag issuewild and value semicolon, meaning no wildcard issuer is listed. A second draft uses tag issue with value ca-two.example and omits issuewild entirely, which she treats as leaving wildcards unaddressed rather than forbidden. She notes that the second is a candidate only for a subdomain she controls.
Mira compares three candidate names for the page that will explain these choices: “Certificate Authority Rules,” “Issuance Policy Notes,” and “Domain Security Fields.” She picks the first because it names the record type directly and fits the dashboard’s navigation. For the page body she sketches a small table with columns for record name, tag, value, and reviewer, then fills two fictional rows: dashboard.example.test, issue, ca-one.example, Mira; and dashboard.example.test, issuewild, semicolon, Mira. These are her own explanatory examples, not records she has published.
To separate theory from deployment, she assigns a fictional colleague, Ivo, to read the records back from the authoritative zone file after an edit and to note any mismatch between the table and the zone. She also reserves one reporting contact field in the table, left blank in the example, so the team can decide later who receives issuance problem reports. The point of this invented setup is to show how a startup turns CAA policy into visible fields, named candidates, and one concrete choice with a stated reason.
Understanding CAA Record Structure
A CAA record consists of three fields: a flag, a tag, and a value. The flag is an unsigned integer between zero and two hundred fifty-five, typically set to zero to indicate that unrecognized issuers should be ignored. The tag specifies the policy type, supporting issue for any domain certificate, issuewild for wildcard certificates, and iodef for violation notifications. The value field contains either the authorized CA domain or the email address for alerts. Multiple CAA fields can be added to a single DNS record to define comprehensive issuance policies.1
You can begin with a small zone snippet of your own and write out what each part is meant to do before adding any authority names. Take a made-up domain such as app.example.test and draft three lines: one flags value, one tag and value pair, and one comment in your own words explaining why that authority is listed. The completed example might read: flags “0,” tag “issue,” value “letsencrypt.org,” plus a note saying this is the only issuer for the dashboard hostname. You might also add a second line for a backup issuer and mark it as a backup in the note, so the choice stays visible when you review it later.
Next, compare that draft with the records that are actually published, writing the published values alongside your intended ones. If a field appears that you did not plan, note it in a separate column and decide whether it belongs to a subdomain or a reporting address. You can choose a less restrictive path for a staging name and a tighter one for the production name, and write down the reason for each. This turns the snippet into a short record of your decisions rather than a rule list.
Defining Authorized Issuers with Issue Tag
The CAA record format is a flag byte, a tag, and a value. The issue tag carries the CA authorization: it authorizes one certificate authority to issue any type of domain certificate for the domain. Multiple CAA fields can be added to the domain's DNS records. In the source's example, a record with host @, value 0 issue and the quoted issuing domain grants that authority alone; the source pairs it with a separate iodef record for violation mail. The source notes CAs have been required to check CAA before issuing since 2017.1
For your own notes, consider turning the issuer list into a small two-column worksheet: one column for the authority name you intend to authorize, one for the exact string you plan to publish in the issue tag. Take the made-up domain from your draft and write a candidate pair such as “Example Authority A” beside the value you would place in the tag. Then add a second row for a plausible second issuer, so you can see how the list grows. Ask yourself which issuers you truly rely on and which you added only because they seemed common; you might strike the latter before finalizing the text.
Next, rewrite the sentence that introduces the list without changing any of the chosen values. One version might read that only the named authorities may issue certificates for the domain; a second version might state that all other authorities are excluded. Read both aloud and keep the one whose scope you can defend from your own earlier notes. Mark the rows you are still unsure about, and leave a short question beneath each, such as which team member owns that issuer or when the choice should be revisited. These question notes are for your eyes only and do not need to appear in published material.
You can also prepare a before-and-after pair for the issue tag itself: write the tag with the full candidate list, then a trimmed version with only the confirmed names. Comparing the two side by side helps you decide how much detail belongs in the main explanation and how much can stay in a private appendix.
Handling Wildcard Certificates with Issuewild
The issuewild tag is defined in the CAA record format as authorizing a single certificate authority to issue wildcard certificates for a hostname, alongside issue for any certificate type and iodef for violation notices. Each record combines a flag, a tag, and a value, and multiple CAA fields can be added to a domain's DNS records.1
For flag, the documented value is an unsigned integer between 0 and 255; typically 0 is entered, meaning the record is ignored if the issuing authority cannot recognize it. The worked configuration in the source adds records with host record @ and flag 0, using a value that names a CA domain. It then checks results with a dig query for the CAA record type, whose answer section displays each record in the flag, tag, and value form.1
For your own wildcard policy note, make a single two-row worksheet before you write the sentence that explains it. Label the rows “issue” and “issuewild.” In the first row, list the authority names you intend to allow for ordinary certificates. In the second, list the authority names you would permit for wildcard certificates, then beside each name jot a short reason: “already in use,” “confirmed support,” or “still deciding.” For a made-up domain such as example-startup.test, the issue row might hold two names, while the issuewild row holds only one.
Now compare the two rows and decide whether the wildcard row should be narrower. You can draft one sentence for each choice, for instance: “Wildcard certificates may be requested only from the single authority named in the issuewild row.” An alternative reads: “Wildcard issuance follows the same authority list as ordinary issuance,” which you might keep only if you deliberately intend the two rows to match.
It helps to write the unresolved names as questions rather than conclusions: “Does this authority offer wildcard certificates?” or “Do we still need a second issuer for staging?” Keep that question list beside the worksheet, separated from the confirmed names. If you later settle a question, move the name and its reason into the appropriate row and adjust the sentence. This keeps your draft honest about what is decided and what is still pending.
Configuring Violation Notifications via Iodef
The iodef tag lets a certificate authority send a violation report URL to an email address; the record's value holds the issuing CA's domain or the notification email. In the documented example, two records for the domain are added on the public authoritative resolution page: the host record is @ with the value 0 issue “symantec.example.com”, and a second @ record with the value 0 iodef “mailto:admin@midengd.xyz”. The flag 0 means the information is ignored if the issuing authority cannot interpret the record.1
You can take your existing CAA draft and add a separate note about the iodef field, without changing the issue or issuewild lines you already settled. In that note, write down the address you intend to receive reports at and one sentence describing who will read those reports. For example: “Reports go to the security inbox; the developer on rotation checks them weekly.” Keep this as a written intention you can revise, not a claim that mail is already flowing.
Consider drafting two versions of the iodef line for comparison. One uses an address tied to a named person, such as dev-owner; the other uses a shared role address. Write one reason beside each: the personal one may be easier to trace, while the shared one may survive staff changes. You can then choose one and note why in your own words, for instance: “Chose the shared address because the named developer may move teams.”
You might also prepare a short record of what a violation report would mean to your team before you publish anything. List two questions you would ask on receiving one, such as which authority issued the certificate and which domain it covers. Keep this beside your CAA draft so the iodef entry has a stated purpose, and treat the published value as a decision you can revisit later.
Verifying CAA Records with Dig Command
To check what a zone publishes, the documented approach uses the dig command in the form dig domain-name record-type. The worked sample runs dig followed by the domain midengd.xyz and the type caa.1
The sample response shows a status of NOERROR and an ANSWER SECTION with two CAA records, each with a TTL of 600 seconds: one carrying the iodef tag with a mailto value, and one carrying the issue tag naming an authority. The query section repeats the domain name with the IN CAA class.1
You can turn your written CAA draft into a short verification worksheet before touching the live zone. Use a mundane example, such as dashboard.example.test, and fill three columns: the intended tag, the authority domain you mean to authorize, and the observed published value. For the first row, you might write “issue,” “ca-one.example,” and “ca-one.example”; for the second, “issuewild,” “ca-two.example,” and “—,” where the dash records that you found no matching value to confirm yet.
When you write the draft command you plan to run later, spell out what each part is for in plain words rather than pasting it: the lookup name, the record type, and the server you expect to answer. Then note, as a separate predicted field, the flags value and the tag-value text you expect to see. Keep these as expectations to check against when you actually read the zone, not as results you have already obtained.
You might also prepare a comparison line for a deliberately wrong name, such as dashbord.example.test, and write what an empty answer would tell you about the difference between a missing record and a misspelled query. Decide which explanation you would record first, and leave the other as a question. This keeps your notes honest and gives you a clear next step: compare intended values with observed ones, then note each mismatch before editing anything.
Frequently asked questions
How can I start drafting my own zone snippet and describe what each part is meant to do before adding authority names?
You can begin with a small zone snippet of your own and write out what each part is meant to do before adding any authority names. Take a made-up domain such as app.example.test and draft three lines: one flags value, one tag and value pair, and one comment in your own words explaining why that authority is listed.
How should I record the published values alongside my intended values when comparing my draft with the actual records?
Next, compare that draft with the records that are actually published, writing the published values alongside your intended ones. If a field appears that you did not plan, note it in a separate column and decide whether it belongs to a subdomain or a reporting address.
What two-column worksheet can I make from the issuer list in my own notes?
For your own notes, consider turning the issuer list into a small two-column worksheet: one column for the authority name you intend to authorize, one for the exact string you plan to publish in the issue tag. Take the made-up domain from your draft and write a candidate pair such as “Example Authority A” beside the value you would place in the tag.