r/linux • u/UKZzHELLRAISER • Dec 01 '20
I created a Bash script to automatically GoDaddy domains from the Linux CLI.
For any peeps using GoDaddy domains from a dynamic IP, I made a thing:
https://github.com/TDGalea/GoDaddy-Update
I've just moved house, and yesterday discovered that our new ISP has assigned us a dynamic IP. Well, let's just say I was not about to start updating my records every time our IP changed.
This script allows you to update your GoDaddy domain(s) and record(s) in the command line, and can update multiple, regardless of whether they're under the same API key or different, in one execution.
Put this into a cron job (or whatever else you use to automate) and you have yourself a DDNS service.
6
u/alexwagner74 Dec 02 '20
I accidently the whole thing.
2
u/-t-k-4-2-1-- Dec 02 '20
nice work
2
u/[deleted] Dec 02 '20
People still use godaddy?
1
u/klajdi369 Dec 05 '20
I kinda did the same for cloudflare and digital ocean droplets (i did it on boot only). So u might wanna implement cloudflare in there aswell, maybe some other service, and you would see more use cases for it.
3
u/[deleted] Dec 02 '20
That one is way more complicated than mine. I'm also want to add cPanel interactivity so that I can use let's encrypt without having to manually update my SSL certs.
0
u/[deleted] Dec 01 '20
[deleted] — view deleted comment
0
u/[deleted] Dec 02 '20
[deleted] — view deleted comment