kiddin9 / Kwrt

一分钟在线定制编译 X86/64, NanoPi R2S R4S R5S R6S, 斐讯 Phicomm N1 K2P, 树莓派 Raspberry Pi, 香橙派 Orange Pi, 红米AX6, 小米AX3600, 小米AX9000, 红米AX6S 小米AX3200, 红米AC2100, 华硕ASUS, 网件NETGEAR 等主流软硬路由
https://openwrt.ai
MIT License
7.48k stars 2.99k forks source link

最新版本的ddns-scripts-aliyun 2.8.2-33无法更新动态域名 #1235

Open wolonggl opened 1 year ago

wolonggl commented 1 year ago

上一个版本的1.0.2-10工作正常,更新到2.8.2-33后,更新域名时,阿里云api接口返回值提示域名不存在,回退到旧版本恢复正常;

200004 : verbose mode : 0 - run normal, NO console output 200004 : check interval: 600 seconds 200004 : force interval: 4320 seconds 200004 : retry interval: 60 seconds 200004 : retry counter : 0 times 200004 : No old process 200004 : last update: 2023-02-22 21:32 200004 : Detect registered/public IP 200004 : #> /usr/bin/host -t A hm.wxxxx.top >/var/run/ddns/wxxxx.dat 2>/var/run/ddns/wxxxx.err 200004 : Registered IP '222.217.xxx.xxx' detected 200004 info : Starting main loop at 2023-02-23 20:00 200004 : Detect local IP on 'network' 200004 : Local IP '222.217.xxx.xx2' detected on network 'wan' 200004 : Update needed - L: '222.217.xxx.xx2' <> R: '222.217.xxx.xxx' 200004 : parsing script '/usr/lib/ddns/update_aliyun_com.sh' 200004 : Force communication via device 'pppoe-wan' 200004 : #> /usr/bin/curl -RsS -o /var/run/ddns/wxxxx.dat --stderr /var/run/ddns/wxxxx.err -d 'AccessKeyId=LTAI5t8eJwJ&Action=DescribeSubDomainRecords&DomainName=hm.wxxxx.top&Format=JSON&SignatureMethod=HMAC-SHA1&SignatureNonce=bde9a125-6893-4341-9f73-80e9cb91b86c&SignatureVersion=1.0&SubDomain=%40.hm.wxxxx.top&Timestamp=2023-02-23T12%3A00%3A04Z&Type=A&Version=2015-01-09&Signature=sDZ0zzuLnSeYBCf8%3D' --interface pppoe-wan --noproxy '*' 'https://alidns.aliyuncs.com' 200005 : DescribeSubDomainRecords answered: {"RequestId":"596F243B-D769-5187-9DDB-2916775C75E6","HostId":"alidns.aliyuncs.com","Code":"InvalidDomainName.NoExist","Message":"The specified domain name does not exist. Refresh the page and try again.","Recommend":"https://next.api.aliyun.com/troubleshoot?q=InvalidDomainName.NoExist&product=Alidns"} 200005 ERROR : IP update not accepted by DDNS Provider 200005 : Waiting 600 seconds (Check Interval) 200027 note : PID '23228' terminated by 'SIGTERM' at 2023-02-23 20:00 201549 : **** ** ** ** 201549 note : PID '4621' started at 2023-02-23 20:15 201549 : ddns version : 2.8.2-29 201549 : uci configuration:

wolonggl commented 1 year ago

下面是旧版本的提交动态更新的日志: 201701 : verbose mode : 0 - run normal, NO console output 201701 : check interval: 600 seconds 201701 : force interval: 4320 seconds 201701 : retry interval: 60 seconds 201701 : retry counter : 0 times 201701 : No old process 201701 : last update: 2023-02-23 20:16 201701 : Detect registered/public IP 201701 : #> /usr/bin/host -t A hm.wxxxx.top >/var/run/ddns/wxxxx.dat 2>/var/run/ddns/wxxxx.err 201701 : Registered IP '222.217.xxx.xxx' detected 201701 info : Starting main loop at 2023-02-23 20:17 201701 : Detect local IP on 'network' 201701 : Local IP '222.217.xxx.xx2' detected on network 'wan' 201701 : Update needed - L: '222.217.xxx.xx2' <> R: '222.217.xxx.xxx' 201701 : parsing script '/usr/lib/ddns/update_aliyun_com.sh' 201701 : #> /usr/bin/curl -qLsS -o /var/run/ddns/wxxxx.dat --stderr /var/run/ddns/wxxxx.err --noproxy '*' -X POST 'http://alidns.aliyuncs.com' -d 'Action=DescribeDomainRecords&DomainName=wxxxx.top&RRKeyWord=hm&Type=A&Format=JSON&Version=2015-01-09&AccessKeyId=LTAI5t8enfuy4S&SignatureMethod=HMAC-SHA1&Timestamp=2023-02-23T12%3A17%3A01Z&SignatureVersion=1.0&SignatureNonce=58f1c092-09f7-4870-bda8-749f354c10a8&Signature=KF8EpbobbzdMdXw%3D' 201701 : Aliyun.com

