kkkgo / dnspod-ddns-with-bashshell

The Dnspod DDNS with BashShell
272 stars 94 forks source link

请问一下,脚本里面填写的邮箱地址是每次有ip更新都会发到这个邮箱吗? #2

Closed SHEN-Cheng closed 5 years ago

SHEN-Cheng commented 5 years ago

如图,请教一下

SHEN-Cheng commented 5 years ago

image 下面会出现这个错误,不知道怎么弄

kkkgo commented 5 years ago

邮箱仅作为api文档的要求提交到api; 你这个错误看起来是api调用失败,你把第33行

Record="$(curl $(if [ -n "$OUT" ]; then echo "--interface $OUT"; fi) -s -X POST https://dnsapi.cn/Record.List -d "${token}")"

改成 curl -s -X POST https://dnsapi.cn/Record.List -d "${token}" 然后运行看看有什么输出?