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
Metadata
Release files for cf-dns-edit 0.2.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cf_dns_edit-0.2.5.tar.gz | 192.0 kB | Without provenance | Details for cf_dns_edit-0.2.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cf_dns_edit-0.2.5-py3-none-any.whl | Python 3 | none | any | Details for cf_dns_edit-0.2.5-py3-none-any.whl |
Total release size: 217.2 kB
Release files / cf_dns_edit-0.2.5.tar.gz
| Download URL | cf_dns_edit-0.2.5.tar.gz |
|---|---|
| Size | 192.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ae53d4873c9d994372eaf1dae225ccd1e8279adeda95710472a8c6f1576181ab
|
|
BLAKE2b-256 checksum How to use checksums |
ba9347732de06828be9ef11c978ac84c2368e5ed5131bac882b6c891ce7b3b36
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.16
|
Release files / cf_dns_edit-0.2.5-py3-none-any.whl
| Download URL | cf_dns_edit-0.2.5-py3-none-any.whl |
|---|---|
| Size | 25.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
120f29e835ca5ea3b9eb54f384a87b8cc261ae32bb1b85ef53fc6156675d663a
|
|
BLAKE2b-256 checksum How to use checksums |
f016e95d0d00b632f29676636a9078e90d0d2f25bc688a5b673524947bf80e9b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.16
|
Security for cf-dns-edit 0.2.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.