用的好好的阿里云DDNS怎么就挂了呢?

1,384次阅读
没有评论

May 25 02:41:51 inadyn[2763]: FORCED_UPDATE command received, updating now.
May 25 02:41:51 inadyn[2763]: Checking for IP# change, connecting to ddns.oray.com (114.215.199.192:80)
May 25 02:41:51 inadyn[2763]: No IP# change detected, still at 101.1.1.1
May 25 02:41:51 inadyn[2763]: Update forced for alias myhome.example.com, new IP# 101.2.2.2
May 25 02:41:51 inadyn[2763]: Sending IP# update to DDNS server, connecting to alidns.aliyuncs.com (47.92.21.4:443)
May 25 02:41:51 inadyn[2763]: SSL connection using AES256-SHA
May 25 02:41:51 inadyn[2763]: aliddns plugin by: HuangYeWudeng , website: http://80x86.io/
May 25 02:41:52 [aliddns]: added record 
May 25 02:41:52 [aliddns]: failed to get aliddns_record_id.
May 25 02:41:52 inadyn[2763]: aliddns: ddns_params_builder_err: failed to get params ... , fail result: [err]
May 25 02:41:52 inadyn[2763]: Fatal error in DDNS server response:
May 25 02:41:52 inadyn[2763]: [400 Bad Request] <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">^M <html>^M <head><title>400 Bad Request</title></head>^M <body>^M <center><h1>400 Bad Request</h1></center>^M  Sorry for the inconvenience.<br/>^M Please report this message and include the following information to us.<br/>^M Thank you very much!</p>^M <table>^M <tr>^M <td>URL:</td>^M <td>https://server_name:28443</td>^M </tr>^M <tr>^M <td>Server:</td>^M <td>pop-aliyun-com-region-cn-zhangjiakou-010245174174.na62</td>^M <
May 25 02:41:52 inadyn[2763]: Will retry again after 10 min...

  • QueryCommonInfo

10年前的路由器插件了,没空Debug了,先在服务器起个DDNS Docker。

另外款star比较多的:https://github.com/jeessy2/ddns-go

2026年06年19日由于停电后导致无法接入家里网络问题排查

  1. ping DDNS 域名得到的地址为1.1.1.1
  2. 让家里人访问IP查询网站把得到的IP反馈给我,得到的IP是1.1.1.2
  3. 可以断定是因为前天断电重启导致IP变更,而DDNS没有更新最新的IP导致的
  4. 那么为什么DDNS没有更新到最新的的呢?并且我是在两台主机上都部署了DDNS服务的
  5. 原因是正常设置TTL正常的那台主机没有来电启动功能,而有来电启动的那台主机配置TTL错误,导致新的IP一直没有更新上
[06/19/2026 17:58:53]成功获取myhome.****.tech的所有记录,共1条。
[06/19/2026 17:58:53]更新A记录myhome.****.tech(default)时出现异常:Aliyun.Acs.Core.Exceptions.ClientException: QuotaExceeded.TTL : The specified TTL is invalid. A valid TTL must be in the range of 600 to 86400. + [ RequestId : 532690F2-E765-5147-B434-F505FA8C8060 ]
at Aliyun.Acs.Core.DefaultAcsClient.ParseAcsResponse[T](AcsRequest`1 request, HttpResponse httpResponse)
at aliyun_ddns.DomainUpdater.UpdateRecord(DescribeSubDomainRecords_Record rd, String ip)。

最小是600,但是设置了60,导致无法动态更新DNS记录

使用新的Docker命令重新启动服务:


docker run -d --restart=always --net=host \
    -e "AKID=[ALIYUN's AccessKey-ID]" \
    -e "AKSCT=[ALIYUN's AccessKey-Secret]" \
    -e "DOMAIN=ddns.aliyun.win" \
    -e "REDO=30" \
    -e "TTL=600" \
    -e "TIMEZONE=8.0" \
    -e "TYPE=A,AAAA" \
    sanjusss/aliyun-ddns

正文完
 0
wujingquan
版权声明:本站原创文章,由 wujingquan 于2025-07-21发表,共计2429字。
转载说明:Unless otherwise specified, all articles are published by cc-4.0 protocol. Please indicate the source of reprint.
评论(没有评论)

WUJINGQUAN