Domain dns ops

From mouadja02/skills · View interactive version

Domain dns ops is an AI agent skill from the GitHub repository mouadja02/skills. Operates domains and DNS: registrars, Cloudflare zones and records, nameserver delegation, vanity domains, redirects, and DNS/HTTP verification. Use when setting up or debugging DNS records, redirects, or propagation.

How to use this skill

Skill file

Domain/DNS Ops

Attribution: Sourced from steipete/agent-scripts by Peter Steinberger.

When to Use

Golden Path (new vanity domain → Cloudflare → redirect)

  1. Decide routing model
  1. Cloudflare zone

```bash

curl -s "https://api.cloudflare.com/client/v4/zones?name=example.com" \

-H "Authorization: Bearer $CLOUDFLARE_API_TOKEN" | jq '.result[0] | {id, name, status}'

```

  1. Nameservers
  1. DNS placeholders (so CF can terminate HTTPS)
  1. Redirect setup
  1. Verify
# DNS check
dig +short example.com @1.1.1.1

# HTTPS redirect
curl -I https://example.com
# Expect: HTTP/2 301 or 302 with Location header

Common Commands

# Check if domain resolves to Cloudflare
dig +short example.com @1.1.1.1

# Check HTTP/HTTPS redirect
curl -sIL https://example.com | grep -E "HTTP/|Location:"

# Check DNS propagation
dig +short example.com @8.8.8.8
dig +short example.com @1.1.1.1

Guardrails

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.