From ba6ca8b47b663712d6514b117a7e3a12355bd77d Mon Sep 17 00:00:00 2001 From: Brian Cunnie Date: Sun, 17 Aug 2025 07:56:21 -0700 Subject: [PATCH] Regularly update nameservers' Linux packages I'd like to keep the nameservers fresh, and this commit incorporates `apt-get update` in the procedure to update the sslip.io nameserver because I'll be rebooting the servers anyway (rebooting is key because I'd like the updated kernel to match the running kernel). --- docs/DEVELOPER.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/DEVELOPER.md b/docs/DEVELOPER.md index f9025a7..ee945a4 100644 --- a/docs/DEVELOPER.md +++ b/docs/DEVELOPER.md @@ -84,6 +84,11 @@ git ci -vm"$GIT_MESSAGE" git tag $VERSION git push git push --tags +for HOST in {ns-do-sg,ns-gce,ns-hetzner,ns-ovh}.sslip.io; do + ssh $HOST sudo apt-get update + ssh $HOST sudo apt-get upgrade -y + ssh $HOST sudo apt-get autoremove -y +done scp bin/sslip.io-dns-server-linux-amd64 ns-do-sg: scp bin/sslip.io-dns-server-linux-amd64 ns-gce: scp bin/sslip.io-dns-server-linux-amd64 ns-hetzner: