Community Forum - Create Topic  Community Forum - Create Topic

Author Topic: DDNS on openwrt

freetnkhd freetnkhd

Joined: 5/31/2015

Post DDNS on openwrt
Friday, July 17, 2015 1:50:26 PM

Hi All,
Does any one have success of setting up Dynu ddns on Openwrt router.
If answer is yes could you point me how to do this.
Thanks freetnk

Jerry Enter

Joined: 1/21/2016

Post Re: DDNS on openwrt
Sunday, January 31, 2016 11:47:21 AM

At first, sorry for my English but I try to answer...
First, add your domain in Dynamic DNS Services menu in dynu.com portal.
The next step is to add service DDNS in your OpenWRT router system. I use OpenWRT with LuCI. In GUI, in Services/Dynamic DNS, I added new service named eg "dynu". In Basic Settings tab, in field named "DDNS Service Provider" you must choose "own" or "other" and in field "Custom address update" enter link "http://api.dynu.com/nic/update?username=[USERNAME]&password=[PASSWORD]". In field "Hostname/Domain" enter your domain name which you entered in dynu.com portal. Of course, fields username and password should be entered.
In Advanced settings tab, I set 1) IP address source=URL 2) URL to detect=http://checkip.dynu.com 3) Enter network=WAN. Other fields are optional.
With this configuration my router check and update IP address.
This configuration you can see in file /etc/config/ddns
This is a part of that file:
config service 'dynu'
option domain 'yourdomain.dynu.com'
option username 'your_name_in_dynu.com'
option interface 'wan'
option use_syslog '2'
option use_logfile '1'
option ip_source 'web'
option ip_url 'http://checkip.dynu.com'
option update_url 'http://api.dynu.com/nic/update?username=[USERNAME]&password=[PASSW
ORD]'
option password 'your_password_in_dynu.com'
option enabled '1'

Misu DF

Joined: 10/14/2015

Post Re: Re: DDNS on openwrt
Saturday, April 23, 2016 8:56:21 PM

je23 wrote:At first, sorry for my English but I try to answer...
First, add your domain in Dynamic DNS Services menu in dynu.com portal.
The next step is to add service DDNS in your OpenWRT router system. I use OpenWRT with LuCI. In GUI, in Services/Dynamic DNS, I added new service named eg "dynu". In Basic Settings tab, in field named "DDNS Service Provider" you must choose "own" or "other" and in field "Custom address update" enter link "http://api.dynu.com/nic/update?username=[USERNAME]&password=[PASSWORD]". In field "Hostname/Domain" enter your domain name which you entered in dynu.com portal. Of course, fields username and password should be entered.
In Advanced settings tab, I set 1) IP address source=URL 2) URL to detect=http://checkip.dynu.com 3) Enter network=WAN. Other fields are optional.
With this configuration my router check and update IP address.
This configuration you can see in file /etc/config/ddns
This is a part of that file:
config service 'dynu'
option domain 'yourdomain.dynu.com'
option username 'your_name_in_dynu.com'
option interface 'wan'
option use_syslog '2'
option use_logfile '1'
option ip_source 'web'
option ip_url 'http://checkip.dynu.com'
option update_url 'http://api.dynu.com/nic/update?username=[USERNAME]&password=[PASSW
ORD]'
option password 'your_password_in_dynu.com'
option enabled '1'




I just changed the UPDATE URL for just one domain:
http://api.dynu.com/nic/update?hostname=mmmmxxx.com&password=PASSWORD

It worked. Thank you.


It is currently Friday, December 09, 2016 9:53 PM Mountain Standard Time