Skip to main content

Allows selfhosting on cloudflare with a dynamic ip address

Project description

Cloudflare Dynamic DNS

Cloudflare Dynamic DNS is a Python package designed to automate the process of updating Cloudflare A records whenever your server's IP address changes. This can be particularly useful for users with dynamic IP addresses, ensuring that your domain always points to the correct server.

Features

  • Automatically updates Cloudflare A records when your server's IP address changes.
  • Interface to guide you through the setup process.
  • Select multiple records you want the server to update.
  • Continuously monitors for IP changes and updates Cloudflare accordingly.

Installation

You can install Cloudflare Dynamic DNS via pip:

pip install cloudflare-dynamic-dns-client

Usage

To use Cloudflare Dynamic DNS, follow these steps:

Configuration

Running cloudflare-dynamic-dns for the first time will allow you to enter an API key and select the records you want to update.

Running

Once configured, running cloudflare-dynamic-dns again will resume monitoring for ip changes and updating cloudflare records.

Editing Configuration

Running cloudflare-dynamic-dns config will allow you to repeat to configuration step.

Logs

Running cloudflare-dynamic-dns logs will output the directory containing the latest log files.

Contributing

Contributions are welcome! Please fork this repository and submit a pull request with your changes. For major changes, please open an issue first to discuss what you would like to change.

License

This project is licensed under the MIT License - see the LICENSE file for details.

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

cloudflare-dynamic-dns-client-0.2.1.tar.gz (4.4 kB view details)

Uploaded Source

File details

Details for the file cloudflare-dynamic-dns-client-0.2.1.tar.gz.

File metadata

File hashes

Hashes for cloudflare-dynamic-dns-client-0.2.1.tar.gz
Algorithm Hash digest
SHA256 d1c54c7367aacc18d88b7c77bb1f775dcd4cdfc07fcb1e37659e543b8f8f8ad0
MD5 477969c679b55ac9b9c67b92ebd88731
BLAKE2b-256 c31aec37d896498aeec8b9a904f6397321950afc9ccb59faa04924ba08267499

See more details on using hashes here.

Supported by

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