From 82e7ac75954c973a5c59a02684788c0fb26e14dd Mon Sep 17 00:00:00 2001 From: Martin Ashby Date: Sat, 21 Dec 2024 22:18:18 +0000 Subject: Bump zine 0.3.0 -> 0.8.0 Fix a lot of associated breakage Fix broken rss.xml file as highlighted to me by Matthijs van der Wild (thanks!) --- content/posts/2024-01-26-dyn.smd | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 content/posts/2024-01-26-dyn.smd (limited to 'content/posts/2024-01-26-dyn.smd') diff --git a/content/posts/2024-01-26-dyn.smd b/content/posts/2024-01-26-dyn.smd new file mode 100644 index 0000000..3eaf189 --- /dev/null +++ b/content/posts/2024-01-26-dyn.smd @@ -0,0 +1,13 @@ +--- +.title = "Dynamic DNS", +.author = "Martin Ashby", +.date = @date("2024-01-26T00:02:35Z"), +.layout = "single.shtml", +.custom = {"comments": true}, +--- + +I recently upgraded my home broadband, however in the process I lost my static IP address. I have requested a new one, but in the meantime I wrote a [program](https://code.mfashby.net/do-dyn/file/src/main.zig.html) to dynamically update my DNS records in case my router restarts and my WAN IP address changes. + +I didn't really want to change providers in order to move to a proper dynamic DNS setup, since this is a temporary solution, but I did enjoy writing a little code to make it work with my current DNS provider (digital ocean). I appreciate how useful it is to have an HTTP client in the zig standard library! + +New broadband is now [fibre to the premises](https://en.wikipedia.org/wiki/Fiber_to_the_x), and it's quite a lot quicker. -- cgit v1.2.3-ZIG