diff --git a/dns.tf b/dns.tf index b9afa55..0192f2f 100644 --- a/dns.tf +++ b/dns.tf @@ -22,15 +22,26 @@ resource "cloudflare_dns_record" "apex" { settings = { flatten_cname = false } } -resource "cloudflare_dns_record" "www" { +# www moves to the platform: external-dns serves it from the business site's +# public route. This ownership record lets external-dns take over the existing +# CNAME and replace it with the gateway addresses in one batch, so www always +# resolves. The CNAME itself stays in Cloudflare; this repository only forgets it. +resource "cloudflare_dns_record" "www_external_dns_owner" { zone_id = cloudflare_zone.primary.id - name = "www.devantler.tech" - type = "CNAME" - content = "devantler.github.io" + name = "_externaldns.cname-www.devantler.tech" + type = "TXT" + content = "\"heritage=external-dns,external-dns/owner=platform.devantler.tech,external-dns/resource=httproute/business-site/business-site-public\"" ttl = 1 - proxied = true - comment = "GitHub Pages Personal" - settings = { flatten_cname = false } + proxied = false + settings = {} +} + +removed { + from = cloudflare_dns_record.www + + lifecycle { + destroy = false + } } resource "cloudflare_dns_record" "ksail_docs" { diff --git a/recovery/backend-source/configuration.json.age b/recovery/backend-source/configuration.json.age index ba28326..9d832a1 100644 Binary files a/recovery/backend-source/configuration.json.age and b/recovery/backend-source/configuration.json.age differ diff --git a/recovery/backend-source/manifest.json b/recovery/backend-source/manifest.json index fea3bd6..732162d 100644 --- a/recovery/backend-source/manifest.json +++ b/recovery/backend-source/manifest.json @@ -1,16 +1,16 @@ { "schemaVersion": 1, "kind": "cloudflare-state-recovery", - "capturedAt": "2026-11-02T21:21:43Z", - "sourceCommit": "1628f233a82f2200e9cd07581b5ee8c755bac062", - "sourceRun": 41525197170, + "capturedAt": "2026-11-15T03:59:45Z", + "sourceCommit": "457727e207af0d4acc448eff21937b9c9b7a2e9b", + "sourceRun": 43674749476, "recipient": "age1rk6fs67kly3h4zux5za429z3grjtvs8vcunav4sa28pxk738najsk8wgs6", "lineage": "d981e029-9986-63a7-2f54-379ce10ee6a4", - "serial": 3, + "serial": 4, "accountIdSha256": "3080d90d2ff8a5d38ec8c5dae7b9207b928b353c68f4dd81e0a378cf932a5f95", "zoneNameSha256": "1fc6c364e0d592421f88ba2d2cf6cf15691bbc711113d7907c159a638f35aeb0", - "stateCiphertextSha256": "a506974a068c67698d58ae273cd34e6e718cf6fddc7f3899cb70591053230e50", - "configurationCiphertextSha256": "cd9000b57fe7fcd3fc8035bf3c4ee0da23ddf0692bb1b2e8d731bb9a3380bd66", - "statePlaintextSha256": "029455c41771dbbdfa9c43807796df543fff5faedae690267053f582c43ea835", + "stateCiphertextSha256": "d0758c769aa6f20bea6ff1f88d23e3eed70e54d92026baa895a7e3d3281ce6d6", + "configurationCiphertextSha256": "803b3e4140e92b9d8eb8691e9cdee1bcb12e1f2b44c58e999a4273cea1c7bcaa", + "statePlaintextSha256": "c4bc70c78223477b27d842eb75d2e7a8f6a3d95e74deb16e9098f016eb2a70e4", "configurationPlaintextSha256": "84c9b6ea504f82a9fd694e701287e30d54fe9b42ecf81dfccfbf2cba9873239a" } diff --git a/recovery/backend-source/state.json.age b/recovery/backend-source/state.json.age index 0022e85..0e5442a 100644 Binary files a/recovery/backend-source/state.json.age and b/recovery/backend-source/state.json.age differ