Skip to content

cla6shade/recorder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

recorder

CodeFactor

Cloudflare DNS Record Updater for devices that are dynamically assigned ip via dhcp server(e.g. AWS EC2 Instance)

How to run

git clone https://github.com/cla6shade/recorder.git
./start.sh

Setup

  1. Run program to generate setup files(auth.json, domains.json)
  2. Click Here and copy your Global API Key. Paste it in the value of api_key in auth.json
  3. Follow these steps
    1. Hit 'Create Token'
    2. Hit 'Use Template'
    3. DO NOT modify anything in 'Permissions' tab
    4. Set values for 'Zone Resources': Include, All zones from Account, Your Email's Account
    5. Hit 'Continue to Summary'
    6. Create your token
    7. Copy your generated token and paste into the value of api_token in auth.json
  4. 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.
  5. Put your subdomain as full form into the value of "subdomains > A" in domains.json

The Examples of setting files are here

auth.json

img

domains.json

img

TODO

  • Automatically check ip address in domain record and update periodically
  • Run as service in various operating systems
  • Modifiable TTL values in domain settings

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages