diff --git a/Docker/sslip.io-dns-server/Dockerfile b/Docker/sslip.io-dns-server/Dockerfile index 8a2f699..84d176d 100644 --- a/Docker/sslip.io-dns-server/Dockerfile +++ b/Docker/sslip.io-dns-server/Dockerfile @@ -26,7 +26,7 @@ LABEL org.opencontainers.image.authors="Brian Cunnie " RUN dnf install -y bind-utils ARG TARGETARCH # amd64, arm64 (so I can run on AWS graviton2) -RUN curl -f -L https://github.com/cunnie/sslip.io/releases/download/3.2.8/sslip.io-dns-server-linux-$TARGETARCH \ +RUN curl -f -L https://github.com/cunnie/sslip.io/releases/download/4.0.0/sslip.io-dns-server-linux-$TARGETARCH \ -o /usr/sbin/sslip.io-dns-server; \ chmod 755 /usr/sbin/sslip.io-dns-server diff --git a/bin/make_all b/bin/make_all index 60edd59..f1857b3 100755 --- a/bin/make_all +++ b/bin/make_all @@ -4,7 +4,7 @@ # DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" cd $DIR/.. -ldflags="-X xip/xip.VersionSemantic=3.2.8 \ +ldflags="-X xip/xip.VersionSemantic=4.0.0 \ -X xip/xip.VersionDate=$(date +%Y/%m/%d-%H:%M:%S%z) \ -X xip/xip.VersionGitHash=$(git rev-parse --short HEAD)" export GOOS GOARCH diff --git a/docs/DEVELOPER.md b/docs/DEVELOPER.md index 42f6f41..954db87 100644 --- a/docs/DEVELOPER.md +++ b/docs/DEVELOPER.md @@ -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.2.7 -export VERSION=3.2.8 +export OLD_VERSION=3.2.8 +export VERSION=4.0.0 cd ~/workspace/sslip.io git pull -r --autostash # update the version number for the TXT record for version.status.sslip.io @@ -41,7 +41,7 @@ Test from another window: ```bash export DNS_SERVER_IP=127.0.0.1 -export VERSION=3.2.8 +export VERSION=4.0.0 # quick sanity test dig +short 127.0.0.1.example.com @$DNS_SERVER_IP echo 127.0.0.1 @@ -54,6 +54,8 @@ dig +short mx sslip.io @$DNS_SERVER_IP printf "10 mail.protonmail.ch.\n20 mailsec.protonmail.ch.\n" dig +short txt sslip.io @$DNS_SERVER_IP printf "\"protonmail-verification=ce0ca3f5010aa7a2cf8bcc693778338ffde73e26\"\n\"v=spf1 include:_spf.protonmail.ch mx ~all\"\n" +dig +short txt nip.io @$DNS_SERVER_IP +printf "\"protonmail-verification=19b0837cc4d9daa1f49980071da231b00e90b313\"\n\"v=spf1 include:_spf.protonmail.ch mx ~all\"\n" dig +short txt 127.0.0.1.sslip.io @$DNS_SERVER_IP # no records dig +short cname sslip.io @$DNS_SERVER_IP # no records dig +short cname protonmail._domainkey.sslip.io @$DNS_SERVER_IP diff --git a/spec/check-dns_spec.rb b/spec/check-dns_spec.rb index 81c2fe9..f328915 100644 --- a/spec/check-dns_spec.rb +++ b/spec/check-dns_spec.rb @@ -18,7 +18,7 @@ def get_whois_nameservers(domain) end domain = ENV['DOMAIN'] || 'example.com' -sslip_version = '3.2.8' +sslip_version = '4.0.0' whois_nameservers = get_whois_nameservers(domain) describe domain do