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.3.tar.gz
.
File metadata
- Download URL: cloudflare-dynamic-dns-client-0.2.3.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff0726c61b97b64165b3c3e52b3ae4c5045d050ecd9b31f7d5081e9d09f5b04e |
|
MD5 | baf2699250052c1ab63e65910c3e5d43 |
|
BLAKE2b-256 | 7438c3c866d3396ff56f75a7716f8f1f7dd495f5734499c5457f78a38fe879a2 |