Skip to content

Zaroz Cloud, 3 templates#1418

Open
Stay1444 wants to merge 1 commit into
Domain-Connect:masterfrom
Stay1444:add-zaroz-cloud-templates
Open

Zaroz Cloud, 3 templates#1418
Stay1444 wants to merge 1 commit into
Domain-Connect:masterfrom
Stay1444:add-zaroz-cloud-templates

Conversation

@Stay1444

@Stay1444 Stay1444 commented Jul 18, 2026

Copy link
Copy Markdown

Description

Adding 3 templates for Zaroz Cloud (zaroz.cloud), one each for Minecraft, FiveM and Factorio hosting. Each template creates an A record pointing at the server's IP plus an SRV record targeting that same A record via %fqdn%, so the SRV target is always a real resolvable hostname instead of a bare IP. Records are scoped to the applied host/domain via "@" in host/name, no bare %host% anywhere, so users can point either a subdomain or their whole domain apex at their server.

Type of change

  • New template

How Has This Been Tested?

  • Template functionality checked using Online Editor
  • Template file name follows the pattern <providerId>.<serviceId>.json
  • resource URL provided with logoUrl is actually served by a webserver

Also validated all 3 with the official linter (dc-template-linter -loglevel error -tolerate info -logos -cloudflare), 0 errors, only Cloudflare-specific info notes (syncRedirectDomain/essential not supported by Cloudflare specifically, both still spec-valid and left in for providers that do support them).

Checklist of common problems

  • syncPubKeyDomain is set
  • warnPhishing is not set alongside syncPubKeyDomain
  • syncRedirectDomain is set (redirect_uri is used in the sync flow)
  • no TXT record contains SPF content (no TXT records in these templates)
  • txtConflictMatchingMode set where needed (no TXT records)
  • no bare variable as full record value, except pointsTo/target on the A and SRV records, which is necessary since that's literally where the IP/hostname goes
  • no bare variable as full host label (host/name are the fixed "@" apex marker, not a variable)
  • no variable in host field to create a subdomain (host param handles that automatically)
  • %host% does not appear explicitly in any host attribute
  • essential set to OnApply where the user may want to modify records independently: not applicable here, these records are core to the service working, so essential: Always is intentional (a manual edit should be treated as a conflict, not silently allowed)

Online Editor test results

Tested subdomain mode (host=mc) for all 3 templates, A+SRV records come out correct in each case. Apex mode (host empty) errors inside the online editor itself with "Invalid data for SRV host: __tcp.@", literal @ left unsubstituted in the editor's own preview, looks like a bug in the editor's apex handling rather than the template (name: "@" for apex is the documented spec behavior, and matches the wording used in this repo's own README example template). Subdomain test links below.

Editor test link(s):

@github-actions github-actions Bot added the Test links missing No test links from Online Editor provided label Jul 18, 2026
@github-actions

Copy link
Copy Markdown

JSON Filename Check Passed

@github-actions

Copy link
Copy Markdown

JSON Schema Validation Passed

@github-actions

Copy link
Copy Markdown

Linter OK

zaroz.cloud.factorio-srv.json

Level Code Note

zaroz.cloud.fivem-srv.json

Level Code Note

zaroz.cloud.minecraft-srv.json

Level Code Note

@Stay1444

Copy link
Copy Markdown
Author

Re: the missing apex tests, this is a known bug in the Online Editor itself, not the templates.

The exact same error (Invalid data for SRV host: __tcp.@) was independently hit and documented in #1349, tried with both "name": "" and "name": "@" there too, same as I did here. And #1091 (the diamondhost.tw Minecraft template already merged in this repo) hit the identical "Test links missing" bot failure for the same reason (no apex test possible) and still got merged.

Subdomain-mode tests (host set) are included below for all 3 templates and produce correct A+SRV output. Happy to provide anything else needed to verify these.

@github-actions

Copy link
Copy Markdown

PR Description Check Failed

The PR description is missing required elements. Please update it according to the PR template.

Details
  OK  Type of change: 1/1 checkboxes ticked
  OK  How Has This Been Tested?: all 3 checkboxes ticked
  OK  Checklist of common problems: 9/10 checkboxes ticked
  OK  Online Editor test results: 3 link(s) found

Labels to add: Test links missing
Labels to remove: Checklist of common problems not complete, Forged editor links, PR description incomplete

PR description check FAILED:
  FAIL  Template coverage: zaroz.cloud.factorio-srv.json: missing a test WITHOUT host (or with empty/@)
  FAIL  Template coverage: zaroz.cloud.fivem-srv.json: missing a test WITHOUT host (or with empty/@)
  FAIL  Template coverage: zaroz.cloud.minecraft-srv.json: missing a test WITHOUT host (or with empty/@)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Test links missing No test links from Online Editor provided

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant