aliyun-dns-cli-test
A minimal smoke test for Alibaba Cloud DNS CLI that verifies aliyun CLI authentication and the describe-subdomain flow. Run it to confirm your setup works before using the full DNS skill.
aliyun-dns-cli-test validates your Alibaba Cloud DNS CLI setup and authentication.
AI-generated summary based on this skill's SKILL.md
Install
cinience/alicloud-skills/aliyun-dns-cli-test · repository language: Python
git clone https://github.com/cinience/alicloud-skills
cp -r alicloud-skills/tests/network/dns/aliyun-dns-cli-test ~/.claude/skills/aliyun-dns-cli-testnpx skillfed install cinience/alicloud-skills/aliyun-dns-cli-testFrequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
What does aliyun-dns-cli-test validate?
aliyun-dns-cli-test is a minimal smoke test that verifies your Alibaba Cloud DNS CLI installation and authentication. It confirms that your aliyun CLI can authenticate with your access key and secret key, and that you have permissions to query DNS subdomain records via the AliDNS API before running the full DNS skill.
How do I test aliyun DNS subdomain records?
aliyun-dns-cli-test runs a DescribeSubDomainRecords query through the aliyun CLI to test DNS subdomain record retrieval. This validates that your CLI setup can successfully call the AliDNS API endpoint and return DNS records for a test domain.
Can aliyun-dns-cli-test verify my AK/SK credentials?
Yes. aliyun-dns-cli-test checks your access key (AK) and secret key (SK) by attempting authentication with the aliyun CLI. If your credentials are invalid or lack DNS API permissions, the test will fail and indicate the authentication issue.
What is the aliyun cli dns smoke test for?
aliyun-dns-cli-test runs a minimal smoke test to quickly confirm your Alibaba Cloud DNS CLI environment is working. It tests authentication, API connectivity, and basic DNS record queries without requiring a full integration test setup.
Do I need aliyun-dns-cli-test before using the full DNS skill?
Yes. aliyun-dns-cli-test is designed as a validation step before deploying the full DNS skill. Running it first confirms your CLI authentication, credentials, and DNS API permissions are all correctly configured.
SKILL.md
rendered from the published skill — quoted content, verbatim
Category: test
DNS CLI Minimal Viable Test
Prerequisites
aliyunCLI is installed and configured.- AK/SK is configured.
- GoalsSkill:
skills/network/dns/aliyun-dns-cli/。
Test Steps
1) 执行 aliyun alidns DescribeSubDomainRecords --DomainName <domain> --SubDomain <sub>。
2) 若无记录,再执行一次空返回验证。
3) 记录 request id 和返回条目数。
Expected Results
- 命令可执行,返回 JSON 或明确权限错误。
Read as markdown · JSON record · Browse the source repository
File tree — 1 file
tests/network/dns/aliyun-dns-cli-test/SKILL.md