3.2.1: Return NS records in random order

This commit is contained in:
Brian Cunnie
2024-09-17 06:34:32 -07:00
parent 63a2be439e
commit d0c3927415
5 changed files with 9 additions and 8 deletions

View File

@@ -4,8 +4,8 @@ These instructions are meant primarily for me when deploying a new release;
they might not make sense unless you're on my workstation.
```bash
export OLD_VERSION=3.1.0
export VERSION=3.2.0
export OLD_VERSION=3.2.0
export VERSION=3.2.1
cd ~/workspace/sslip.io
git pull -r --autostash
# update the version number for the TXT record for version.status.sslip.io
@@ -18,7 +18,7 @@ sed -i '' "s~/$OLD_VERSION/~/$VERSION/~g" \
k8s/Dockerfile-sslip.io-dns-server
```
Optional: Update the version for the ns-aws, ns-azure install scripts
Optional: Update the version for the ns-aws, ns-azure, ns-gce, ns-ovh install scripts
```bash
pushd ~/bin
@@ -42,10 +42,11 @@ Test from another window:
```bash
export DNS_SERVER_IP=127.0.0.1
export VERSION=3.2.0
export VERSION=3.2.1
# quick sanity test
dig +short 127.0.0.1.example.com @$DNS_SERVER_IP
echo 127.0.0.1
# NS ordering might be rotated
dig +short ns example.com @$DNS_SERVER_IP
printf "ns-aws.sslip.io.\nns-azure.sslip.io.\nns-gce.sslip.io.\nns-ovh.sslip.io.\n"
dig +short mx example.com @$DNS_SERVER_IP