Skip to content

TheSilverBulet/go-dns-update

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-dns-update

GPLv3 License

Automatic DNS record updater for Cloudflare written in Go.

Run Locally

Clone the project

  git clone https://github.com/TheSilverBulet/go-dns-update.git

Go to the project directory

  cd go-dns-update

Build binary

  go build main.go

Run program

  ./main -flag1=a -flag2=b

Program help

  ./main -h

Using this program with cron (Linux)

Install something like the following to your crontab

  */5 * * * * /path/to/binary -flag1=a -flag2=b

This will run the program every 5 minutes

FAQ

Why?

I wanted to challenge myself to build something others and I could find useful in Go.

Why not DDClient?

DDClient works great and does exactly what it was meant to while also being a mature project. This program attempts to solve a similar problem that DDClient solves, except only for a specific case (Cloudflare), and this program doesn't include any cron or timing element so it needs to be setup separately.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages