Commit Graph

112 Commits

Author SHA1 Message Date
Brian Cunnie
3eb38ecd19 GKE: sslip.io nginx has ClusterIP service 2021-07-07 16:30:57 -07:00
Brian Cunnie
9c15584b88 GKE: incorporate webserver into sslip.io
So far we've incorporated DNS & NTP, and now we incorporate the
webserver (on port 80, no TLS)
2021-07-07 16:05:43 -07:00
Brian Cunnie
27835a030f GKE: Cluster is now an NTP server!
- Much of the information was from this blog post:
  <https://goglides.io/manage-ntp-using-kubernetes/90/>
- Curiously, it creates another load balancer, so this brings me up to
  three load balancers (HTTP(S)/DNS/NTP)
- It uses the OpenNTPD server. And ns-aws uses NTPsec, and ns-azure uses
  the granddaddy, NTP.
2021-07-07 12:30:50 -07:00
Brian Cunnie
11b4966b90 GKE sslip.io DNS: 1 replica, no readiness
We only have 1 node (because I'm frugal), so we really need only one
replica (it's more likely that the node has crashed rather than my
fairly-simple server).

Also, I pushed out the liveness probe to 5 minutes so the logs aren't
cluttered with probes every ten seconds.

I got rid of the readiness probe, which is only for "[applications
[that] are temporarily unable to serve
traffic](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/)".
It cluttered the logs with its probes. Also my app is never
temporarily unable to serve.

fixes too many occurrences of:
```
::1.55268 TypeA 127.0.0.1.sslip.io. ? 127.0.0.1
```
2021-07-06 05:23:04 -07:00
Brian Cunnie
59c9423989 Dockerfile: nginx: breadcrumb where to find it 2021-07-05 17:53:46 -07:00
Brian Cunnie
028a01b028 🐞 LoadBalancer has correct IP (104.155.144.4)
And, while we're at it, let's get rid of DNS-over-TCP. It's only useful
for zone transfers (IIRC), and we don't implement that anyway.
2021-07-05 17:48:05 -07:00
Brian Cunnie
4136294e91 GKE: LoadBalancer service for 53/UDP 2021-07-05 16:12:35 -07:00
Brian Cunnie
98e3bf542f k8s: livenessProbe every hour
...so it doesn't clutter up the log file every five seconds.
2021-07-05 13:19:27 -07:00
Brian Cunnie
998aab97f1 k8s deployment: specify -dns everywhere
...to distinguish it from the soon-to-be-added `-nginx` webserver
2021-07-03 13:43:14 -07:00
Brian Cunnie
7c9ab0d64e 🐞 k8s sslip.io: remove only-run-on-AWS restriction
fixes:
```
Warning  FailedScheduling  50s (x2 over 50s)  default-scheduler  0/1 nodes are available: 1 node(s) didn't match node selector.
```
2021-06-22 11:07:35 -07:00
Brian Cunnie
867f87485b Remove PowerDNS (pdns) Dockerfile, manifests
We don't use PowerDNS anymore, and I don't want old PowerDNS-related
paraphernalia cluttering the repo.
2021-06-22 11:01:43 -07:00
Brian Cunnie
88e5fdedff Dockerfile cunnie/sslip.io-dns-server: bump 2.1.2 → 2.2.0 2021-06-21 09:21:46 -07:00
Brian Cunnie
55e23e34a3 BOSH release: 2.2.0: TXT records return IP addrs 2021-06-20 20:52:10 -07:00
Brian Cunnie
a4aa6a8905 Website: add even more "what is my IP?" sites 2021-06-20 19:31:36 -07:00
Brian Cunnie
9bf4c72033 Website: include ns-aws's IPv6 address 2021-06-20 14:08:24 -07:00
Brian Cunnie
e89d8b5caf Website: DNS queries are 14x more efficient
...than HTTPS queries.
2021-06-20 13:45:05 -07:00
Brian Cunnie
bd9ad86ede 🐞 Docs: Use HTML not Markdown
- `TXT` → <code>TXT</code>
- Clarify wording about looking up your public IP address
2021-06-20 07:08:42 -07:00
Brian Cunnie
bc103c7964 Website: reorganize headings
- "Related Services" is at the bottom
- Recommend using ns-aws.nono.io for both IPv4 & IPv6 lookups
2021-06-19 20:40:39 -07:00
Brian Cunnie
69972df833 Document: TXT records return querier's IP address
I didn't mention <https://wtfismyip.com/> because I felt the _wtf_
portion wasn't what I wanted on my website.
2021-06-19 20:02:27 -07:00
Brian Cunnie
b066b8821c DNS Server: Bump Serial to today's date
Drive-by: remove `named.conf`, an artifact of when we were powered by
PowerDNS.
2021-06-19 14:25:28 -07:00
Brian Cunnie
63d306b750 k8s: DNS server is deployed on AWS 2021-04-04 16:18:39 -07:00
Brian Cunnie
406b81c340 Dockerfile, Binaries include ARM (arm64 / aarch64)
Dockerfile:
- We use `CMD` instead of `ENTRYPOINT` because it's marginally easier
  to debug.
- We include 64-bit ARM, but not 32-bit
- We had to re-order the steps so that `apk add bind-tools` came
  before copying the binary; that fixed a bug where the
  `sslip.io-dns-server` wasn't on the ARM container filesystem (but it
  was on the amd64 filesystem 🤔)

Binaries
- We now build arm64 (GOARCH) versions of FreeBSD, Linux, and macOS
  (GOOS), but not Windows. It apparently doesn't have arm64 support yet.
2021-03-08 20:29:31 -08:00
Brian Cunnie
5cd770bbbd k8s sslip.io.yml: Deployment + NodePort Service 2021-02-28 21:30:47 -08:00
Brian Cunnie
947b47c8c5 Dockerfile: sslip.io has dig to allow probes
It increases the size of the image from 8MB to 26MB, but in the grand
scheme of things that's not much space.
2021-02-28 19:57:38 -08:00
Brian Cunnie
e9eea2334c Website: plea to report Let's Encrypt rate-limits
We want people to report rate-limiting so we know to request an
increase.

[#6]
2021-02-12 19:11:42 -08:00
Brian Cunnie
74aed2f5b1 HTML: better wording for wildcard subdomains
The previous version wasn't clear.
2021-02-10 13:12:55 -08:00
Brian Cunnie
e14d7f0571 Website Documentation: Expand TLS options
- Use HTTP-01 challenge for run-of-the-mill certificates
- White label domains can acquire their own wildcard certificates
- VMware employees have access to *.sslip.io wildcard
- Use DNS-01 challenge for *.w-x-y-z.sslip.io wildcards
2021-02-09 08:22:57 -08:00
Brian Cunnie
ff35a2c1d1 Dockerfile: cunnie/sslip.io-dns-server → 2.1.2 2021-01-30 20:02:40 -08:00
Brian Cunnie
d2ed920d20 Bump version number on download link on web page 2021-01-30 20:00:19 -08:00
Brian Cunnie
0be7a8c7e6 Dockerfile: cunnie/sslip.io-dns-server → 2.1.1 2021-01-20 16:03:57 -08:00
Brian Cunnie
5429c71c87 BOSH release: 2.1.1: case-insensitive _acme-challenge matching 2021-01-20 15:51:00 -08:00
Brian Cunnie
a3de35fa45 Dockerfile: cunnie/sslip.io-dns-server → 2.1.0 2021-01-20 11:59:42 -08:00
Brian Cunnie
a346b7d668 Dockerfile: cunnie/sslip.io-dns-server → 2.0.0 2021-01-18 11:01:05 -08:00
Brian Cunnie
3f61b73290 Dockerfile for DNS/HTTP wildcard server
This DNS/HTTP server enables the procurement of wildcard certs for
sslip.io subdomains.

Drive-by:

- Removed the apostrophe from the initialized TXT string so that
cutting-and-pasting the string is less difficult (but the backslashes
and double quotes are still a pain).

- The DNS/HTTP server logs output when the TXT record is updated. We log
most actions, and this is perhaps the most important one, so it was an
oversight that we didn't log it.
2021-01-10 06:11:38 -08:00
Brian Cunnie
a4bb454118 Dockerfile: cunnie/sslip.io-dns-server → 1.3.1 2020-12-24 12:32:22 -08:00
Brian Cunnie
bea9cde6f0 BOSH release: 1.3.1: Special NS records for _acme-challenge.
`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.
2020-12-24 12:11:58 -08:00
Brian Cunnie
7f652473a5 Dockerfile: cunnie/sslip.io-dns-server → 1.3.0 2020-12-19 18:09:22 -08:00
Brian Cunnie
91048d058b BOSH release: 1.3.0: CNAME records 2020-12-19 17:51:22 -08:00
Brian Cunnie
1fe1ea1519 Dockerfile for our new Golang-based DNS server
We use the Alpine image; it's a lean 5.6 MB, and our 3 MB server keeps
it lean at below 9 MB.

Though we include instructions to build the Dockerfile, we plan to use
Docker Hub's automated builds feature.
2020-12-18 07:37:36 -08:00
Brian Cunnie
464e0ff361 Website: merge the "warning" banners
We don't need two; one is enough.
2020-12-17 08:25:20 -08:00
Brian Cunnie
19b8e07c10 Website: provide link to open report problems
When we released our new Golang-based DNS server, we had a banner that
said to let us know if anything breaks, but we neglected to tell them
_how_ to let us know. Now we include a link that opens a GitHub issue.
2020-12-17 08:00:42 -08:00
Brian Cunnie
ef868f7fdb BOSH release: 1.2.2: TXT records, this time without bugs 2020-12-16 09:28:00 -08:00
Brian Cunnie
8da410c029 BOSH release: 1.2.1 TXT records
The compelling reason was to to enable Protonmail for sslip.io email;
they require specific TXT records.
2020-12-16 08:06:53 -08:00
Brian Cunnie
b8b54a40f4 🐞 Fix the broken badges on the website
I renamed the Concourse CI job "check-dns" → "dns-servers", but never
updated the URL of the badge.
2020-12-13 16:36:50 -08:00
Brian Cunnie
c1db16dd17 Website: link to the latest (1.2.0) release 2020-12-13 16:24:24 -08:00
Brian Cunnie
e695c120b3 HTML: Related services: nip.io, localtls 2020-12-10 08:01:31 -08:00
Brian Cunnie
9b3f8a789a README: we have three name servers, not four 2020-12-03 06:43:45 -08:00
Brian Cunnie
779520cca2 Website has instructions for running custom server
We describe how to run our pre-built executable within a docker
container. They can figure out the rest from there.

If they don't understand those instructions, they shouldn't be running
their own DNS server.
2020-12-01 16:39:01 -08:00
Brian Cunnie
62a95f04b7 README: tell users that we have a new backend 2020-12-01 12:49:05 -08:00
Brian Cunnie
0ac9e1895d HTML: tidy 5.6.0 the HTML assets
It makes it easier for editing.
2020-12-01 08:40:00 -08:00