Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jawish/cloudflare_cname_updater
Resolves the given CNAME into the associated A/AAAA records and syncs Cloudflare DNS with the records via Cloudflare API.
https://github.com/jawish/cloudflare_cname_updater
Last synced: 21 days ago
JSON representation
Resolves the given CNAME into the associated A/AAAA records and syncs Cloudflare DNS with the records via Cloudflare API.
- Host: GitHub
- URL: https://github.com/jawish/cloudflare_cname_updater
- Owner: jawish
- License: mit
- Created: 2013-12-04T15:12:54.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2013-12-04T15:58:00.000Z (almost 11 years ago)
- Last Synced: 2024-10-05T11:18:20.663Z (about 1 month ago)
- Language: PHP
- Size: 102 KB
- Stars: 3
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-maldives - cloudflare_cname_updater - Resolves the given CNAME into the associated A/AAAA records and syncs Cloudflare DNS with the records via Cloudflare API. (Table of Contents / PHP Projects)
README
Resolves the given CNAME into the associated A/AAAA records and syncs Cloudflare DNS with the records via Cloudflare API.
Used when managing DNS in Cloudflare with a domain that has dynamic CNAMEs that change occassionally. This was originally written for use on a domain with web/app servers running behind Amazon AWS Elastic Load Balancers.
Instructions
============
1. Clone/download the script and sample config script somewhere onto a server. The server should be using a nameserver that has the most up-to-date records.
2. Copy the sample config file and fill in the details.
3. Run the script manually or setup a cron job to run the script every x minutes.`php cf_cname_updater.php sample_config`
That's all!
License
=======
MIT License