Automatically keeps your KmDDNS record up to date so players can always find your server — even when your IP changes.
No router config. No static IP. Just install and run.
KmDDNS gives your Minecraft server a permanent address like myserver.ddns.kmathers.co.uk. Whenever your server starts, the mod checks your current public IP and updates the DNS record automatically. Players always connect to the same address.
Tunnel mode takes this further — if you can't or don't want to forward ports, the mod connects to a relay that routes player traffic through KmDDNS infrastructure. No port forwarding required at all.
/kmddns status to see your current address, IP, and connection state at a glanceRun /kmddns setup in-game to open the wizard. You can:
The wizard walks you through port detection, update interval, and whether to use tunnel mode. When you confirm, it saves the config and starts immediately.
Your server will now appear at yourname.ddns.kmathers.co.uk. Players connect using that address.
If you're behind CGNAT, a strict firewall, or just don't want to mess with port forwarding, enable tunnel mode during setup.
In tunnel mode:
Enable it during /kmddns setup, or set tunnel = true in the config and toggle it on via the API.
| Command | Description |
|---|---|
/kmddns status |
Show current IP, subdomain, tunnel state, and last update time |
/kmddns setup |
Open the interactive setup wizard |
/kmddns setup token <token> |
Configure with an existing token |
/kmddns setup new |
Register a new subdomain |
The config file is created automatically at config/kmddns.toml on first launch.
[kmddns]
enabled = true
token = "your-token-here"
api_base = "https://ddns.kmathers.co.uk/v1"
port = 0 # 0 = auto-detect from server.properties
update_interval = 300 # seconds between heartbeats (minimum 30)
tags = ["minecraft"]
metadata_motd = true # send server MOTD to the API
metadata_player_count = true
log_updates = true
tunnel = false # set true to use tunnel mode
/kmddns setup new)I build these tools for fun and for the community. Keeping everything running does have real maintenance costs, and even $1 goes a long way.
If you enjoy the tools and want to give back, you can support me here: Buy me a coffee. No pressure either way — thanks for being here.