Direct answer
Dynamic DNS (DDNS) keeps a hostname updated when a home network’s public address changes. It does not open ports or bypass CGNAT.
Recommended procedure
- Choose a reputable DDNS provider and create a hostname pointing to your public IPv4 or usable IPv6 address.
- Configure the router or a trusted updater to publish IP changes using a limited-scope token.
- For a Java server on a non-default TCP port, add the appropriate SRV record if your provider supports it.
- Forward the Minecraft port and configure the local firewall only after confirming a publicly reachable address.
Why this matters
The updater must report the public inbound address, not a local 192.168.x.x address. DDNS helps only when the network is already capable of accepting the incoming game connection.
How to verify the result
After changing your WAN IP, query the hostname with nslookup play.example.com and connect from a mobile network. Record the DNS TTL before expecting immediate cache expiry.
Version and compatibility notes
Never paste DDNS API tokens into screenshots or public support logs. If the ISP uses CGNAT, use a separate inbound connectivity solution.
Official references
These sources were checked for the current MSH revision. Version-sensitive details should always be confirmed against the project documentation for the release you run.
Related guides
Help us improve this article
Tell us what is missing, unclear, outdated, or incorrect. You can also suggest something we should add.