Skip to content

A simple golang script to update DNS record in Cloudflare dns when the server ip address changes

Notifications You must be signed in to change notification settings

lemorian/cloudflare_ddns_golang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The code is set to run every 5 mins, check if the ip has changed, if so, it will update the DNS record in Cloudflare server.

Input the following details in config.json

{ "authEmail": "", "authKey": "", "zoneIdentifier": "", "recordName": "", "proxy": true }

You can find more details on generating AuthKey here. https://api.cloudflare.com/#getting-started-endpoints

About

A simple golang script to update DNS record in Cloudflare dns when the server ip address changes

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages