DIY Dynamic DNS with Netlify API and Bash
11–17 of 17 posts
Re: DIY Dynamic DNS with Netlify API and Bash
#12Author of one of the tools you tried here. Would love to know what issues you had with it since this basically sounds like how I've been using my tool as well (just run through a cron job). Is it just the fact you need to install using cargo? Or, did you encounter some bugs?
Hi! I've been trying to stick with apt for installing stuff on my Pi to make software updates easier, so yeah, installing via Cargo was something I was leaning away from. No bugs to report. Thanks for sharing your tool!
Re: DIY Dynamic DNS with Netlify API and Bash
#13If one doesn't need or have a full blown server available, a cheap cloud server like the ones Hetzner offers for less than 3€/month should do.
Re: DIY Dynamic DNS with Netlify API and Bash
#14This can be done with the Cloudflare free plan easily, so long as you use Cloudflare as your DNS. You just make an authenticated API request to make the DNS update, and there are off the shelf tools to automate this in the background if you don’t want to roll your own.
Re: DIY Dynamic DNS with Netlify API and Bash
#15Re: DIY Dynamic DNS with Netlify API and Bash
#16I did something really similar to this! It's a tiny bash script and systemd-timer (like a cron job): https://github.com/lytedev/netlify-ddns
It's very similar to yours, so I recommend you check it out!
Re: DIY Dynamic DNS with Netlify API and Bash
#17I wrote an AWS Lambda for this. It’s been running for nearly two years now and I’ve never broken through the free tier.
I am running the Bash script from the linked blog post on my local Raspberry Pi. Is your Lambda for pointing back to your home network? If so, that is awesome that you can do that using a remote service. If you don't mind sharing, how does it work?
It seems the format of DynDNS HTTP posts is baked into a lot of products but obviously not every provider supports it