add-dns-record

Create and update Cloudflare DNS records via cfcli.

8|1|Updated Oct 21, 2015
One-click install
npx skills add https://github.com/iamruinous/nix-config --skill add-dns-record
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-dns-record
Source: https://github.com/iamruinous/nix-config/tree/main/.opencode/skills/add-dns-record
Command: npx skills add https://github.com/iamruinous/nix-config --skill add-dns-record

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the creation and updating of Cloudflare DNS records via cfcli, reducing manual steps and misconfigurations.

Core Features & Use Cases

  • Create or update DNS records (CNAME, A, TXT) for Cloudflare-managed domains using a simple CLI.
  • Validate inputs and support a mix of predefined common targets and custom values, with a default record type of CNAME when not specified.
  • Use in deployment pipelines to provision DNS entries for new services or infrastructure components.

Quick Start

Provide the DNS record name and the target when prompted, then run the skill to create or update the Cloudflare DNS entry.

Frequently Asked Questions about add-dns-record

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate creating Cloudflare DNS records for new deployments?

To update existing Cloudflare DNS records, provide the record name and new target value. The skill handles CNAME, A, and TXT records, automatically updating matching entries to prevent duplicates and misconfigurations.

Can I add a custom A record to Cloudflare without specifying a record type?

If you omit the record type when adding a Cloudflare DNS record, it defaults to CNAME. You must supply the record name and target, while the type is optional for creating A, TXT, or CNAME entries.

What do I need to manage Cloudflare DNS records via command line?

Managing Cloudflare DNS records requires supplying the record name and target values. The automation uses cfcli to provision entries, allowing you to list, add, edit, and remove records directly from your deployment pipeline.

Does this approach support listing and removing TXT records on Cloudflare?

Yes, the approach supports listing and removing TXT records on Cloudflare. It provides commands to list, add, edit, and remove records, fully handling TXT entries alongside CNAME and A records via cfcli.

What is the best way to handle domain management tasks for infrastructure components?

The best way to handle domain management for infrastructure is automating DNS entry provisioning. This skill applies to deployment pipelines, provisioning necessary CNAME, A, and TXT records for new services without manual configuration.