ワンクリックで
dns
DNS and Infrastructure Configuration for RoboSteading
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
DNS and Infrastructure Configuration for RoboSteading
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | dns |
| description | DNS and Infrastructure Configuration for RoboSteading |
This skill documents the DNS, Cloudflare, and GitHub Pages configuration for robosteading.com and the process we took to build it.
The domain uses Cloudflare for DNS management, but we use a DNS-as-code approach utilizing dnscontrol.
dnsconfig.js in the repository root to define the GitHub Pages apex A records, the WWW CNAME, and a special TXT record for GitHub Organization verification.creds.json file for dnscontrol containing the Cloudflare API token.creds.json to .gitignore to prevent secret leakage.dnscontrol push via a Docker container to apply the changes to Cloudflare.// dnsconfig.js
var REG_NONE = NewRegistrar("none");
var CF = NewDnsProvider("cloudflare");
D(
"robosteading.com",
REG_NONE,
DnsProvider(CF),
A("@", "185.199.108.153"),
A("@", "185.199.109.153"),
A("@", "185.199.110.153"),
A("@", "185.199.111.153"),
CNAME("www", "closedloop-technologies.github.io."),
TXT("_gh-closedloop-technologies-o", "95d22fabea"),
);
The Cloudflare API Token used for DNSControl has the following permissions:
Permissions:
robosteading.com):
Expiry Date: April 30, 2026
GitHub Pages was enabled for the robosteading.com custom domain. We had to provision a special TXT DNS record _gh-closedloop-technologies-o.robosteading.com to verify domain ownership to our organization.
To programmatically check if GitHub has verified the domain and successfully provisioned the SSL certificate (Enforced HTTPS), you can check the GitHub API for the pages configuration.
Using the gh cli:
gh api /repos/closedloop-technologies/robosteading/pages
Look for the following keys in the JSON response:
"status": "built" (or similar depending on the deployment state)"protected_domain_state": "verified" (indicates GitHub has successfully verified the TXT record)"https_enforced": true (indicates the SSL certificate was successfully provisioned and HTTPS is active)"pending_domain_unverified_at": null(Note: If https_enforced is false and you want to enforce it via the API once it's available, you can send a PUT request to the same endpoint with {"https_enforced": true})