]>
| description | Cloudflare-backed DNS provisioning API for crimata.com customer subdomains |
| last change | Thu, 16 Jul 2026 20:24:13 +0000 (20:24 +0000) |
| URL | https://andrewgundersen.net/repos/crimata-dns |
Small internal API for provisioning DNS on crimata.com via Cloudflare — used to give each new Crimata customer a free subdomain, and optionally point a custom domain at their instance.
GET /domains/check?domain= — check domain availabilityPOST /domains — create a subdomain for a customer, and optionally register + point a custom domainDELETE /domains/:recordId — remove a DNS recordBuilt with Fastify + TypeScript, talking to the Cloudflare API.
cp .env.example .env # fill in Cloudflare API token, account ID, zone ID
npm install
npm run dev
The included Dockerfile builds and runs the compiled version (npm run build then node dist/index.js).
| 9 days ago | Andrew Gundersen | Test post-receive hook (README.html regen) main | commit | commitdiff | tree | snapshot (tar.gz zip tar.bz2) |
| 9 days ago | Andrew Gundersen | Add README | commit | commitdiff | tree | snapshot (tar.gz zip tar.bz2) |
| 10 days ago | Mirror Test | test: remove mirror test file | commit | commitdiff | tree | snapshot (tar.gz zip tar.bz2) |
| 10 days ago | Mirror Test | test: verify server-to-github mirror | commit | commitdiff | tree | snapshot (tar.gz zip tar.bz2) |
| 2026-02-27 | Andrew Gundersen | Add MIT License | commit | commitdiff | tree | snapshot (tar.gz zip tar.bz2) |
| 2026-02-25 | Andrew Gundersen | Initial commit | commit | commitdiff | tree | snapshot (tar.gz zip tar.bz2) |
| 9 days ago | main | shortlog | log | tree |