kkkgo / dnspod-ddns-with-bashshell

The Dnspod DDNS with BashShell
272 stars 94 forks source link

Get myDomain error : #7

Closed 1368129224 closed 5 years ago

1368129224 commented 5 years ago

image 按照issue2的方法更改之后还是提示:Get myDomain error : 希望仔细指导一下,谢谢!

kkkgo commented 5 years ago

终端运行 curl -s -X POST https://dnsapi.cn/Record.List 看看有什么输出

1368129224 commented 5 years ago

终端运行 curl -s -X POST https://dnsapi.cn/Record.List 看看有什么输出

image

kkkgo commented 5 years ago

再尝试wget -S https://dnsapi.cn/Record.List

1368129224 commented 5 years ago

再尝试wget -S https://dnsapi.cn/Record.List

执行wget -S --no-check-certificate https://dnsapi.cn/Record.List后保存了Record.List,内容如下:

<?xml version="1.0" encoding="UTF-8"?>
<dnspod>
<status>
<code>2</code>
<message>POST method accepted only</message>
<created_at>2019-01-23 19:11:52</created_at>
</status>
</dnspod>
kkkgo commented 5 years ago

再尝试执行curl https://baidu.com

1368129224 commented 5 years ago

再尝试执行curl https://baidu.com

image 路由器是K2P,固件是Powered by LuCI Master (git-18.346.39597-d1ebd59) / PandoraBox R8.1.12 By Lean,请问是不是固件的问题?

kkkgo commented 5 years ago

opkg update opkg install ca-bundle ca-certificates

1368129224 commented 5 years ago

opkg update opkg install ca-bundle ca-certificates

很难受,rom空间不足了,尝试卸载包报错:

Collected errors:
 * opkg_conf_write_status_files: Can't open status file //usr/lib/opkg/status: No space left on device.

我先自己研究一下,谢谢!

kkkgo commented 5 years ago

尝试新版本。https://github.com/kkkgo/dnspod-ddns-with-bashshell/commit/b1c36bae78ebca0c263da37cfc847605493f24eb

kkkgo commented 5 years ago

更新了脚本,如果有问题再回复,谢谢