Dynamic DNS updater script for your subdomain on DO

Visit site

DigitalOcean dynamic DNS updater script for subdomains using only bash, curl and jq, DO-API

This mini script is a dynamic DNS updater script specific for subdomain usage on already set up subdomains for domains hosted on Digitalocean.

Uses bash, curl and jq to interact with the API and update the subdomains ip. Only 3 variables need to be declared and it’s ready to go. Other than that it needs a crontab entry so it updates the IP. Everything is explained in the gist.

Was this helpful?
Leave a comment

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Publish your Tool on Community

Have you created an Integration, API Wrapper, Service, or other Tool that helps developers build on DigitalOcean? Help users find it by listing it in Community Tools.

Featured on Community

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel