Codigo Logo

Updating a domain IP with Dnsimple when you have a Dinamyc IP

I'm using Dnsimple because they have an API that works very well.

I made a Shell Script with requests to the API using "curl". But I decided to make one in Node.js.

I could have used the library request to use with the API but I found this module https://github.com/fvdm/nodejs-dnsimple and it0s fine.

Clone this repository.

git clone https://github.com/monchopena/dnsimple-sample
cd dnsimple-sample
npm install

Then copy config.sample.js

cp config.sample.js config.js

And change test data for you Dnsimple domain, register, ...

This program is funny because include a Cron.

Next step could be work with forever.

Updating a domain IP with Dnsimple when you have a Dinamyc IP