Updated script so if the record doesn't exist, it will create it. Updated env file

This commit is contained in:
phil committed 2025-10-05 21:06:48 +01:00
1 parent 090c205946
commit 1eb4d13de9
2 files changed
+117 -41

No files matched your search

@@ -1,5 +1,5 @@
ZONE_ID="abc123zoneid"
DNS_RECORD_ID="def456recordid"
DNS_NAME="subdomain.example.com"
CLOUDFLARE_EMAIL="[email protected]"
CLOUDFLARE_API_KEY="your_api_key_here"
DNS_NAME="subdomain.example.com"