scripts v1

This commit is contained in:
2025-10-22 21:47:09 -05:00
commit acea71c326
10 changed files with 177 additions and 0 deletions

19
dns/deploy.sh Executable file
View File

@@ -0,0 +1,19 @@
#!/bin/bash
# Author: Landon Dyck
# Deploys the dns configuration
#
# Usage: $ ./deploy.sh
export $(cat .env | xargs)
cd dns
dnscontrol preview
echo
read -sp $'\e[34mPress \e[1;32m[Enter]\e[0;34m key to deploy or \e[1;31mCTRL+C\e[0;34m to cancel\e[0m'
echo
echo
dnscontrol push

7
dns/setup.sh Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/bash
# Author: Landon Dyck
# Installs dnscontrol
#
# Usage: $ ./setup.sh
go install -v github.com/StackExchange/dnscontrol/v4@v4.26.0