https://github.com/gigili/cloudflare-dns-update
Allows me to update my CloudFlare dns record so that I can have access to my server with a dynamic IP
https://github.com/gigili/cloudflare-dns-update
cloudflare dns domain shell
Last synced: about 1 year ago
JSON representation
Allows me to update my CloudFlare dns record so that I can have access to my server with a dynamic IP
- Host: GitHub
- URL: https://github.com/gigili/cloudflare-dns-update
- Owner: gigili
- License: gpl-3.0
- Created: 2018-12-19T08:36:57.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-10-18T10:11:16.000Z (over 5 years ago)
- Last Synced: 2025-03-26T09:05:42.236Z (about 1 year ago)
- Topics: cloudflare, dns, domain, shell
- Language: Shell
- Homepage:
- Size: 21.5 KB
- Stars: 36
- Watchers: 4
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Cloudflare dns update
[](#contributors-)
Allows me to update my Cloudflare dns record so that I can have access to my server with a dynamic IP
Since I have a dynamic IP at home, but have setup myself with a little web server I needed a way to have nice domain to access it and not worry about the IP changes. There are many great options out there such as ddns or noip, but why pay for something or go trough the trouble of confirming your account should you choose the free version when you can try and learn something new and create your own script that would mimic the actions of those clients :)
Also the good thing about this is that you can use it for any of your domains / sub domains hosted trough Cloudflare and not having to pick one of those free domains.
***Requirements:***
- Basic knowledge of shell scripting
- Your domain nameservers pointing to Cloudflare
- [sSMTP ](https://www.linux.com/news/ssmtp-simple-alternative-sendmail) - used to send an email if the update fails
Read my article on how and why I created this script on [dev.to](https://dev.to/gigilibl/cloudflare-dns-update---free-alternative-to-ddns-437c)
***NOTE:***
***I take no responsibility*** should this script break your dns records and/or anything else. By using it, you acknowledge that you understand what this script does and how it may affect you in any way.
## Contributors ✨
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!