Compare commits

..

3 Commits

Author SHA1 Message Date
Siim 3bb334f1c6 Updated readme
Might've pasted a bit too much
2026-04-25 18:44:58 +02:00
Siim c93b628f7b Updating readme & testing SSH (#3)
Added prerequisites section to the readme

Reviewed-on: #3
2026-04-25 18:43:57 +02:00
Siim 083e685dc8 Updated readme
Corrected the link to the PS version
2026-04-25 18:03:13 +02:00
+13 -2
View File
@@ -1,4 +1,15 @@
*So to start learning Bash I tasked myself with rewriting [my simple Powershell script](obsidian://open?vault=Personal&file=Glamdring%202%2FUpdate%20Cloudflare%20DNS%20entries%20automatically%20-%20With%20Powershell). Turns out I have quite a lot to learn. This doc is basically my learning notes meant mostly for my own use.* *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
### 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 ### Getting started
```bash ```bash
@@ -186,4 +197,4 @@ for zone in "${zoneArray[@]}"; do
fi fi
done done
done done
``` ```