Retire prepare-zones.sh pipeline; zones/ is now the served form
Big migration: the source/prepared split is gone. Each zones/*.zone is now an RFC-compliant zone file that CoreDNS reads directly. Editing a record is just edit + bump SOA + commit. CoreDNS auto-reloads within 30s; HE pulls on its own 300s SOA-refresh cycle. Why: groundwork for the coredns-rfc2136 plugin to edit zones in place without juggling a source/prepared transformation step. Also reduces the mental model from "edit source, run prep, push" to just "edit". Changes: - zones/*.zone: 84 files migrated from Vultr-export form to RFC-compliant form (SOA injected, Vultr NS replaced with HE NS, CNAME/MX/NS rdata dot-terminated, apex lines get explicit @ prefix). Diff is mechanical and byte-count is unchanged (~340K) -- pure formatting promotion. - docker-compose.yml: bind ./zones:/zones:ro (was ./zones-prepared) - Makefile: dropped 'prep' target. 'reload' is now a no-op explainer. 'tls-up' no longer depends on prep. 'clean' no longer wipes prepared. - scripts/prepare-zones.sh moved to scripts/archive/ (kept for reference). - .gitignore: updated comment for zones-prepared/ (now legacy). NOT in this commit (follow-ups): - CLAUDE.md updates documenting the new workflow. - scripts/bump-serials.sh helper for manual-edit SOA bumping. - coredns-rfc2136 plugin refactor (Phase 2b in the plan).
This commit is contained in:
parent
a9256f8ba4
commit
6d72d65642
88 changed files with 2125 additions and 795 deletions
|
|
@ -1,14 +1,30 @@
|
|||
; Zone file for myhood.us
|
||||
; Generated by mcp-vultr
|
||||
; Auto-prepared by scripts/prepare-zones.sh on 2026-05-21T11:12:50-06:00
|
||||
; Source: zones/myhood.us.zone
|
||||
$ORIGIN myhood.us.
|
||||
$TTL 3600
|
||||
@ 3600 IN SOA ns1.he.net. admin.myhood.us. (
|
||||
2026052102 ; serial — bump per change (SERIAL=YYYYMMDDNN make prep)
|
||||
300 ; refresh (5 min) — slaves poll us this often;
|
||||
; tightened from 3600 to nudge HE's internal
|
||||
; puller→anycast replication
|
||||
120 ; retry (2 min) — kept < refresh per RFC 1912
|
||||
604800 ; expire (1 week)
|
||||
60 ; minimum (1 min) — negative-cache TTL on public
|
||||
; resolvers; shrinks the window when an old
|
||||
; NXDOMAIN keeps showing after we add a name
|
||||
)
|
||||
|
||||
300 IN NS ns1.vultr.com
|
||||
300 IN NS ns2.vultr.com
|
||||
300 IN A 74.91.22.234
|
||||
* 300 IN CNAME myhood.us
|
||||
autoconfig 300 IN CNAME mail.supported.systems
|
||||
mail.supported.systems 300 IN MX 10 myhood.us
|
||||
@ 3600 IN NS ns1.he.net.
|
||||
@ 3600 IN NS ns2.he.net.
|
||||
@ 3600 IN NS ns3.he.net.
|
||||
@ 3600 IN NS ns4.he.net.
|
||||
@ 3600 IN NS ns5.he.net.
|
||||
|
||||
|
||||
@ 300 IN A 74.91.22.234
|
||||
* 300 IN CNAME myhood.us.
|
||||
autoconfig 300 IN CNAME mail.supported.systems.
|
||||
mail.supported.systems 300 IN MX 10 myhood.us.
|
||||
myhood.us_report_dmarc.mail 300 IN TXT "v=DMARC1;"
|
||||
_dmarc 300 IN TXT "v=DMARC1; p=reject; rua=mailto:reports@mrpickett.com; adkim=s; aspf=s;"
|
||||
_acme-challenge 300 IN TXT "uKPYK58a44s0kWpnppooML4E4MkptkgVGqvaUK5eWXw"
|
||||
|
|
@ -26,4 +42,4 @@ _acme-challenge 300 IN TXT "dkzMydDeiX6a07LbM1O-KCkyTvNoEjMsH9SJETKygBE"
|
|||
_acme-challenge 300 IN TXT "36vAmVKS_ALuL2kB1KlVMvz44WN2LKCb0tBmA43gXSo"
|
||||
_acme-challenge 300 IN TXT "BYICEu3hp5veDk1eCKQsrso36eq4uv-zGpqMszlWT6o"
|
||||
_acme-challenge 300 IN TXT "goItf43E0Yi_uZ6E-S0DxyxoA1v5o9FdHR6Tk9-avZ0"
|
||||
_acme-challenge 300 IN TXT "4_XAQyLYKQNDV1Bs2CPHQt3FU4uo6g_rrwb5zuyMyNw"
|
||||
_acme-challenge 300 IN TXT "4_XAQyLYKQNDV1Bs2CPHQt3FU4uo6g_rrwb5zuyMyNw"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue