Collection of operational skills for VaultMesh infrastructure including: - backup-sovereign: Backup and recovery operations - btc-anchor: Bitcoin anchoring - cloudflare-tunnel-manager: Cloudflare tunnel management - container-registry: Container registry operations - disaster-recovery: Disaster recovery procedures - dns-sovereign: DNS management - eth-anchor: Ethereum anchoring - gitea-bootstrap: Gitea setup and configuration - hetzner-bootstrap: Hetzner server provisioning - merkle-forest: Merkle tree operations - node-hardening: Node security hardening - operator-bootstrap: Operator initialization - proof-verifier: Cryptographic proof verification - rfc3161-anchor: RFC3161 timestamping - secrets-vault: Secrets management 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
3.6 KiB
3.6 KiB
name, description, version
| name | description | version |
|---|---|---|
| dns-sovereign | PowerDNS + Cloudflare hybrid DNS with plan/apply/rollback, audit trail, and verification. Deploys a sovereign PowerDNS authoritative server (Docker) and optionally syncs selected records to Cloudflare. Triggers: 'dns sovereign', 'powerdns', 'authoritative dns', 'dns plan', 'dns rollback', 'sync dns to cloudflare'. | 1.0.0 |
DNS Sovereign (PowerDNS + Cloudflare Hybrid)
This skill establishes Node B (or dedicated DNS node) as your sovereign authoritative DNS, with Cloudflare as an optional edge mirror / public resolver layer.
What v1.0.0 Does
PowerDNS Authoritative (Docker)
- Deploys PowerDNS authoritative server using sqlite backend
- Enables the PowerDNS API
- Creates a first zone (optional) via API
- Produces an audit report + status matrix
Optional Cloudflare Sync
- Push a limited set of records (A/AAAA/CNAME/TXT) to Cloudflare using API token
- Designed as a mirror, not source of truth
Quick Start
cd ~/.claude/skills/dns-sovereign
# PowerDNS (required)
export MODE="docker"
export PDNS_PORT=53
export PDNS_WEB_PORT=8081
export PDNS_API_KEY="..." # choose a strong random token
export PDNS_DATA_DIR="$HOME/pdns"
# Zone (optional but recommended)
export ZONE_NAME="example.com" # authoritative zone name (must end with . in PDNS API ops)
export NS1_NAME="ns1.example.com"
export NS2_NAME="ns2.example.com"
# Cloudflare mirror (optional)
export CF_API_TOKEN="" # if set, sync scripts can run
export CF_ZONE_NAME="example.com" # Cloudflare zone to mirror into
# Safety
export DRY_RUN=1
export REQUIRE_CONFIRM=1
export CONFIRM_PHRASE="I UNDERSTAND THIS CAN CHANGE DNS"
./scripts/00_preflight.sh
./scripts/10_pdns_plan.sh
export DRY_RUN=0
./scripts/11_pdns_apply.sh
# Optional: create zone + NS records in PDNS
./scripts/20_zone_plan.sh
export DRY_RUN=0
./scripts/21_zone_apply.sh
# Optional: mirror records to Cloudflare (does not pull)
./scripts/30_cf_plan.sh
export DRY_RUN=0
./scripts/31_cf_apply.sh
./scripts/90_verify.sh
./scripts/99_report.sh
Inputs
| Parameter | Required | Default | Description |
|---|---|---|---|
| MODE | Yes | docker | docker |
| PDNS_API_KEY | Yes | (none) | PowerDNS API key |
| PDNS_DATA_DIR | No | ~/pdns | Persistent storage |
| PDNS_PORT | No | 53 | DNS port |
| PDNS_WEB_PORT | No | 8081 | API/Web port |
| ZONE_NAME | No | (empty) | Zone to create (e.g., example.com) |
| NS1_NAME | No | ns1. | Primary NS hostname |
| NS2_NAME | No | ns2. | Secondary NS hostname |
| CF_API_TOKEN | No | (empty) | Cloudflare API token (for mirroring) |
| CF_ZONE_NAME | No | (empty) | Cloudflare zone name |
| DRY_RUN | No | 1 | Apply refuses unless DRY_RUN=0 |
| REQUIRE_CONFIRM | No | 1 | Require confirmation phrase |
| CONFIRM_PHRASE | No | I UNDERSTAND THIS CAN CHANGE DNS | Safety phrase |
Outputs
outputs/compose.ymloutputs/pdns.confoutputs/pdns_api_probe.jsonoutputs/status_matrix.jsonoutputs/audit_report.mdoutputs/backups/<timestamp>/...
Safety Guarantees
- Default DRY_RUN=1
- Confirmation phrase required
- Backups for compose + config
- Rollback scripts:
- stop/remove PDNS container (data preserved)
- delete zone (optional)
- remove mirrored Cloudflare records created by this skill (best-effort)
EU Compliance
| Aspect | Value |
|---|---|
| Data Residency | EU (Ireland - Dublin) |
| Jurisdiction | Irish Law |
| Authoritative Source | PowerDNS on your node |
| Mirror | Optional Cloudflare mirror |