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.3.tar.gz (4.5 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for cloudflare-dynamic-dns-client-0.2.3.tar.gz
Algorithm Hash digest
SHA256 ff0726c61b97b64165b3c3e52b3ae4c5045d050ecd9b31f7d5081e9d09f5b04e
MD5 baf2699250052c1ab63e65910c3e5d43
BLAKE2b-256 7438c3c866d3396ff56f75a7716f8f1f7dd495f5734499c5457f78a38fe879a2

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