aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Ashby <martin@ashbysoft.com>2024-01-26 00:09:24 +0000
committerMartin Ashby <martin@ashbysoft.com>2024-01-26 00:09:24 +0000
commit0e467dfc529451167fde979103a03812ed740885 (patch)
treea156a4b96d6e023c7c73434fa59a59bb24e635f6
parent65faaefc7cf08c3b22e6f6a0399a16480a902cfb (diff)
downloadmfashby.net-0e467dfc529451167fde979103a03812ed740885.tar.gz
mfashby.net-0e467dfc529451167fde979103a03812ed740885.tar.bz2
mfashby.net-0e467dfc529451167fde979103a03812ed740885.tar.xz
mfashby.net-0e467dfc529451167fde979103a03812ed740885.zip
Dynamic DNS
-rw-r--r--content/posts/2024-01-26-dyn.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/content/posts/2024-01-26-dyn.md b/content/posts/2024-01-26-dyn.md
new file mode 100644
index 0000000..e54fc82
--- /dev/null
+++ b/content/posts/2024-01-26-dyn.md
@@ -0,0 +1,11 @@
+---
+title: "Dynamic DNS"
+date: 2024-01-26T00:02:35Z
+draft: false
+---
+
+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.