hm.wxxxx.top A 201701 info : Update successful - IP '222.217.xxx.xx2' send 201701 info : Forced update successful - IP: '222.217.xxx.xx2' send 201701 : Waiting 600 seconds (Check Interval) 201749 note : PID '8378' terminated by 'SIGTERM' at 2023-02-23 20:17

gdzjy commented 1 year ago

同样遇到。 好像是2月19号开始就不行了。 换DDNS-GO就可以了。

fiohappy commented 1 year ago

关注一下,有人找到解决方案了么?完全小白不懂代码的帮忙添加一下人气。

wolonggl commented 1 year ago

关注一下,有人找到解决方案了么?完全小白不懂代码的帮忙添加一下人气。

可以手动安装旧版本临时用一下

shimaoxin commented 1 year ago

如何手动安装旧版呀

dpy013 commented 1 year ago

腾讯云遇到了同样的问题,以下是日志: 142303 : **** ** ** ** 142303 note : PID '627' started at 2023-04-08 14:23 142303 : ddns version : 2.8.2-33 142303 : uci configuration: ddns.v6.check_unit='minutes' ddns.v6.domain='aa' ddns.v6.enabled='1' ddns.v6.force_unit='minutes' ddns.v6.interface='pppoe-wan' ddns.v6.ip_interface='pppoe-wan' ddns.v6.ip_source='interface' ddns.v6.lookup_host='' ddns.v6.password=' ddns.v6.retry_unit='seconds' ddns.v6.service_name='dnspod.cn' ddns.v6.use_ipv6='1' ddns.v6.use_syslog='2' ddns.v6.username='' ddns.v6=service 142303 : verbose mode : 0 - run normal, NO console output 142303 : check interval: 600 seconds 142303 : force interval: 4320 seconds 142303 : retry interval: 60 seconds 142303 : retry counter : 0 times 142303 : 'SIGTERM' was send to old process 142303 note : PID '30208' terminated by 'SIGTERM' at 2023-04-08 14:23 142303 : last update: never 142303 : Detect registered/public IP 142303 : #> /usr/bin/host -t AAAA >/var/run/ddns/v6.dat 2>/var/run/ddns/v6.err 142303 WARN : NO valid IP found 142303 WARN : Error in 'expand_ipv6()' - invalid IPv6 found: '' expanded: '' 142303 info : Starting main loop at 2023-04-08 14:23 142303 : Detect local IP on 'interface' 142303 : #> ip -o addr show dev pppoe-wan scope global >/var/run/ddns/v6.dat 2>/var/run/ddns/v6.err 142303 : Local IP '240e:xxx:xxxxx:xxx:zzz:asss:aaaa:5888a' detected on interface 'pppoe-wan' 142303 : Update needed - L: '240e:5ae0:9963:999f:9989:889a:1dcc:991c' <> R: 'invalid' 142303 : parsing script '/usr/lib/ddns/update_dnspod_cn.sh' 142304 : #> /usr/bin/curl -RsS -o /var/run/ddns/v6.dat --stderr /var/run/ddns/v6.err -H 'Authorization: TC3-HMAC-SHA256 Credential=993996/2023-04-08/dnspod/tc3_request, SignedHeaders=content-type;host, Signature=' -H 'Content-Type: application/json' -H 'Host: dnspod.tencentcloudapi.com' -H 'X-TC-Action: DescribeRecordList' -H 'X-TC-Version: 2021-03-23' -H 'X-TC-Timestamp: ' -d '{"Domain": "aa", "Subdomain": "@", "RecordType": "AAAA"}' --noproxy '*' 'https://dnspod.tencentcloudapi.com' 142304 : DescribeRecordList answered: {"Response":{"Error":{"Code":"AuthFailure.SecretIdNotFound","Message":"The SecretId is not found, please ensure that your SecretId is correct."},"RequestId":""}} 142304 ERROR : IP update not accepted by DDNS Provider 142304 : Waiting 600 seconds (Check Interval) @kiddin9

snowson-wang commented 1 year ago

关注一下,有人找到解决方案了么?完全小白不懂代码的帮忙添加一下人气。

可以手动安装旧版本临时用一下

问题没有找到合适的旧版本。。。。

wolonggl commented 1 year ago

可以在 https://op.supes.top/packages/x86_64/old/ 下载旧版本 ddns-scripts-aliyun_1.0.3-12_all.ipk 这个版本可用

dpy013 commented 1 year ago

可以在 https://op.supes.top/packages/x86_64/old/ 下载旧版本 ddns-scripts-aliyun_1.0.3-12_all.ipk 这个版本可用

已经用ddns-go替换了ddns-scripts-aliyun了。

wuliang365702 commented 1 year ago

刚开始我也报相同的错误,后来发现,域名的填写有变化,主机记录@主域名,例如:www@example.com

dpy013 commented 1 year ago

刚开始我也报相同的错误,后来发现,域名的填写有变化,主机记录@主域名,例如:www@example.com 去试试