public-dns (Add): explicit Cloudflare records for every public name (external-dns) #1746
No reviewers
Labels
No labels
epic
fleet:hub
fleet:identity
fleet:ingress
fleet:offload
fleet:sveltos
needs-triage
ready-for-agent
ready-for-human
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
lab/clusters!1746
Loading…
Reference in a new issue
No description provided.
Delete branch "external-dns-cloudflare"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Every public name on the site's address gets an explicit Cloudflare record, written by external-dns on mini, so the
*.animeteamspeak.moewildcard can go later. Step 1 of #1708. Nothing is deleted in this PR.All 43 names are in on purpose. They are public today through the wildcard. Reduce the scope by deleting entries from
clusters/mini/public-dns/records/endpoints.yaml, here or in a later PR. external-dns (policy: sync) removes a deleted entry's record on its next run.New in
clusters/mini/public-dns/crdonly, so only DNSEndpoints inrecords/publish. A new HTTPRoute never goes public by accident.mini, TXT markers prefixededns-cname-<name>: Cloudflare allows no other record beside a CNAME.animeteamspeak.moe,int.animeteamspeak.moeexcluded.CNAMEonly.records/endpoints.yaml: one DNSEndpoint, 43 entries, each<name> CNAME animeteamspeak.moe. A comment on each entry names the route that serves it. With CNAMEs, cloudflare-ddns only has to keep the apex A record current.cloudflare-ddns-secrets, propertyCLIENT_TOKEN). On 2026-11-19 it listed the zone and created a record. Swap the key insecret.yamlif you make a dedicated token.a6639210): kube-dns, kube-apiserver,api.cloudflare.com:443.crds: CreateReplace: the DNSEndpoint CRD is still on mini, ownerless, from the Technitium external-dns that52ffc5d8removed.Records external-dns leaves alone
It only changes records that carry its own
miniTXT marker. Left alone: the apex A (cloudflare-ddns),www, the wildcard, the mail andmx2records,*.remote, and theint.animeteamspeak.moeTXT added by hand today (it stops the wildcard answering underint).Names worth a look while trimming
From the inventory, not decided:
turn,expense: cert, no route.frigate,carwash-frigate: there are no cameras.httpbin.mini,httpbin-kg.mini: test endpoints.vault,grafana,harbor,workflows,vm,s3.mini,receiver.mini,mini.k8s,gadmin,admin.media,agentvault,automation.Port forwards whose client-facing names the clusters don't show: git SSH (
git, in the list), TeamSpeak, WireGuard, Valheim, LDAPS, the NATS leaf (nats, in the list). If a client uses a name not in the list, it needs an entry before the wildcard goes.Checks
kustomize buildpasses for all three directories.helm templatewith these values renders--source=crd --policy=sync --registry=txt --txt-owner-id=mini --txt-prefix=edns-%{record_type}- --domain-filter=animeteamspeak.moe --exclude-domains=int.animeteamspeak.moe --managed-record-types=CNAME --provider=cloudflare.vault-backend: Ready, no namespace conditions.CREATECNAMEs and their TXT markers, thendig git.animeteamspeak.moe @1.1.1.1(CNAME to the apex).Next (not here)
Remove the wildcard record and drop
WILDCARD_RECORD_IDfrom cloudflare-ddns in the same change, since the job PATCHes that record by ID every 30 min. Thendig zzq.animeteamspeak.moe @1.1.1.1should get no answer.