aliyun-dns

Manage Alibaba Cloud (Aliyun) domain DNS records (query, add, update, delete). Use this skill when users need to configure DNS, set up subdomains, or manage domain resolution for deployments. Supports A, CNAME, and other record types.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "aliyun-dns" with this command: npx skills add netcmcc/skills/netcmcc-skills-aliyun-dns

Alibaba Cloud DNS Management

Script

scripts/aliyun-dns.sh

Command Reference

aliyun-dns.sh query <domain> [keyword]              # Query records
aliyun-dns.sh add <domain> <rr> <type> <value> [ttl] # Add a record
aliyun-dns.sh info <record_id>                       # Get record details
aliyun-dns.sh update <record_id> <rr> <type> <value> [ttl] # Update a record
aliyun-dns.sh delete <record_id>                     # Delete a record

Environment Requirements

export ALICLOUD_ACCESS_KEY="your_access_key_id"   # Required
export ALICLOUD_SECRET_KEY="your_access_key_secret" # Required
export ALICLOUD_DNS_DOMAINS="example.com example.org" # Optional, restrict allowed domains

If ALICLOUD_DNS_DOMAINS is not set, all domains are allowed.

First-time setup: Create a RAM user and permission policy, see references/setup.md.

Workflow

Query Records

# Query all records
aliyun-dns.sh query example.com

# Filter by keyword (e.g. query www records)
aliyun-dns.sh query example.com www

An empty result means the record does not exist.

Delete Records (confirmation required)

  1. Query the record to get its RecordId
  2. Show the record details to the user
  3. Use AskUserQuestion to request confirmation
  4. After user confirms, execute delete <record_id>

Update Records (confirmation required)

  1. Query the record to get the current value and RecordId
  2. Show the current value and the new value to the user
  3. Use AskUserQuestion to request confirmation
  4. After user confirms, execute update <record_id> <rr> <type> <new_value>

Confirmation Prompt Examples

  • Update: "Confirm changing api.example.com from 1.2.3.4 to 5.6.7.8?"
  • Delete: "Confirm deleting api.example.com (CNAME: work.example.com)? This action is irreversible."

Common Errors

Error CodeCause
InvalidAccessKeyId.NotFoundIncorrect ALICLOUD_ACCESS_KEY
SignatureDoesNotMatchIncorrect ALICLOUD_SECRET_KEY
DomainRecordDuplicateRecord already exists, use update instead

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

OpenClaw Skill Growth

Make OpenClaw Skills observable, diagnosable, and safely improvable over time. Use this when the user wants to maintain many SKILL.md files, inspect repeated...

Registry SourceRecently Updated
171Profile unavailable
General

Find Skills for ClawHub

Search for and discover OpenClaw skills from ClawHub (the official skill registry). Activate when user asks about finding skills, installing skills, or wants...

Registry SourceRecently Updated
2871Profile unavailable
General

Skill Listing Polisher

Improve a skill's public listing before publish. Use when tightening title, description, tags, changelog, and scan-friendly packaging so the listing looks cl...

Registry SourceRecently Updated
1130Profile unavailable
General

Skill Priority Setup

Scans installed skills, suggests L0-L3 priority tiers, and auto-configures skill injection policy. Use when: setting up skill priorities, optimizing token bu...

Registry SourceRecently Updated
2510Profile unavailable