I have two routers,one is a brand-- G-DOCK v2 on which producer build openwrt , another is customized on my old pc with openwrt.
The ddns service on G-DOCK v2 is in good status, ddns service on my own customized openwrt can't work.
I have set the same ddns config file according to G-DOCK v2's.
cat /etc/config/ddns
config ddns 'global'
option ddns_dateformat '%F %R'
option ddns_loglines '250'
option upd_privateip '0'
config service 'myddns_ipv4'
option interface 'wan'
option ip_network 'wan'
option service_name 'no-ip.com'
option lookup_host 'mydomain.com'
option domain 'mydomain.com'
option username 'xxxx@gmail.com'
option password 'yyyy'
option ip_source 'web'
option ip_url 'http://[USERNAME]:[PASSWORD]@dynupdate.no-ip.com/nic/update?hostname=[DOMAIN]&myip=[IP]'
option force_unit 'minutes'
option check_interval '5'
option force_interval '5'
option bind_network 'lan'
option use_https '1'
option cacert '/etc/ssl/certs'
option enabled '1'
Log file on my customized openwrt:
051911 info : Starting main loop at 2021-06-04 05:19
051911 : Detect local IP on 'web'
051911 : Force communication via device 'br-lan'
051911 : #> /usr/bin/curl -RsS -o /var/run/ddns/myddns_ipv4.dat --stderr /var/run/ddns/myddns_ipv4.err --interface br-lan --noproxy '*' 'http://[USERNAME]:[PASSWORD]@dynupdate.no-ip.com/nic/update?hostname=[DOMAIN]&myip=[IP]'
051914 ERROR : cURL Error: '7'
051914 : curl: (7) Failed to connect to dynupdate.no-ip.com port 80: Host is unreachable
051914 WARN : Transfer failed - retry 1/0 in 60 seconds
Log file on G-DOCK v2:
132511 : Detect local IP on 'network'
132512 : Local IP 'xx.xx.xx.xx' detected on network 'wan'
132512 : Update needed - L: 'xx.xx.xx.xx' <> R: 'yy.yy.yy.yy'
132513 : #> /usr/bin/wget-ssl -nv -t 1 -O /var/run/ddns/myddns_ipv4.dat -o /var/run/ddns/myddns_ipv4.err --no-proxy 'https://xxxx%40gmail.com:***PW***@dynupdate.no-ip.com/nic/update?hostname=itwork.hopto.org&myip=xx.xx.xx.xx'
132517 : DDNS Provider answered:
good xx.xx.xx.xx
132517 info : Update successful - IP 'xx.xx.xx.xx' send
132518 info : Forced update successful - IP: 'xx.xx.xx.xx' send
132518 : Waiting 300 seconds (Check Interval)
1.How can set /usr/bin/wget-ssl work for my customized openwrt?
2.Why username and password can't pass into the url for my customized openwrt?