Skip to main content

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)

Source distribution for auto-dns 0.1.2
File Size Uploaded
auto_dns-0.1.2.tar.gz 4.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for auto-dns 0.1.2
File Interpreter ABI Platform
auto_dns-0.1.2-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.0

2 release files

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