Alibaba Cloud DNS (Alidns) CLI
name: alicloud-network-dns-cli
by cinience · published 2026-03-22
$ claw add gh:cinience/cinience-alicloud-network-dns-cli---
name: alicloud-network-dns-cli
description: Alibaba Cloud DNS (Alidns) CLI skill. Use to query, add, and update DNS records via aliyun-cli, including CNAME setup for Function Compute custom domains.
version: 1.0.0
---
Category: tool
# Alibaba Cloud DNS (Alidns) CLI
Goals
When to Use
Install aliyun-cli (without sudo)
curl -fsSL https://aliyuncli.alicdn.com/aliyun-cli-linux-latest-amd64.tgz -o /tmp/aliyun-cli.tgz
mkdir -p ~/.local/bin
tar -xzf /tmp/aliyun-cli.tgz -C /tmp
mv /tmp/aliyun ~/.local/bin/aliyun
chmod +x ~/.local/bin/aliyunConfigure Credentials
~/.local/bin/aliyun configure set \
--profile default \
--access-key-id <AK> \
--access-key-secret <SK> \
--region cn-hangzhouConfigure region as default; if best region is unclear, ask the user.
Query DNS Records
Query subdomain records:
~/.local/bin/aliyun alidns DescribeSubDomainRecords \
--SubDomain news.example.comAdd CNAME Record
~/.local/bin/aliyun alidns AddDomainRecord \
--DomainName example.com \
--RR news \
--Type CNAME \
--Value <TARGET>FC Custom Domain CNAME Target
Custom domain should point to FC public CNAME:
<account_id>.<region_id>.fc.aliyuncs.comExample (Hangzhou):
1629965279769872.cn-hangzhou.fc.aliyuncs.comCommon Issues
References
- https://help.aliyun.com/zh/cli/install-cli-on-linux
- https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-adddomainrecord
- https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describesubdomainrecords
- https://www.alibabacloud.com/help/en/functioncompute/fc/user-guide/configure-custom-domain-names
Validation
mkdir -p output/alicloud-network-dns-cli
echo "validation_placeholder" > output/alicloud-network-dns-cli/validate.txtPass criteria: command exits 0 and `output/alicloud-network-dns-cli/validate.txt` is generated.
Output And Evidence
Prerequisites
Workflow
1) Confirm user intent, region, identifiers, and whether the operation is read-only or mutating.
2) Run one minimal read-only query first to verify connectivity and permissions.
3) Execute the target operation with explicit parameters and bounded scope.
4) Verify results and save output/evidence files.
More tools from the same signal band
Order food/drinks (点餐) on an Android device paired as an OpenClaw node. Uses in-app menu and cart; add goods, view cart, submit order (demo, no real payment).
Sign plugins, rotate agent credentials without losing identity, and publicly attest to plugin behavior with verifiable claims and authenticated transfers.
The philosophical layer for AI agents. Maps behavior to Spinoza's 48 affects, calculates persistence scores, and generates geometric self-reports. Give your...