administering-linux
Manage Linux systems covering systemd services, process management, filesystems, networking, performance tuning, and troubleshooting. Use when deploying…
Manage DNS records, TTL strategies, and DNS-as-code automation for infrastructure. Use when configuring domain resolution, automating DNS from Kubernetes with external-dns, setting up DNS-based load balancing, or troubleshooting propagation issues across cloud providers
$ npx -y skills add ancoleman/ai-design-components --skill managing-dns --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/managing-dnsContext preview
The summary Claude sees to decide when to auto-load this skill.
Manage DNS records, TTL strategies, and DNS-as-code automation for infrastructure. Use when configuring domain resolution, automating DNS from Kubernetes with external-dns, setting up DNS-based load balancing, or troubleshooting propagation issues across cloud providers
name: managing-dns description: Manage DNS records, TTL strategies, and DNS-as-code automation for infrastructure. Use when configuring domain resolution, automating DNS from Kubernetes with external-dns, setting up DNS-based load balancing, or troubleshooting propagation issues across cloud providers (Route53, Cloud DNS, Azure DNS, Cloudflare).
Configure and automate DNS records with proper TTL strategies, DNS-as-code patterns, and troubleshooting techniques.
Guide DNS configuration for applications, infrastructure, and services with focus on:
Apply DNS management patterns when:
**Address Resolution:**
**Email Configuration:**
**Service Discovery:**
**Delegation and Security:**
**Cloud-Specific:**
Need to point domain to: ├─ IPv4 Address? → A record ├─ IPv6 Address? → AAAA record ├─ Another Domain? │ ├─ Zone apex (@) → ALIAS/ANAME or A record │ └─ Subdomain → CNAME ├─ Mail Server? → MX record (with priority) ├─ Email Authentication? → TXT record (SPF/DKIM/DMARC) ├─ Service Discovery? → SRV record ├─ Domain Verification? → TXT record ├─ Certificate Control? → CAA record └─ Subdomain Delegation? → NS record
For detailed record type examples and patterns, see `references/record-types.md`.
**By Change Frequency:**
**Key Principle:** Lower TTL = faster propagation but higher DNS query load
When planning DNS changes:
T-48h: Lower TTL to 300s T-24h: Verify TTL propagated globally T-0h: Make DNS change T+1h: Verify new records propagating T+6h: Confirm global propagation T+24h: Raise TTL back to normal (3600s)
**Propagation Formula:** `Max Time = Old TTL + New TTL + Query Time`
Example: Changing a record with 3600s TTL takes up to 2 hours to fully propagate.
| Use Case | TTL | Rationale | |----------|-----|-----------| | Production (stable) | 3600s | Balance speed and load | | Before planned change | 300s | Fast propagation | | Development/staging | 300-600s | Frequent changes | | DNS-based failover | 60-300s | Fast recovery | | Mail servers | 3600s | Rarely change | | NS records | 86400s | Very stable |
For detailed TTL scenarios and calculations, see `references/ttl-strategies.md`.
**Kubernetes DNS Automation → external-dns**
**Multi-Provider DNS Management → OctoDNS or DNSControl**
**Infrastructure-as-Code → Terraform**
| Tool | Language | Best For | Kubernetes | Multi-Provider | |------|----------|----------|------------|----------------| | external-dns | Go | K8s automation | ★★★★★ | ★★★★ | | OctoDNS | Python/YAML | Version control | ★★★ | ★★★★★ | | DNSControl | JavaScript | Complex logic | ★★ | ★★★★★ | | Terraform | HCL | IaC integration | ★★★ | ★★★★ |
# Kubernetes Service with DNS annotation
apiVersion: v1
kind: Service
metadata:
name: app
annotations:
external-dns.alpha.kubernetes.io/hostname: app.example.com
external-dns.alpha.kubernetes.io/ttl: "300"
spec:
type: LoadBalancer
ports:
- port: 80Deploy external-dns controller once, then all annotated Services/Ingresses automatically create DNS records.
For complete examples, see `examples/external-dns/` and `references/dns-as-code-comparison.md`.
**AWS Route53**
**Google Cloud DNS**
Comprehensive UI/UX and Backend component design skills for AI-assisted development with Claude
Repo: ancoleman/ai-design-components
Manage Linux systems covering systemd services, process management, filesystems, networking, performance tuning, and troubleshooting. Use when deploying…
Data pipelines, feature stores, and embedding generation for AI/ML systems. Use when building RAG pipelines, ML feature serving, or data transformations.…
Strategic guidance for designing modern data platforms, covering storage paradigms (data lake, warehouse, lakehouse), modeling approaches (dimensional,…
Design cloud network architectures with VPC patterns, subnet strategies, zero trust principles, and hybrid connectivity. Use when planning VPC topology,…
Design comprehensive security architectures using defense-in-depth, zero trust principles, threat modeling (STRIDE, PASTA), and control frameworks (NIST CSF,…
Assembles component outputs from AI Design Components skills into unified, production-ready component systems with validated token integration, proper import…