Compatibility
Minecraft: Java Edition
1.21.x
1.20.x
Platforms
Links
Tags
Creators
Details
Licensed CC-BY-NC-ND-4.0
Published 7 months ago
๐ 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)


