dns-management by aj-geddes/useful-ai-prompts
npx skills add https://github.com/aj-geddes/useful-ai-prompts --skill dns-management使用 Route53、Azure DNS 或 CloudFlare 实现 DNS 管理策略,用于流量路由、故障转移、地理路由和高可用性。
最小工作示例:
# route53-setup.yaml
apiVersion: v1
kind: ConfigMap
metadata:
name: route53-config
namespace: operations
data:
setup-dns.sh: |
#!/bin/bash
set -euo pipefail
DOMAIN="myapp.com"
HOSTED_ZONE_ID="Z1234567890ABC"
PRIMARY_ENDPOINT="myapp-primary.example.com"
SECONDARY_ENDPOINT="myapp-secondary.example.com"
echo "Setting up Route53 DNS for $DOMAIN"
# Create health check for primary
PRIMARY_HEALTH=$(aws route53 create-health-check \
--health-check-config '{
"Type": "HTTPS",
"ResourcePath": "/health",
"FullyQualifiedDomainName": "'${PRIMARY_ENDPOINT}'",
"Port": 443,
// ... (完整实现请参阅参考指南)
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
references/ 目录下的详细实现:
| 指南 | 内容 |
|---|---|
| AWS Route53 配置 | AWS Route53 配置 |
| DNS 故障转移脚本 | DNS 故障转移脚本 |
| CloudFlare DNS 配置 | CloudFlare DNS 配置 |
| DNS 监控与验证 | DNS 监控与验证 |
每周安装数
109
代码仓库
GitHub 星标数
116
首次出现
2026年1月21日
安全审计
安装于
opencode92
gemini-cli90
codex88
claude-code86
cursor84
github-copilot75
Implement DNS management strategies for traffic routing, failover, geo-routing, and high availability using Route53, Azure DNS, or CloudFlare.
Minimal working example:
# route53-setup.yaml
apiVersion: v1
kind: ConfigMap
metadata:
name: route53-config
namespace: operations
data:
setup-dns.sh: |
#!/bin/bash
set -euo pipefail
DOMAIN="myapp.com"
HOSTED_ZONE_ID="Z1234567890ABC"
PRIMARY_ENDPOINT="myapp-primary.example.com"
SECONDARY_ENDPOINT="myapp-secondary.example.com"
echo "Setting up Route53 DNS for $DOMAIN"
# Create health check for primary
PRIMARY_HEALTH=$(aws route53 create-health-check \
--health-check-config '{
"Type": "HTTPS",
"ResourcePath": "/health",
"FullyQualifiedDomainName": "'${PRIMARY_ENDPOINT}'",
"Port": 443,
// ... (see reference guides for full implementation)
Detailed implementations in the references/ directory:
| Guide | Contents |
|---|---|
| AWS Route53 Configuration | AWS Route53 Configuration |
| DNS Failover Script | DNS Failover Script |
| CloudFlare DNS Configuration | CloudFlare DNS Configuration |
| DNS Monitoring and Validation | DNS Monitoring and Validation |
Weekly Installs
109
Repository
GitHub Stars
116
First Seen
Jan 21, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykWarn
Installed on
opencode92
gemini-cli90
codex88
claude-code86
cursor84
github-copilot75
Builder模块:自定义AI智能体、工作流和模板构建工具 - 专业领域自动化
131 周安装
支付集成指南:SePay、Stripe、Paddle、Polar、Creem.io 多平台集成与订阅管理
133 周安装
移动端QA测试指南:iOS与Android跨平台自动化测试策略与框架选择
132 周安装
Claude Code Bash 模式指南:Bash 命令最佳实践与自动化钩子
81 周安装
HTML可视化工具:一键生成交互式图表、原型图、ERD、流程图等单HTML文件
132 周安装
记忆策展器:AI智能体系统化记忆管理工具,支持日志记录、会话保存与知识提取
131 周安装