Cloudflare DNS Record Updater for devices that are dynamically assigned ip via dhcp server(e.g. AWS EC2 Instance)
git clone https://github.com/cla6shade/recorder.git
./start.sh
- Run program to generate setup files(auth.json, domains.json)
- Click Here and copy your Global API Key. Paste it in the value of api_key in auth.json
- Follow these steps
- Hit 'Create Token'
- Hit 'Use Template'
- DO NOT modify anything in 'Permissions' tab
- Set values for 'Zone Resources': Include, All zones from Account, Your Email's Account
- Hit 'Continue to Summary'
- Create your token
- Copy your generated token and paste into the value of api_token in auth.json
- Go to the page of the domain you want to update and copy Zone ID in API Tab, paste into values of zones in domains.json. Multiple zones can be accepted as an array.
- Put your subdomain as full form into the value of "subdomains > A" in domains.json
The Examples of setting files are here
- Automatically check ip address in domain record and update periodically
- Run as service in various operating systems
- Modifiable TTL values in domain settings