Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pan93412/cf-dns-api-cru-demo
https://github.com/pan93412/cf-dns-api-cru-demo
Last synced: 24 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/pan93412/cf-dns-api-cru-demo
- Owner: pan93412
- License: agpl-3.0
- Created: 2024-05-01T14:53:01.000Z (6 months ago)
- Default Branch: master
- Last Pushed: 2024-05-01T14:53:04.000Z (6 months ago)
- Last Synced: 2024-05-02T10:06:26.746Z (6 months ago)
- Language: Go
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Cloudflare API Demo (Updating TXT records)
It updates for a TXT record in the given zone with the name `cfdns-test`
and updates its values to the current timestamp. If there is no such record,
it creates one.## Usage
```bash
export CF_API_TOKEN="your-bearer-token"
export CF_ZONE_ID="your-zone-id"go run .
```## License
AGPL-3.0-or-later