mirror of
https://github.com/cunnie/sslip.io.git
synced 2025-10-05 07:36:54 +08:00
4.1.0: hexadecimal notation
This commit is contained in:
@@ -26,7 +26,7 @@ LABEL org.opencontainers.image.authors="Brian Cunnie <brian.cunnie@gmail.com>"
|
||||
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/4.0.0/sslip.io-dns-server-linux-$TARGETARCH \
|
||||
RUN curl -f -L https://github.com/cunnie/sslip.io/releases/download/4.1.0/sslip.io-dns-server-linux-$TARGETARCH \
|
||||
-o /usr/sbin/sslip.io-dns-server; \
|
||||
chmod 755 /usr/sbin/sslip.io-dns-server
|
||||
|
||||
|
@@ -4,7 +4,7 @@
|
||||
#
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
||||
cd $DIR/..
|
||||
ldflags="-X xip/xip.VersionSemantic=4.0.0 \
|
||||
ldflags="-X xip/xip.VersionSemantic=4.1.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
|
||||
|
@@ -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.8
|
||||
export VERSION=4.0.0
|
||||
export OLD_VERSION=4.0.0
|
||||
export VERSION=4.1.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=4.0.0
|
||||
export VERSION=4.1.0
|
||||
# quick sanity test
|
||||
dig +short 127.0.0.1.example.com @$DNS_SERVER_IP
|
||||
echo 127.0.0.1
|
||||
@@ -73,6 +73,8 @@ dig @$DNS_SERVER_IP 1.0.0.127.in-addr.arpa ptr +short
|
||||
echo "127-0-0-1.sslip.io."
|
||||
dig @$DNS_SERVER_IP _psl.sslip.io txt +short
|
||||
echo "\"https://github.com/publicsuffix/list/pull/2206\""
|
||||
dig @$DNS_SERVER_IP 7f000001.nip.io +short
|
||||
echo 127.0.0.1
|
||||
dig @$DNS_SERVER_IP metrics.status.sslip.io txt +short | grep '"Queries: '
|
||||
echo '"Queries: 13 (?.?/s)"'
|
||||
```
|
||||
@@ -81,8 +83,9 @@ Review the output then close the second window. Stop the server in the
|
||||
original window. Commit our changes:
|
||||
|
||||
```bash
|
||||
GIT_MESSAGE="$VERSION: hexadecimal notation"
|
||||
git add -p
|
||||
git ci -vm"$VERSION: -ns-azure, ns-aws → \"blocked\""
|
||||
git ci -vm"$GIT_MESSAGE"
|
||||
git tag $VERSION
|
||||
git push
|
||||
git push --tags
|
||||
|
@@ -18,7 +18,7 @@ def get_whois_nameservers(domain)
|
||||
end
|
||||
|
||||
domain = ENV['DOMAIN'] || 'example.com'
|
||||
sslip_version = '4.0.0'
|
||||
sslip_version = '4.1.0'
|
||||
whois_nameservers = get_whois_nameservers(domain)
|
||||
|
||||
describe domain do
|
||||
|
Reference in New Issue
Block a user