Quantcast
Channel: EdgeRouter topics
Viewing all articles
Browse latest Browse all 20028

DNS Updater for Digital Ocean in golang (Difficulty: hard)

$
0
0

Hi all,

 

I recently joined the Ubnt community with an ERLite-3. I wanted to be able to update my DNS with dynamic-dns like capability without using a standard provider. Since I already use digital ocean for hosting various things, I decided I'd write a tool that lets me update a record in my Digital Ocean DNS from the command line.

 

In short, you can cron this tool to make your DO DNS like dynamic DNS.

 

The reason the difficulty is hard, is because it's written in golang, so you'll need to either get a recent version of golang on your router/machine to use this, or compile it with golang for your router. Of course it doesn't need to be run from your router, you could run it from any device that has internet access on your LAN.

 

https://github.com/2bytes/dodns

 

I have created a qemu virtual machine with mips64 architecture and debian which I compile golang on to run on my ERLite-3, if there is interest, I can provide scripts to help build your own once I've tidied them up.


Viewing all articles
Browse latest Browse all 20028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>