Push code

This commit is contained in:
2026-01-28 23:03:50 +01:00
parent 5bd203b516
commit 00bbd6534b
19 changed files with 1224 additions and 0 deletions

26
config.json.example Normal file
View File

@@ -0,0 +1,26 @@
{
"listenPort": "8080",
"adminToken": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=",
"ratelimit": {
"maxTokens": 30,
"refillRate": 2,
"tokensPerHit": 1
},
"apiTokens": {
"cloudflare": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
},
"clients": [
{
"fqdn": "example.com",
"token": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=",
"dnsProvider": "cloudflare",
"zoneId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
},
{
"fqdn": "sub.example.com",
"token": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=",
"dnsProvider": "cloudflare",
"zoneId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}
]
}