Compare commits
3 Commits
4a3cd7a617
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 3bb334f1c6 | |||
| c93b628f7b | |||
| 083e685dc8 |
@@ -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
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user