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

Uploaded Source

File details

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

File metadata

File hashes

Hashes for cloudflare-dynamic-dns-client-0.2.2.tar.gz
Algorithm Hash digest
SHA256 d70484ef92ae522adb8914cf0023a56b2b515bf7fb5127e1c44f2929bcd8cd4a
MD5 c922aa837352a93c780f6b3227acf9b6
BLAKE2b-256 7bedb0dfe339c45f44e41aafec9fb16fc3713e8161d3baab5de23243d0616812

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