Initial commit: VaultMesh Skills collection
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>
This commit is contained in:
23
dns-sovereign/scripts/20_zone_plan.sh
Normal file
23
dns-sovereign/scripts/20_zone_plan.sh
Normal file
@@ -0,0 +1,23 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
|
||||
SKILL_ROOT="$(dirname "$SCRIPT_DIR")"
|
||||
source "$SCRIPT_DIR/_common.sh"
|
||||
|
||||
: "${ZONE_NAME:=}"
|
||||
: "${NS1_NAME:=}"
|
||||
: "${NS2_NAME:=}"
|
||||
|
||||
main() {
|
||||
if [[ -z "$ZONE_NAME" ]]; then
|
||||
log_warn "ZONE_NAME not set; zone creation will be skipped."
|
||||
exit 0
|
||||
fi
|
||||
echo "[PLAN] $(date -Iseconds) Create zone in PowerDNS"
|
||||
echo "[PLAN] Zone: $ZONE_NAME"
|
||||
echo "[PLAN] NS1: ${NS1_NAME:-ns1.$ZONE_NAME}"
|
||||
echo "[PLAN] NS2: ${NS2_NAME:-ns2.$ZONE_NAME}"
|
||||
echo "[PLAN] Note: PowerDNS API expects trailing dot for zone operations."
|
||||
echo "[PLAN] Next: export DRY_RUN=0 && ./scripts/21_zone_apply.sh"
|
||||
}
|
||||
main "$@"
|
||||
Reference in New Issue
Block a user