Setting up a DDNS script to update a DNS entry at Digital Ocean.

Categories: Technology
Comments: No Comments
Published on: May 20, 2021

Well I have a VPN end point into my home network. But the issue has been the changing IP address you get with home networks, and Verizon charges to much for a static IP (I don’t want to go to a business account) So I found this site that has a script for doing it. Then using this site I setup the following cron job on my Unifi router

0 */12 * * * /config/scripts/post-config.d/create-ddns

So now the script from the first site runs every 12 hours, at midnight and noon. So now when I connect I have a static host name to use that is updated every 12 hours with what ever my IP address is. Makes connecting my cell phone to my home network easy (using OpenVPN) plus I get all the anti-tracking and anti-ads that my Pi-hole has.

Leave a Reply

Your email address will not be published. Required fields are marked *


Welcome , today is Saturday, June 19, 2021