Configure Dynamic DNS service with dynu.com as provider

Status
Not open for further replies.

Lucas Rey

Contributor
Joined
Jul 25, 2011
Messages
180
Hello community,
I'm a paid member of dynu.com. They provide a lot of service and I'm interested on their DDNS on FreeNAS.

On service configuration there is no dynu provider (I tried to configure no-ip and it works perfect). Anyone with dynu subscription who configure it on FreeNAS?

Thank you
Lucas
 

Lucas Rey

Contributor
Joined
Jul 25, 2011
Messages
180
Well, until I find a way via GUI, I just used the API from dynu site.
I created a script in crontab like:

Code:
#!/usr/local/bin/bash
curl "http://api.dynu.com/nic/update?hostname=myhost.dynu.net&password=APICREDENTIALS"


We have to generate API credentials here:
https://www.dynu.com/ControlPanel/APICredentials

It works perfect!
 

radez

Cadet
Joined
Oct 17, 2017
Messages
1
Does this still work for you? I noticed that there is references to OAuth in the API docs now?
 

Lucas Rey

Contributor
Joined
Jul 25, 2011
Messages
180
Sure, still works.
Encode your Dynu password here (MD5): https://www.dynu.com/NetworkTools/MD5
Then you can login as root and try on console:
Code:
curl "http://api.dynu.com/nic/update?hostname=myhost.dynu.net&password=ENCODEDPASSWORD"

Just change the hostname with the one you choose in Dynu and the encoded MD5 password.
 

slimknot

Dabbler
Joined
Dec 19, 2015
Messages
11
Thank you!

This helped out a lot.
 

jgilbert

Cadet
Joined
Apr 18, 2018
Messages
1
Well, until I find a way via GUI, I just used the API from dynu site.
I created a script in crontab like:

Code:
#!/usr/local/bin/bash
curl "http://api.dynu.com/nic/update?hostname=myhost.dynu.net&password=APICREDENTIALS"


We have to generate API credentials here:
https://www.dynu.com/ControlPanel/APICredentials

It works perfect!
Just want to correct you that the password is not the API credentials. It is your Dynu account password or IP update password. Like you said in the post below, the password could be MD5 hash or SHA256 encoded.
 
Status
Not open for further replies.
Top