Skip to content

Commit

Permalink
BOSH release: 1.3.1: Special NS records for _acme-challenge.
Browse files Browse the repository at this point in the history
`DEVELOPER.md` had the wrong tests (mostly missing newlines); that's
been fixed. Also, I added a new test for DNS records which contain
`_acme-challenge.`, which may enable users to generate wildcard certs
for their sslip.io domains.
  • Loading branch information
cunnie committed Dec 24, 2020
1 parent 7415aa4 commit 01a14f4
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ builds:
version: 618bfe3b109f886f329fd5eb7905531aab3d8560418782631006cc09e973deba
blobstore_id: 79a8e95c-3ae3-4626-54df-a56a9a867def
sha1: sha256:5e44389f55dceb9012beee90721ff02d38c73e7922c6872129b3eae332a407e3
7e7e09d216066dd0b0e704a8dfa267687e80400488e42c0d03d76ae1bf984d29:
version: 7e7e09d216066dd0b0e704a8dfa267687e80400488e42c0d03d76ae1bf984d29
blobstore_id: f53fd027-e03c-406f-565a-5a3b6c97fe2c
sha1: sha256:080eaa4006c7aa04a0073929d83c3b430898a9e832464a0f1205ed4a50531fb8
7fb9916da7e8257efbaef94d5a3869f964f37fac3dbb0c6f1693790f588f224c:
version: 7fb9916da7e8257efbaef94d5a3869f964f37fac3dbb0c6f1693790f588f224c
blobstore_id: bd5efc67-e5f1-4534-7d32-08a84503a813
Expand Down
2 changes: 2 additions & 0 deletions bosh-release/releases/sslip.io/index.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
builds:
1c4de423-584b-42b9-59ab-93a123c96307:
version: 1.2.0
516ea48d-0717-494d-4082-9d8f0ab937df:
version: 1.3.1
520c044f-c0d0-4fd8-72a4-ed482efa2a96:
version: 1.3.0
7967ba6b-8992-4d38-7fdc-ada9154e39b7:
Expand Down
23 changes: 23 additions & 0 deletions bosh-release/releases/sslip.io/sslip.io-1.3.1.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: sslip.io
version: 1.3.1
commit_hash: 7415aa4
uncommitted_changes: true
jobs:
- name: sslip.io-dns-server
version: 308acb7c186a042bc2ca4c28b83c9fe7589a64c48ab6a11869c442bcaea8fdf9
fingerprint: 308acb7c186a042bc2ca4c28b83c9fe7589a64c48ab6a11869c442bcaea8fdf9
sha1: sha256:6ca6f2c11816a82ecb3cf9300ea59369977cbaa7c39eddca35628a7c6b9b5b45
packages:
- sslip.io-dns-server
packages:
- name: golang-1-linux
version: f9b637fa0c031f977d2418949a3182e21fe2d95505595ebfe558a448501a8ad6
fingerprint: f9b637fa0c031f977d2418949a3182e21fe2d95505595ebfe558a448501a8ad6
sha1: sha256:a862fe14c40ee5fa36ebec6db08895846f955e10a22e4e4504081290317316f4
dependencies: []
- name: sslip.io-dns-server
version: 7e7e09d216066dd0b0e704a8dfa267687e80400488e42c0d03d76ae1bf984d29
fingerprint: 7e7e09d216066dd0b0e704a8dfa267687e80400488e42c0d03d76ae1bf984d29
sha1: sha256:080eaa4006c7aa04a0073929d83c3b430898a9e832464a0f1205ed4a50531fb8
dependencies:
- golang-1-linux
12 changes: 7 additions & 5 deletions docs/DEVELOPER.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ These instructions are meant primarily for me when deploying a new BOSH release;
the might not make sense unless you're on my workstation.

```
export OLD_VERSION=1.2.2
export VERSION=1.3.0
export OLD_VERSION=1.3.0
export VERSION=1.3.1
cd ~/go/src/github.com/cunnie/sslip.io
git pull -r
sed -i '' "s~/$OLD_VERSION/~/$VERSION/~g" k8s/document_root/index.html # update the download instructions on the website
Expand All @@ -21,17 +21,19 @@ IP=10.0.250.22
dig +short 127.0.0.1.example.com @$IP
echo 127.0.0.1
dig +short ns example.com @$IP
printf "ns-aws.nono.io.\nns-azure.nono.io.\nns-gce.nono.io."
printf "ns-aws.nono.io.\nns-azure.nono.io.\nns-gce.nono.io.\n"
dig +short mx example.com @$IP
echo "0 example.com."
dig +short mx sslip.io @$IP
printf "10 mail.protonmail.ch.\n20 mailsec.protonmail.ch."
printf "10 mail.protonmail.ch.\n20 mailsec.protonmail.ch.\n"
dig +short txt sslip.io @$IP
printf "\"protonmail-verification=ce0ca3f5010aa7a2cf8bcc693778338ffde73e26\"\n\"v=spf1 include:_spf.protonmail.ch mx ~all\""
printf "\"protonmail-verification=ce0ca3f5010aa7a2cf8bcc693778338ffde73e26\"\n\"v=spf1 include:_spf.protonmail.ch mx ~all\"\n"
dig +short txt 127.0.0.1.sslip.io @$IP # no records
dig +short cname sslip.io @$IP # no records
dig +short cname protonmail._domainkey.sslip.io @$IP
echo protonmail.domainkey.dw4gykv5i2brtkjglrf34wf6kbxpa5hgtmg2xqopinhgxn5axo73a.domains.proton.ch.
dig +short ns _acme-challenge.127-0-0-1.sslip.io @$IP
echo 127-0-0-1.sslip.io.
bosh upload-blobs
bosh create-release \
--final \
Expand Down
2 changes: 1 addition & 1 deletion k8s/document_root/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ <h3 id="server">But I Want My Own DNS Server!</h3>
our server within a docker container:</p>
<pre>
docker run -it --rm fedora
curl -L https://github.com/cunnie/sslip.io/releases/download/1.3.0/sslip.io-dns-server-linux-amd64 -o dns-server
curl -L https://github.com/cunnie/sslip.io/releases/download/1.3.1/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
Expand Down

0 comments on commit 01a14f4

Please sign in to comment.