TUI to edit DNS records for cloudflare domains
Project description
cf-dns
Simple TUI to edit DNS records for cloudflare managed domains
Installation
Using pip:
pip install cf-dns-edit
Using uv:
uv tool install cf-dns-edit
Usage
After installing, simply run
cf-dns-edit
Setup
To get your API token, head over to this page.
In "API Tokens" click "Create Token".
Scroll down and click "Create Custom Token".
Give it a name and then in "Permissions" add the following:
- Zone.DNS.Read
- Zone.DNS.Write
- Zone.Zone.Read
Scroll down to "Continue to summary" and click it:
Then click "Create Token":
Copy the token.
Launch the program and then just paste in your key!
FAQ
Q: I am unable to paste in my key!
A: Set an environment variable named CLOUDFLARE_API_TOKEN to your key and rerun it
How to set the environment variable:
- Windows:
set CLOUDFLARE_API_TOKEN=token- Linux/MacOS:
export CLOUDFLARE_API_TOKEN=token
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cf_dns_edit-0.2.5.tar.gz.
File metadata
- Download URL: cf_dns_edit-0.2.5.tar.gz
- Upload date:
- Size: 192.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ae53d4873c9d994372eaf1dae225ccd1e8279adeda95710472a8c6f1576181ab
|
|
| MD5 |
026842ebe12ebf4a5314d813cfcf9125
|
|
| BLAKE2b-256 |
ba9347732de06828be9ef11c978ac84c2368e5ed5131bac882b6c891ce7b3b36
|
File details
Details for the file cf_dns_edit-0.2.5-py3-none-any.whl.
File metadata
- Download URL: cf_dns_edit-0.2.5-py3-none-any.whl
- Upload date:
- Size: 25.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
120f29e835ca5ea3b9eb54f384a87b8cc261ae32bb1b85ef53fc6156675d663a
|
|
| MD5 |
798b21637c762c3aa8d7585079fc0f7d
|
|
| BLAKE2b-256 |
f016e95d0d00b632f29676636a9078e90d0d2f25bc688a5b673524947bf80e9b
|