<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/a-bit-of-dns-jpbdsu03d" -->

---
title: A Bit of DNS | daily.dev
description: A look at the CAA DNS record's issuer-critical flag, defined as bit 0 of a bitmask (value 128), which many implementers misread as the value 1 instead. Because...
canonical: https://daily.dev/posts/a-bit-of-dns-jpbdsu03d
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: A Bit of DNS | daily.dev
og:description: A look at the CAA DNS record's issuer-critical flag, defined as bit 0 of a bitmask (value 128), which many implementers misread as the value 1 instead. Because...
og:url: https://daily.dev/posts/a-bit-of-dns-jpbdsu03d
og:image: https://api.daily.dev/og/posts/jpBDsU03D.png
og:image:alt: A Bit of DNS
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# A Bit of DNS

**[The Daily WTF](https://daily.dev/sources/thedailywtf)** · 5 min read · 0 upvotes · 0 comments

## Summary

A look at the CAA DNS record's issuer-critical flag, defined as bit 0 of a bitmask (value 128), which many implementers misread as the value 1 instead. Because this misinterpretation became so widespread, Let's Encrypt's certificate issuance code (Boulder) now treats both 128 and 1 as the critical bit to accommodate the common mistake, raising the question of whether the RFC authors should have just used a simple flag instead of a bitmask with mostly reserved bits.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://thedailywtf.com/articles/a-bit-of-dns>

## Questions this post answers

### What value should be set in the CAA record flags field to enable the issuer critical flag?

The value should be 128, which is binary 10000000 with bit 0 set as the most significant bit per RFC1035 conventions. RFC8659 clarifies this after RFC6844's original wording caused confusion, since many implementers mistakenly used 1 (00000001) instead, misreading which bit is bit 0 versus bit 7.

_daily.dev surfaces practical writeups like this for engineers debugging DNS and certificate issuance edge cases._

### Does Let's Encrypt reject CAA records that set the critical flag using the value 1 instead of 128?

No, Let's Encrypt's Boulder certificate authority code treats both 128 and 1 as the critical bit. Its filterCAA function checks caaRecord.Flag against a mask of (128 | 1), explicitly because so many CAA record users misinterpreted the RFC and set 1 instead of the correct 128, making that misuse widespread enough to accommodate.

_Teams validating CAA records against Let's Encrypt can check daily.dev for real-world implementation quirks like this._

## Similar posts on daily.dev

- [ACME CAA Extensions to Become Mandatory](https://daily.dev/posts/acme-caa-extensions-to-become-mandatory-8qqyqtfbt) · Feisty Duck · 0 upvotes · 0 comments
- [DNSSEC Validation for SSL Certificates: CA/B Forum Ballot SC-085 Changes in March 2026](https://daily.dev/posts/dnssec-validation-for-ssl-certificates-ca-b-forum-ballot-sc-085-changes-in-march-2026-r1t6gyhzl) · Security Boulevard · 0 upvotes · 0 comments
- [Cert Authorities Check for DNSSEC From Today](https://daily.dev/posts/cert-authorities-check-for-dnssec-from-today-eznwdfeb9) · Hacker News · 0 upvotes · 0 comments
- [a CVE dispute](https://daily.dev/posts/a-cve-dispute-ir0r1d2jy) · daniel.haxx.se · 14 upvotes · 0 comments
- [When DNSSEC goes wrong: how we responded to the .de TLD outage](https://daily.dev/posts/when-dnssec-goes-wrong-how-we-responded-to-the-de-tld-outage-evzpjshog) · Cloudflare · 5 upvotes · 0 comments

---

Tags: [#dns](https://daily.dev/tags/dns), [#golang](https://daily.dev/tags/golang), [#pki](https://daily.dev/tags/pki)

[View this post on daily.dev](https://daily.dev/posts/a-bit-of-dns-jpbdsu03d)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"A Bit of DNS","url":"https://daily.dev/posts/a-bit-of-dns-jpbdsu03d","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/a-bit-of-dns-jpbdsu03d"},"datePublished":"2026-09-10T11:22:45.460Z","dateModified":"2026-11-12T02:15:35.420Z","description":"A look at the CAA DNS record's issuer-critical flag, defined as bit 0 of a bitmask (value 128), which many implementers misread as the value 1 instead. Because...","image":"https://media.daily.dev/image/upload/s--OHB84bZF--/f_auto/v1722860399/public/Placeholder%2010","thumbnailUrl":"https://media.daily.dev/image/upload/s--OHB84bZF--/f_auto/v1722860399/public/Placeholder%2010","isAccessibleForFree":true,"articleSection":"The Daily WTF","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"The Daily WTF","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/d21a6aa61a7244d893a3b3284df8e2ef","url":"https://daily.dev/sources/thedailywtf"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/a-bit-of-dns-jpbdsu03d","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"dns,golang,pki","timeRequired":"PT5M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"The Daily WTF","item":"https://daily.dev/sources/thedailywtf"},{"@type":"ListItem","position":3,"name":"A Bit of DNS"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/a-bit-of-dns-jpbdsu03d#faq","mainEntity":[{"@type":"Question","name":"What value should be set in the CAA record flags field to enable the issuer critical flag?","acceptedAnswer":{"@type":"Answer","text":"The value should be 128, which is binary 10000000 with bit 0 set as the most significant bit per RFC1035 conventions. RFC8659 clarifies this after RFC6844's original wording caused confusion, since many implementers mistakenly used 1 (00000001) instead, misreading which bit is bit 0 versus bit 7. daily.dev surfaces practical writeups like this for engineers debugging DNS and certificate issuance edge cases."}},{"@type":"Question","name":"Does Let's Encrypt reject CAA records that set the critical flag using the value 1 instead of 128?","acceptedAnswer":{"@type":"Answer","text":"No, Let's Encrypt's Boulder certificate authority code treats both 128 and 1 as the critical bit. Its filterCAA function checks caaRecord.Flag against a mask of (128 | 1), explicitly because so many CAA record users misinterpreted the RFC and set 1 instead of the correct 128, making that misuse widespread enough to accommodate. Teams validating CAA records against Let's Encrypt can check daily.dev for real-world implementation quirks like this."}}]}
```

