Auto-update DNS records on IP change

I made a Python script that automatically updates my website’s DNS records whenever my dynamic IP changes (I’m unable to purchase a static IP) so I put a modified version of the script I use for my server on Github!

It can send you an email when it updates the records, and also log the changes to a file.

I hope this helps anyone who had the same issue as I used to! Let me know if you experience any issues with it.

5 Likes

Awesome, thanks!

2 Likes

Looks good, although you might want to add error handling for the API its self, maybe i’ll make a PR when i’m home :smiley:

1 Like

Great one! Will try it out :wink:

1 Like

feel free too! happy to accept any improvements!

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.