NewFuture / DDNS

:triangular_flag_on_post: 自动更新域名解析到本机IP(支持dnspod,阿里DNS,CloudFlare,华为云,DNSCOM...)
https://ddns.newfuture.cc/
MIT License
4.23k stars 650 forks source link

[debug]在openwrt/lede下运行出错 #244

Closed zxbiao closed 3 years ago

zxbiao commented 3 years ago

Describe the bug [描述]

在在openwrt/lede下运行出错

To Reproduce [复现]

version info [基本信息]

config file [配置文件]

{
{
  "$schema": "https://ddns.newfuture.cc/schema/v2.8.json",
  "debug": true,
  "dns": "cloudflare",
  "id": "",
  "index4": "public",
  "index6": "public",
  "ipv4": [
    "ddns.*****.info",
    "ipv4.ddns.*****.info"
  ],
  "ipv6": [
    "ddns.*****.info",
    "ipv6.ddns.*****.info"
  ],
  "proxy": null,
  "token": "*************************",
  "ttl": 600
}
}

debug output [调试输出]

root@NETGEAR_WNDR4300V2:/home/# ./ddns
./ddns: line 1: --2021-04-05: not found
./ddns: line 2: Resolving: not found
./ddns: ./ddns: line 3: :443...: not found
./ddns: line 3: 13.250.177.223: not found
line 3: Connecting: not found
./ddns: line 4: HTTP: not found
./ddns: ./ddns: line 5: X-Amz-Date=20210405T125801Z: not found
./ddns: line 5: X-Amz-Expires=300: not found
./ddns: line 5: X-Amz-Signature=77aab70d6791e4490a84a29d04fac0ba3d2288c4c74fccb8                                                                                                                                                             e640cce2783c5183: not found
./ddns: line 5: X-Amz-SignedHeaders=host: not found
./ddns: line 5: X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210405%2Fus-east-1%2Fs                                                                                                                                                             3%2Faws4_request: not found
./ddns: ./ddns: line 5: Location:: not found
line 5: response-content-type=application%2Foctet-stream: not found
line 5: response-content-disposition=attachment%3B%20filename%3Dddns: not found
./ddns: ./ddns: ./ddns: ./ddns: line 6: --2021-04-05: not found
line 6: X-Amz-Date=20210405T125801Z: not found
./ddns: line 6: X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210405%2Fus-east-1%2Fs                                                                                                                                                             3%2Faws4_request: not found
line 6: X-Amz-Expires=300: not found
./ddns: line 6: X-Amz-Signature=77aab70d6791e4490a84a29d04fac0ba3d2288c4c74fccb8                                                                                                                                                             e640cce2783c5183: not found
./ddns: line 6: line 6: response-content-disposition=attachment%3B%20filename%3D                                                                                                                                                             ddns: not foundresponse-content-type=application%2Foctet-stream: not found

./ddns: ./ddns: line 7: Resolving: not found
line 6: X-Amz-SignedHeaders=host: not found
./ddns: ./ddns: ./ddns: line 8: :443...: not found
line 8: 185.199.109.154: not found
line 8: Connecting: not found
./ddns: line 9: HTTP: not found
./ddns: line 10: syntax error: unexpected "("

Additional context