From c93b628f7bd7acb439cddeba04d3950cff125cf0 Mon Sep 17 00:00:00 2001 From: Siim Date: Sat, 25 Apr 2026 18:43:57 +0200 Subject: [PATCH] Updating readme & testing SSH (#3) Added prerequisites section to the readme Reviewed-on: https://karf.net/Siim/DIY-DynDNS-Bash/pulls/3 --- readme.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/readme.md b/readme.md index f7fabb8..523483c 100644 --- a/readme.md +++ b/readme.md @@ -1,5 +1,18 @@ *So to start learning Bash I tasked myself with rewriting [my simple Powershell script](https://karf.net/Siim/DIY-DynDNS-Powershell). Turns out I have quite a lot to learn. This doc is basically my learning notes meant mostly for my own use.* +### Prerequisites + - Use Cloudflare DNS + - [Powershell installed](obsidian://open?vault=Glamdring%202&file=PowerShell%20on%20Debian) + + +### Step 1 - Get a Token +Get a Cloudflare API token with the necessary permissions. Log in to your CloudFlare account, go to `Manage Account` and to `Account API Tokens`. Click that big, blue `Create Token` button and select the `Edit zone DNS` template. + +Select the relevant Zone Resources, I just gave it permissions to edit all my zones: +![[Pasted image 20250415131506.png]] + +Once you've configured it all, continue to summary, click `Create Token` and remember to save it. It will only be shown once, so if you forget to save it you'll have to create a new token. + ### Getting started ```bash #!/bin/bash @@ -186,4 +199,4 @@ for zone in "${zoneArray[@]}"; do fi done done -``` \ No newline at end of file +```