Skip to content

Instantly share code, notes, and snippets.

View codeThatThinks's full-sized avatar

Ian Glen codeThatThinks

View GitHub Profile
@codeThatThinks
codeThatThinks / Cloudflare Dynamic DNS Script.md
Created November 28, 2020 04:52
Cloudflare Dynamic DNS Script

Cloudflare Dynamic DNS

  1. Create an API token. Go to Profile > API Tokens and create a token.

  2. Use the API to list your zones to deterimine ID of the zone you want to update.

  3. Use the API to list your zone records to determine the ID of the record(s) you want to update.

  4. Use the following bash script to update these records, filling in your API token, zone id, and record ids:

### Keybase proof
I hereby claim:
* I am codeThatThinks on github.
* I am codeThatThinks (https://keybase.io/codeThatThinks) on keybase.
* I have a public key whose fingerprint is 7592 418E 499C 3DA6 1FB5 0FE5 F798 2FAA AC11 073A
To claim this, I am signing this object: