OpenWrt Forum Archive

Topic: dynamic DNS not working!

The content of this topic has been archived on 1 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I have an pppoe internet conection and my freedns and dyndns accounts not get ip update when this is change.

My setup :

Service: dyndns.org
Hostname: example.homelinux.com
Source of IP-Address: Network
Network: wan
Check for changed IP every:1 min

Any sugestions....

(Last edited by dexter1983 on 4 Jan 2010, 16:09)

Might help to list what DDNS package you're using.
I've been using ez-ipupdate for years and have yet to encounter a problem.

Settings reside in /etc/config/ddns

Are you using OpenWrt's ddns-scripts package?

I am using luci-ddns. I try to update my acount from dyndns and zoneedit, even afraik,freedns.com

i had some trouble with freedns.afraid.org, too
this solved it:
in the file /usr/lib/ddns/dynamic_dns_updater.sh search the follwing lines and comment them:

final_url=$(echo $final_url | sed s/"\[IP\]"/"$current_ip"/g )

final_url=$(echo $final_url | sed s/"$replace_name"/"$replace_value"/g )

#here the whole block
if [ "$next_name" = "$service_name" ]
then
    update_url=$next_url
fi

in /etc/config/ddns or in the luci-ddns-interface (package luci-app-ddns) set the custom update url. the url can be obtained here: http://freedns.afraid.org/dynamic/
the direct url is the custom url we're looking for.

moritzm wrote:

.........the luci-ddns-interface (package luci-app-ddns) set the custom update url. the url can be obtained here: http://freedns.afraid.org/dynamic/
the direct url is the custom url we're looking for.

Thanq you moritzm for your suport , I put custom url on the hostname and the ip it is updating.

I can't manage to get working my ralink wifi card 2561 on openwrt, but this is another story

The discussion might have continued from here.