Domain Bridge
作者:rebot | 分类:模组
Minecraft 版本: 1.20 1.20.1 1.20.2 1.20.3 1.20.4 1.20.5 1.20.6 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10 1.21.11
平台: bukkit paper spigot
标签: management technology utility
? Description
DomainBridge is a lightweight Minecraft plugin designed to automatically update your server’s DNS records whenever the server starts.
No more manual IP changes — players can always connect through your chosen domain or subdomain (e.g. mc.yourdomain.com), even if your public IP changes.
Key Features:
- ? Auto‑update DNS records on server startup
- ? Supports subdomains (e.g.
mc.yourdomain.de) - ? Secure Cloudflare API token authentication
- ⚙️ Configurable TTL (Time To Live) for DNS caching
⚙️ Configuration
After installing, a config.yml file will be generated in your plugin folder. Example:
# DomainBridge Configuration
domain: "mc.yourdomain.de"
provider: "cloudflare"
zone_id: "YOUR_ZONE_ID"
record_id: "YOUR_RECORD_ID"
api_token: "YOUR_API_TOKEN"
ttl: 120
Explanation
- domain → The hostname players use to join (e.g.
mc.yourdomain.de) - provider → DNS provider (
cloudflare) - zone_id → Found in Cloudflare dashboard under your domain overview
- record_id → Retrieved via Cloudflare API for the specific DNS record
- api_token → Scoped Cloudflare API token with DNS edit permissions
- ttl → Time To Live in seconds (e.g.
120= 2 minutes cache)
? Installation Guide
- Download the latest DomainBridge
.jarfrom Modrinth. - Place the file into your server’s
plugins/directory. - Start the server once to generate the default
config.yml. - Edit
config.ymlwith your domain, zone ID, record ID, and API token. - Restart the server.
- Done! Your DNS record will now automatically update with your current IP.
?? Requirements
- Valid DNS provider account (Cloudflare recommended)
请登录后举报
暂无评论,抢个沙发吧~