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).
27 lines
938 B
Dns
27 lines
938 B
Dns
; Auto-prepared by scripts/prepare-zones.sh on 2026-05-21T11:12:50-06:00
|
|
; Source: zones/enls.video.zone
|
|
$ORIGIN enls.video.
|
|
$TTL 3600
|
|
@ 3600 IN SOA ns1.he.net. admin.enls.video. (
|
|
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
|
|
)
|
|
|
|
@ 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 enls.video.
|
|
@ 300 IN MX 10 enls.video.
|