Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

key和keysecret正确的前提总提示错误 #35

Open
wolfcdd opened this issue Jul 21, 2021 · 3 comments
Open

key和keysecret正确的前提总提示错误 #35

wolfcdd opened this issue Jul 21, 2021 · 3 comments

Comments

@wolfcdd
Copy link

wolfcdd commented Jul 21, 2021

ERROR:Failed to obtain aliyun domain name Record, Check whether your domain name has passed the audit,
ERROR:aliddns_AccessKeyId and aliddns_AccessKeySecret are correct and valid.
ERROR:获取阿里云域名记录失败, 检查您的域名是否通过审核,
ERROR:aliddns-accesskeyid和aliddns-accesskeysecret是否正确有效。

另外,如果我手动在阿里云添加一条域名解析,是可以读取到一条A记录的。

@yefeixiang
Copy link

我的也是,怪了

@yefeixiang
Copy link

{"TotalCount":0,"RequestId":"XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX","PageSize":20,"DomainRecords":{"Record":
[]},"PageNumber":1} 这是脚本api 返回的数据,没有域名记录,真是奇怪了,明明有域名怎么返回没有呢

@yefeixiang
Copy link

虽然我不会shell,但是我还是解决了这个问题。
图片
把框框里上面一行改成了下面一行,才获取到aliyunApi的返回结果。

需要注意的是,脚本域名的配置信息需要和阿里云的控制台保存的信息一直,比如,阿里云设置的是A,那么脚本也要设置A,才能返回域名信息,不知道是不是我步骤有问题,修改了阿里云的域名为AAAA才查到结果。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants