Updating readme & testing SSH (#3)
Added prerequisites section to the readme Reviewed-on: #3
This commit was merged in pull request #3.
This commit is contained in:
@@ -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.*
|
*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
|
### Getting started
|
||||||
```bash
|
```bash
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|||||||
Reference in New Issue
Block a user