This little project offer tools to help people who want to set a DNS dynamically. For example, for people who are self-hosting their stuff at home.
- Build the go program :
go build -o dyndns-scaleway ./cmd
, or take it from Release page. - Start the program with
domain
andkey
parameter.- Example :
./dyndns-scaleway -domain "my.domain.that.i.want" -key "OnlineToken"
. - You can use
SCALEWAY_DYNDNS_DOMAIN
andSCALEWAY_API_KEY
environment variables to replace command-line arguments. - You can specify multiple domains, BUT they must belong to the same user (because you can define only one API key). Simply separate each domain by a semicolon.
- Example :
SCALEWAY_DYNDNS_DOMAIN="my_subdomain.artheriom.fr;my_other_subdomain.artheriom.fr" ./dyndns-scaleway
- Example :
- Example :
- Use a crontab to call automatically the program on a regular basis
Script submitted under the Do What The Fuck You Want to the Public Licence. Do what you want with it, it was just a short development for a friend. It comes with absolutely NO WARRANTY.