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
File details
Details for the file cloudflare-dynamic-dns-client-0.2.1.tar.gz
.
File metadata
- Download URL: cloudflare-dynamic-dns-client-0.2.1.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1c54c7367aacc18d88b7c77bb1f775dcd4cdfc07fcb1e37659e543b8f8f8ad0 |
|
MD5 | 477969c679b55ac9b9c67b92ebd88731 |
|
BLAKE2b-256 | c31aec37d896498aeec8b9a904f6397321950afc9ccb59faa04924ba08267499 |