# DNSimple zone record update script

**URL:** <https://forum.openwrt.org/t/dnsimple-zone-record-update-script/7217>\
**Category:** Community Builds, Projects & Packages\
**Created:** [October 8, 2017, 3:18am UTC](https://forum.openwrt.org/t/dnsimple-zone-record-update-script/7217 "2017-10-08T03:18:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mstancombe](https://forum.openwrt.org/user_avatar/forum.openwrt.org/mstancombe/32/1810_2.png) [@mstancombe](https://forum.openwrt.org/u/mstancombe)\
**Post date:** [October 8, 2017, 3:18am UTC](https://forum.openwrt.org/t/dnsimple-zone-record-update-script/7217/1 "2017-10-08T03:18:42Z")

</div>

Hey All,

Have just spent some time creating a script to update a DNSimple hosted zone record, and thought I'd share, if anyone else is hosting with DNSimple and wants DynDNS like functionality 🙂

> <https://gist.github.com/mstancombe/3ec941e9c055b76a3e3c3e8016fb363b>

More than happy for any feedback or criticism, it's the first linux shell script I've written, tho hopefully not the last 🙂

Now onto the next challenge of setting up a cron task to run this every 5 minutes.. (yes, my linux skills are that bad..)

Cheers -Mike

---

<div class="post-metadata">

**Author:** ![mkresin](https://forum.openwrt.org/letter_avatar/mkresin/32/6_449c533f586939b6e5f246632a46421f.png) [@mkresin](https://forum.openwrt.org/u/mkresin)\
**Post date:** [October 8, 2017, 7:09am UTC](https://forum.openwrt.org/t/dnsimple-zone-record-update-script/7217/2 "2017-10-08T07:09:02Z")

</div>

You are aware of the [ddns-scripts](https://github.com/openwrt/packages/tree/master/net/ddns-scripts) and the [corresponding luci app/frontend](https://github.com/openwrt/luci/tree/master/applications/luci-app-ddns)?

It should already do what you are looking for. Might be that support for DNSimple need to be added.

---

<div class="post-metadata">

**Author:** ![mstancombe](https://forum.openwrt.org/user_avatar/forum.openwrt.org/mstancombe/32/1810_2.png) [@mstancombe](https://forum.openwrt.org/u/mstancombe)\
**Post date:** [October 8, 2017, 8:38am UTC](https://forum.openwrt.org/t/dnsimple-zone-record-update-script/7217/3 "2017-10-08T08:38:10Z")

</div>

I did look briefly at it, but it didn't support dnsimple, and as dnsimple isn't dyndns but web API calls, i moved on.

Have had a closer look, and I think I can probably merge the dnsimple script into that set of scripts in the same way that GoDaddy and CloudFlare are being supported, thanks for the tip!
