Version 2.5.4: .acme_challenge.k-v.io isn't settable

This commit is contained in:
Brian Cunnie
2022-04-30 16:42:35 -07:00
parent 30c72cc5d4
commit 50d843a16a
5 changed files with 12 additions and 10 deletions

View File

@@ -4,7 +4,7 @@
#
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
cd $DIR/../src/sslip.io-dns-server
ldflags="-X xip/xip.VersionSemantic=2.5.3 \
ldflags="-X xip/xip.VersionSemantic=2.5.4 \
-X xip/xip.VersionDate=$(date +%Y/%m/%d-%H:%M:%S%z) \
-X xip/xip.VersionGitHash=$(git rev-parse --short HEAD)"
export GOOS GOARCH
@@ -15,10 +15,12 @@ for GOARCH in amd64 arm64; do
go build \
-ldflags="$ldflags" \
-o $DIR/sslip.io-dns-server-$GOOS-$GOARCH \
main.go
main.go &
done
done
# Windows has a custom extension, can't do arm64 yet
GOOS=windows GOARCH=amd64
go build -o $DIR/sslip.io-dns-server-$GOOS-$GOARCH.exe main.go
go build -o $DIR/sslip.io-dns-server-$GOOS-$GOARCH.exe main.go &
wait

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=2.5.2
export VERSION=2.5.3
export OLD_VERSION=2.5.3
export VERSION=2.5.4
cd ~/workspace/sslip.io
git pull -r --autostash
# update the version number for the TXT record for version.status.sslip.io
@@ -24,7 +24,7 @@ bin/make_all
bin/sslip.io-dns-server-darwin-arm64
# In another window
export DNS_SERVER_IP=127.0.0.1
export VERSION=2.5.3
export VERSION=2.5.4
# quick sanity test
dig +short 127.0.0.1.example.com @$DNS_SERVER_IP
echo 127.0.0.1
@@ -68,7 +68,7 @@ exit
# let's add our changes
git add -p
# and commit (but DON'T push)
git ci -vm"Version $VERSION: DELETE on k-v.io returns no TXT records"
git ci -vm"Version $VERSION: .acme_challenge.k-v.io isn't settable"
git tag $VERSION
git push
git push --tags

View File

@@ -26,7 +26,7 @@ LABEL org.opencontainers.image.authors="Brian Cunnie <brian.cunnie@gmail.com>"
RUN apk update && apk add bind-tools
ARG TARGETARCH # amd64, arm64 (so I can run on AWS graviton2)
RUN wget https://github.com/cunnie/sslip.io/releases/download/2.5.3/sslip.io-dns-server-linux-$TARGETARCH \
RUN wget https://github.com/cunnie/sslip.io/releases/download/2.5.4/sslip.io-dns-server-linux-$TARGETARCH \
-O /usr/sbin/sslip.io-dns-server; \
chmod 755 /usr/sbin/sslip.io-dns-server

View File

@@ -156,7 +156,7 @@ src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> <![endif]-->
install & run our server within a docker container:</p>
<pre>
docker run -it --rm fedora
curl -L https://github.com/cunnie/sslip.io/releases/download/2.5.3/sslip.io-dns-server-linux-amd64 -o dns-server
curl -L https://github.com/cunnie/sslip.io/releases/download/2.5.4/sslip.io-dns-server-linux-amd64 -o dns-server
chmod +x dns-server
./dns-server 2&gt; dns-server.log &
dnf install -y bind-utils

View File

@@ -18,7 +18,7 @@ def get_whois_nameservers(domain)
end
domain = ENV['DOMAIN'] || 'example.com'
sslip_version = '2.5.3'
sslip_version = '2.5.4'
whois_nameservers = get_whois_nameservers(domain)
describe domain do