dn-dns-set

โดย automattic

ตั้งค่า DNS record สำหรับโดเมนโดยใช้ dn CLI ใช้เมื่อผู้ใช้ต้องการเพิ่มหรืออัปเดต DNS records (A, AAAA, CNAME, MX, TXT ฯลฯ) โหมดพาร์ทเนอร์เท่านั้น

npx skills add https://github.com/automattic/dn-cli --skill dn-dns-set

dn dns:set

Set a DNS record for a domain.

Usage

# Interactive (prompts for type, name, value)
dn dns:set example.com

# Non-interactive
dn dns:set example.com --type=A --name=@ --value=192.0.2.1

# Custom TTL
dn dns:set example.com --type=CNAME --name=www --value=example.com --ttl=7200

# Multiple values (e.g., round-robin A records)
dn dns:set example.com --type=A --name=@ --value=192.0.2.1 --value=192.0.2.2

Options

OptionDescription
--typeRecord type: A, AAAA, CNAME, MX, TXT, etc.
--nameRecord name (@ for root, or subdomain)
--valueRecord value(s) - repeatable for multiple values
--ttlTTL in seconds (default: 3600)

Notes

  • Partner mode only - user mode shows redirect to wordpress.com/domains/manage
  • The command name uses a colon: dns:set
  • Record type is auto-uppercased
  • Use dn dns:get first to see existing records

Skills เพิ่มเติมจาก automattic

wp-phpstan
automattic
ใช้เมื่อกำหนดค่า เรียกใช้ หรือแก้ไขการวิเคราะห์แบบสแตติกของ PHPStan ในโปรเจกต์ WordPress (ปลั๊กอิน/ธีม/ไซต์): การตั้งค่า phpstan.neon, เบสไลน์,…
official
wp-playground
automattic
ใช้สำหรับเวิร์กโฟลว์ของ WordPress Playground: อินสแตนซ์ WP แบบใช้แล้วทิ้งที่รวดเร็วในเบราว์เซอร์หรือในเครื่องผ่าน @wp-playground/cli (server, run-blueprint, build-snapshot),…
official
wp-plugin-development
automattic
ใช้เมื่อพัฒนา WordPress plugins: สถาปัตยกรรมและ hooks, การเปิดใช้งาน/ปิดใช้งาน/ถอนการติดตั้ง, UI สำหรับผู้ดูแลระบบและ Settings API, การจัดเก็บข้อมูล, cron/งาน, ความปลอดภัย…
official
wp-project-triage
automattic
ใช้เมื่อคุณต้องการตรวจสอบที่เก็บ WordPress (ปลั๊กอิน/ธีม/ธีมบล็อก/WP core/Gutenberg/ทั้งไซต์) อย่างแน่นอน รวมถึงเครื่องมือ/การทดสอบ/เวอร์ชัน…
official
wp-rest-api
automattic
ใช้เมื่อสร้าง ขยาย หรือดีบักเอนด์พอยต์/เส้นทางของ WordPress REST API: register_rest_route, คลาส WP_REST_Controller/controller, schema/argument…
official
wp-wpcli-and-ops
automattic
ใช้เมื่อทำงานกับ WP-CLI (wp) สำหรับการดำเนินการ WordPress: การค้นหาและแทนที่อย่างปลอดภัย, การส่งออก/นำเข้าฐานข้อมูล, การจัดการปลั๊กอิน/ธีม/ผู้ใช้/เนื้อหา, cron, การล้างแคช,…
official
wpds
automattic
ใช้เมื่อสร้าง UI ที่ใช้ประโยชน์จาก WordPress Design System (WPDS) และส่วนประกอบ โทเค็น รูปแบบ ฯลฯ
official
woocommerce-finalize
automattic
การตรวจสอบสุขภาพโค้ดและความสามารถในการตรวจสอบย้อนกลับก่อนเผยแพร่สำหรับปลั๊กอิน WooCommerce ดำเนินการหลังจากการตรวจสอบโค้ด -- เน้นที่โค้ดที่ไม่ได้ใช้ การซ้ำซ้อน ความซับซ้อนเชิงโครงสร้าง และ...
official