Auto DNS Python CLI
Auto DNS is a Python command line application which automatically updates the DNS records of your domain using various DNS providers.
Supported DNS providers:
Arvan
Cloudflare [coming soon]
This library is intended to be used on a system with a dynamic public IP that you want to map to a static domain name.
Installation
The package can be installed using pip:
$ pip install auto-dns
Or if you prefer, you can use Poetry:
$ poetry add auto-dns
Configuration
To configure a DNS provider API key, use the following command:
$ autodns set_api_key <provider> <api_key>
Usage
To create a DNS record:
$ autodns create <domain> <record_type> <name> <provider> --ip <ip_address>
To update a DNS record with your current public IP, use the following command:
$ autodns update <domain> <record_type> <name> <provider> --ip <ip_address>
To delete a DNS record:
$ autodns delete <domain> <record_type> <name> <provider>
To get DNS records:
$ autodns get_record <domain> <provider> --record-type <record_type> --name <name>
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
Auto DNS is released under the MIT License.
Metadata
Release files for auto-dns 0.1.2
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 |
|---|---|---|---|---|
| auto_dns-0.1.2.tar.gz | 4.8 kB | Without provenance | Details for auto_dns-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| auto_dns-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for auto_dns-0.1.2-py3-none-any.whl |
Total release size: 11.0 kB
Release files / auto_dns-0.1.2.tar.gz
| Download URL | auto_dns-0.1.2.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
be6a1be1c11542200a5bb4c2953294401ea22e4f460ab6e21f1b0c24ac8977a7
|
|
BLAKE2b-256 checksum How to use checksums |
ca31861bb9f6942b5fca9b5f23fbb7e10adfd8b4fbc618f34b524fa40e69921d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.14 CPython/3.10.6 Linux/6.3.13-060313-generic
|
Release files / auto_dns-0.1.2-py3-none-any.whl
| Download URL | auto_dns-0.1.2-py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6e372cf2c5ee0242449bc5ed1ce52a4dbbb29fc59242e041c920be0515753b05
|
|
BLAKE2b-256 checksum How to use checksums |
c3336413f20673c3acf0dca44a63f6dcc36de1baf943b66ae2e461606f332c99
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.14 CPython/3.10.6 Linux/6.3.13-060313-generic
|
Security for auto-dns 0.1.2
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.