Skip to main content

do-update-fqdn

Update or create a dns record through the DigitalOcean API.

Caveats

This script makes the assumption that there is only one FQDN that matches a given combination of name and record type. So if you have two A records for foo.example.com, this script might fail or delete one of them, depending on what I have implemented at that moment.

Right now it simply sets all records that the DO API returned for the given combination to the given --data. I might even try to fix this shortcoming in the future.

Multiple --type arguments with their own address each for updating A and AAAA in one go would also be nice.

It also exposes your DO API token in the process list while running. You have to trust your local machine.

Metadata

Release files for do-update-fqdn 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for do-update-fqdn 0.2.0
File Size Uploaded Provenance Actions
do-update-fqdn-0.2.0.tar.gz 3.4 kB Without provenance Details for do-update-fqdn-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for do-update-fqdn 0.2.0
File Interpreter ABI Platform Actions
do_update_fqdn-0.2.0-py3-none-any.whl Python 3 none any Details for do_update_fqdn-0.2.0-py3-none-any.whl

Total release size: 8.3 kB

Release files / do-update-fqdn-0.2.0.tar.gz

Download URL do-update-fqdn-0.2.0.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
639a016340cb81cf64fa3e5164f3c241b3b30fc6fabb317f28c8d9649071fab7
BLAKE2b-256 checksum
How to use checksums
e73095b61e0bf674f9a3a6e1a5711c366c27a1e9ace99ff8e3fa956076808118
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.43.0 CPython/3.6.9

Release files / do_update_fqdn-0.2.0-py3-none-any.whl

Download URL do_update_fqdn-0.2.0-py3-none-any.whl
Size 4.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4f95d1ac812fd0852566a4b82c8ffab7c8355a23c92390678099e8fd210e0adc
BLAKE2b-256 checksum
How to use checksums
9ff7edbec56d8963354a6c3555774873d9eed8f6c0cc9bcc769184dca94345c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.43.0 CPython/3.6.9

Security for do-update-fqdn 0.2.0

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page