From 2636c90a5ed7b970469dd31a9be68a683219d79b Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 22 Jun 2024 17:07:31 +0200 Subject: Initial commit --- add_https.sh | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100755 add_https.sh (limited to 'add_https.sh') diff --git a/add_https.sh b/add_https.sh new file mode 100755 index 0000000..0664796 --- /dev/null +++ b/add_https.sh @@ -0,0 +1,34 @@ +#!/usr/bin/env bash + +for dom in alanpearce.{eu,uk} aln.pe; do + xh PATCH $POWERDNS_API_URL/api/v1/servers/localhost/zones/${dom}. \ + X-API-KEY:$POWERDNS_API_KEY <