Updates a DNS record of your choosing in Cloudflare. Ideal for dynamic DNS.
Thing updates the IP of your target record to the IP obtained from dynamicdns.park-your-domain.com/getip
every 3 minutes.
sudo ln -s ~/Repos/cloudflareDNSupdater /etc/systemd/system/com.cadnza.cloudflareDNSupdater.service.d
sudo ln -s ~/Repos/cloudflareDNSupdater/com.cadnza.cloudflareDNSupdater.service /etc/systemd/system/
sudo ln -s ~/Repos/cloudflareDNSupdater/com.cadnza.cloudflareDNSupdater.timer /etc/systemd/system/
sudo systemctl daemon-reload
Configure the service
sudo systemctl edit com.cadnza.cloudflareDNSupdater.service
to define the following variables:
Environment="AUTH_EMAIL=[Your CloudFlare email]"
Environment="AUTH_KEY=[Your global API key]"
Environment="RECORD_IDENTIFIER=[The record identifier of the record you'd like to update]"
Environment="ZONE_IDENTIFIER=[The zone identifier of that record's zones]"
sudo systemctl enable com.cadnza.cloudflareDNSupdater.timer
sudo systemctl start com.cadnza.cloudflareDNSupdater.timer