aboutsummaryrefslogtreecommitdiffstats
path: root/dns
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-11-20 09:39:11 -0700
committerAdam Soltys <[email protected]>2026-11-20 09:39:11 -0700
commitf2c697d373564bee1314986014898fac1208261e (patch)
tree2041cf7c8b7a7ffb85b53a8c3bb4a17c2ec7096a /dns
parent8ec9a1e70d7b43455c89768f27187f15d5983a38 (diff)
downloadcoinosv3-server-f2c697d373564bee1314986014898fac1208261e.tar.gz
coinosv3-server-f2c697d373564bee1314986014898fac1208261e.zip
home.paff.club on our Knot DNS too
PAFF gives every node a name under home.paff.club (an A record to its home network address, and the ACME challenge TXT for its certificate). Those were records in paff.club's Cloudflare zone, which is on the Free plan: 153 nodes and 37 challenges filled its 200 records and new names failed (error 81045). Adam approved moving them like the BIP-353 records (2026-11-20). The zone is signed here and served by ovh2; PAFF's names service updates it with its own TSIG key, paff-names, which the ACL lets change only A and TXT records in this zone. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VMan6U6NfdUu76mpuZySaf
Diffstat (limited to 'dns')
-rw-r--r--dns/README.md3
-rw-r--r--dns/bootstrap/home.paff.club.zone6
-rw-r--r--dns/primary.conf10
-rw-r--r--dns/secondary.conf1
4 files changed, 20 insertions, 0 deletions
diff --git a/dns/README.md b/dns/README.md
index 8dbbc39..db412d1 100644
--- a/dns/README.md
+++ b/dns/README.md
@@ -12,12 +12,15 @@ Cloudflare (coinos.io zone, DNSSEC)
user._bitcoin-payment.staging.coinos.io NS dns1.coinos.io + DS
Cloudflare (paff.club zone, DNSSEC; DS for paff.club at Namecheap)
user._bitcoin-payment.paff.club NS dns1.coinos.io + DS
+ home.paff.club NS dns1.coinos.io + DS (PAFF nodes' home names)
│
ovh2 knot-bip353 public secondary, answers the internet (secondary.conf)
│ NOTIFY / AXFR+IXFR over Tailscale, TSIG key `xfr`
cs dns hidden primary, signs the zones (primary.conf, compose `dns`)
│ RFC 2136 UPDATE over the compose network, TSIG key `names-update`
cs names the registrar (names/dns-update.js), domains with `knot` in its config
+cs paff-names PAFF's home names (paff repo scripts/names.ts): A + ACME TXT in home.paff.club,
+ TSIG key `paff-names`, which may change nothing else
```
## cs (primary)
diff --git a/dns/bootstrap/home.paff.club.zone b/dns/bootstrap/home.paff.club.zone
new file mode 100644
index 0000000..9bb519e
--- /dev/null
+++ b/dns/bootstrap/home.paff.club.zone
@@ -0,0 +1,6 @@
+; first contents only: the zone lives in Knot's journal after this, and PAFF's
+; names service fills it (paff repo, scripts/names.ts)
+$ORIGIN home.paff.club.
+$TTL 300
+@ SOA dns1.coinos.io. hostmaster.coinos.io. 1 3600 600 1209600 300
+@ NS dns1.coinos.io.
diff --git a/dns/primary.conf b/dns/primary.conf
index beee32a..eb3addf 100644
--- a/dns/primary.conf
+++ b/dns/primary.conf
@@ -24,6 +24,12 @@ acl:
- id: xfr_ovh2
key: xfr
action: transfer
+ # PAFF's names service (paff-names, scripts/names.ts in the paff repo): its
+ # nodes' home names, A records and their ACME challenge TXTs, nothing else.
+ - id: paff_names_update
+ key: paff-names
+ action: update
+ update-type: [A, TXT]
# The KSK never rolls on its own: its DS sits in Cloudflare by hand.
policy:
@@ -57,3 +63,7 @@ zone:
- domain: user._bitcoin-payment.coinos.io
- domain: user._bitcoin-payment.staging.coinos.io
- domain: user._bitcoin-payment.paff.club
+ # <name>.home.paff.club for every PAFF node: paff.club's Cloudflare zone (Free,
+ # 200 records) filled up with one A record per node (2026-11-20).
+ - domain: home.paff.club
+ acl: [paff_names_update, xfr_ovh2]
diff --git a/dns/secondary.conf b/dns/secondary.conf
index c4791ac..a241cea 100644
--- a/dns/secondary.conf
+++ b/dns/secondary.conf
@@ -36,3 +36,4 @@ zone:
- domain: user._bitcoin-payment.coinos.io
- domain: user._bitcoin-payment.staging.coinos.io
- domain: user._bitcoin-payment.paff.club
+ - domain: home.paff.club