add CloudBac, CloudBac Custom Domain#1303
Merged
pawel-kow merged 1 commit intoJun 30, 2026
Merged
Conversation
New template connecting a customer's custom domain to a CloudBac website
(Cloudflare for SaaS custom hostname): traffic CNAME + ownership TXT + ACME
(SSL DCV) TXT.
Type of change:
- [x] New template
Checks:
- [x] Passes template.schema
- [x] dc-template-linter clean (-loglevel error -tolerate info -logos; exit 0)
- [x] File named <providerId>.<serviceId>.json
- [x] syncPubKeyDomain set; warnPhishing NOT set
- [x] syncRedirectDomain set (sync flow uses redirect_uri)
- [x] txtConflictMatchingMode set on the unique verification TXT records
- [x] hostRequired:true (apex CNAME @ requires it; also enforces subdomain-only)
- [ ] Online Editor test link — paste in PR description (subdomain test; apex
not required since hostRequired=true)
- [ ] logoUrl served by a webserver — replace placeholder before opening PR
Bare-variable justification (PR checklist): the two TXT data values
(%ownervalue%, %acmevalue%) MUST be the exact opaque tokens Cloudflare/ACME
issue — no prefix is permitted, so they are necessarily bare. The CNAME
pointsTo (%cnametarget%) is the service's fixed routing host, same pattern as
the merged unkey.com.custom-domain template.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
✅ JSON Filename Check Passed |
|
✅ JSON Schema Validation Passed |
PR Description Check PassedAll required sections are filled in correctly. Details |
Linter OK
|
| Level | Code | Note |
|---|---|---|
| info | DCTL1021 | missing from iana definitions |
pawel-kow
approved these changes
Jun 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
New Domain Connect template connecting a customer's custom domain to a CloudBac website (Cloudflare for SaaS custom hostname). It applies the traffic CNAME plus the Cloudflare custom-hostname ownership TXT and the ACME (SSL DCV) validation TXT. Subdomain-only by design (
hostRequired: true), since the traffic record is a CNAME and a CNAME cannot live at a zone apex.Type of change
Please mark options that are relevant.
How Has This Been Tested?
Please mark the following checks done
<providerId>.<serviceId>.jsonlogoUrlis actually served by a webserverChecklist of common problems
Mark all the checkboxes after conducting the check. Comment on any point which is not fulfilled.
See Template Quality Guidelines for details and rationale on each rule.
syncPubKeyDomainis set — this is mandatory; omitting it requires explicit justification in the PR description or the PR will be rejectedwarnPhishingis not set alongsidesyncPubKeyDomain— the two must not appear togethersyncRedirectDomainis set whenever the template usesredirect_uriin the synchronous flow"v=spf1 ...") — use theSPFMrecord type insteadtxtConflictMatchingModeis set on every TXT record that must be unique per label or content prefix (e.g. DMARC)@ TXT "%foo%") unless necessary — prefer@ TXT "service-foo=%foo%"; if bare, justify in the PR description%ownervalue%is Cloudflare's custom-hostname ownership token and%acmevalue%is the ACME (SSL DCV) token — a prefix would break validation. The CNAMEpointsTo(%cnametarget%) is the service's fixed routing host, the same pattern as the mergedunkey.com.custom-domaintemplate. All three are guarded by fixed hosts and (for the TXTs)txtConflictMatchingMode.hostlabel — the non-variable parts are fixed to limit misuse (e.g.%dkimkey%._domainkey, not%dkimhost%); if bare, justify in the PR descriptionhostfield to create a subdomain — use thehostparameter ormultiInstanceinstead%host%does not appear explicitly in anyhostattributeessentialis set toOnApplyon records the end user may need to modify or remove without breaking the template (e.g. DMARC)essential.Online Editor test results
Editor test link(s):
Test cloudbac.org/customdomain example.com/www
Tested with
domain=example.com,host=www(subdomain). Apex test is not required becausehostRequired: true.