Initial commit: Tencent DNSPod DNS deployment skill
Features: - Single record deployment (A/CNAME/MX/TXT records) - Batch deployment from JSON configuration - Quick service deployment (Web/API/CDN) - .env file support for secure credential management - Complete documentation with installation guide - Error handling and troubleshooting guide Scripts: - deploy_record.py - Single record management - batch_deploy.py - Batch deployment from config - deploy_service.py - Quick service templates - list_records.py - Query existing records - delete_record.py - Remove DNS records Documentation: - SKILL.md - Main skill documentation - INSTALL.md - Installation and quick start - ENV_SETUP.md - Environment configuration guide - README.md - Project overview - references/api-auth.md - API authentication details - references/common-errors.md - Error handling - examples/dns-config.json - Batch deployment example
This commit is contained in:
44
examples/dns-config.json
Normal file
44
examples/dns-config.json
Normal file
@@ -0,0 +1,44 @@
|
||||
{
|
||||
"records": [
|
||||
{
|
||||
"subdomain": "@",
|
||||
"type": "A",
|
||||
"value": "1.2.3.4",
|
||||
"line": "默认",
|
||||
"ttl": 600,
|
||||
"remark": "主域名"
|
||||
},
|
||||
{
|
||||
"subdomain": "www",
|
||||
"type": "A",
|
||||
"value": "1.2.3.4",
|
||||
"line": "默认",
|
||||
"ttl": 600,
|
||||
"remark": "Web服务"
|
||||
},
|
||||
{
|
||||
"subdomain": "api",
|
||||
"type": "A",
|
||||
"value": "1.2.3.5",
|
||||
"line": "默认",
|
||||
"ttl": 600,
|
||||
"remark": "API服务"
|
||||
},
|
||||
{
|
||||
"subdomain": "cdn",
|
||||
"type": "CNAME",
|
||||
"value": "cdn.example.com.cdn.dnsv1.com",
|
||||
"line": "默认",
|
||||
"ttl": 600,
|
||||
"remark": "CDN加速"
|
||||
},
|
||||
{
|
||||
"subdomain": "test",
|
||||
"type": "A",
|
||||
"value": "1.2.3.10",
|
||||
"line": "默认",
|
||||
"ttl": 60,
|
||||
"remark": "测试环境"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user