Skip to main content

A DNS Python Library.

Project description

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.

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

auto_dns-0.1.2.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

auto_dns-0.1.2-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file auto_dns-0.1.2.tar.gz.

File metadata

  • Download URL: auto_dns-0.1.2.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.14 CPython/3.10.6 Linux/6.3.13-060313-generic

File hashes

Hashes for auto_dns-0.1.2.tar.gz
Algorithm Hash digest
SHA256 be6a1be1c11542200a5bb4c2953294401ea22e4f460ab6e21f1b0c24ac8977a7
MD5 a8b9e03c4b10845499b6f1ea074ebe01
BLAKE2b-256 ca31861bb9f6942b5fca9b5f23fbb7e10adfd8b4fbc618f34b524fa40e69921d

See more details on using hashes here.

File details

Details for the file auto_dns-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: auto_dns-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.14 CPython/3.10.6 Linux/6.3.13-060313-generic

File hashes

Hashes for auto_dns-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6e372cf2c5ee0242449bc5ed1ce52a4dbbb29fc59242e041c920be0515753b05
MD5 e31159d66d3a362c8433120c0f26b9a7
BLAKE2b-256 c3336413f20673c3acf0dca44a63f6dcc36de1baf943b66ae2e461606f332c99

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page