Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
在阿里云上添加了home.xxx.com三级域名,并配置了主机记录为@
配置ddns脚本的时候lookup host为: home.xxx.com,domain为: @home.xxx.com,提示400 error。
检查了发出的request是:http://alidns.aliyuncs.com/?Action=DescribeSubDomainRecords&SubDomain=%40.home.xxx.com ... 里面只指定了SubDomain并没有指定Domain。
阿里的文档发现当Domain为空的时候,home会被作为主机名,而不是@。手动修改脚本添加了Domain以后,成功更新。