#18382: ddns-scripts not working, the #21th
------------------------------+------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: closed
Priority: normal | Milestone:
Component: packages | Version: Trunk
Resolution: moved_to_github | Keywords:
------------------------------+------------------------
Comment (by anonymous):
Another bug (Can not update IP at DDNS Provider, not true at all, result
was OK), after I switched to http://duckdns.org/:
{{{
015953 : verbose mode : 0 - run normal, NO console output
015953 : check interval: 900 seconds
015953 : force interval: 86400 seconds
015953 : retry interval: 60 seconds
015953 : retry counter : 555555 times
015953 : No old process
015953 : last update: 2014-11-22 01:26
015953 : Waiting 10 seconds for interfaces to fully come up
020003 : Detect registered/public IP
020003 : #> /usr/bin/nslookup kdsad.duckdns.org
>/tmp/ddns_15138.dat 2>/tmp/ddns_15138.err
020004 : Registered IP '5asd245' detected
020004 info : Starting main loop at 2014-11-22 02:00
020004 : Detect local IP
020004 : #> /usr/bin/wget -nv -t 1 -O /tmp/ddns_15138.dat -o
/tmp/ddns_15138.err --ca-certificate=/etc/ssl/certs/cacert.pem --no-proxy
http://checkip.dyndns.com/
020005 : Local IP '93.asd6' detected on web at ''
020005 : Update needed - L: '93.22asd.216' <> R: '5.sad245'
020005 : #> /usr/bin/wget -nv -t 1 -O /tmp/ddns_15138.dat -o
/tmp/ddns_15138.err --ca-certificate=/etc/ssl/certs/cacert.pem --no-proxy
https://www.duckdns.org/update?domains=kue&token=885esdfdsfa633b&ip=93...16
020031 : DDNS Provider answered:
OK
020031 ERROR : Can not update IP at DDNS Provider
020031 : Waiting 900 seconds (Check Interval)
}}}
The update is ok but your script results in error...
1. remove the tmp/err file spamming
2. add option for retry_count=0 => infinite retry !!! <-- MOST IMPORTANT
3. fix bugs
4. dont add more bugs
--
Ticket URL: <https://dev.openwrt.org/ticket/18382#comment:12>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets