mojira.dev
MCPE-92595

DNS record (ip address) of game host server cached too long

Background

A vast majority of minecraft players who run their own servers run it out of their residence. In the United States, most ISPs provide their subscribers with dynamic ip addresses. Thus they are not fixed/static and are subject to be changed without warning. This can be overcome with dynamic DNS update services. These services work by allowing a domain's DNS A-Record (the ip address it points to) to be updated the moment the ISP changes the subscriber's ip address.

With this method it is possible to play minecraft on a server hosted by one of these residential subscribers by typing a domain instead of an ip address in the server config window. Seen below:

[media]

However recently with residents getting access to gigabit speeds, ISPs are trying to prevent residential subscribers from running a commercial or business server from their residence subscription. To try to encourage their subscribers to purchase either a static ip address or a business subscription, ISPs have increased the frequency of when residents' ip address changes. 

As an example, Verizon has begun to change their residential subscriber's ip addresses as often as every 30 seconds.

In addition, a Minecraft sever hosted on Asure, Google Cloud Platform, or Amazon Web Services will be given an ephemeral ip address unless additional money is provided to secure a static ip address.

Problem

Minecraft caches a server domain's DNS record too long, and servers with highly dynamic or ephemeral ip addresses are not well-handled.

Steps to Replicate

  1. Go to Minecraft's Server select menu.

  2. Add a new server by domain name and point it to a minecraft server hosted on a dynamic ip address.

  3. Join the server

  4. Connect Successfully

  5. Quit game, returning to Minecraft title screen. (Do not leave game)

  6. Go to Server select menu

  7. Change A record of the domain used in step 2 above

  8. Select the same server and join game again

Expected

  1. Successful connection to server and user is able to join game

Actual

  1. Minecraft attempts to connect to server using the old DNS A record

Additionally

  • During a multiplayer game when client can not reach the server, re-connection attempts are made by the client. The client's DNS record of the server should be invalidated and refreshed in the event the server's ip address has changed.

  • This bug might affect more than just PC version and these changes might be a good idea to include in all other versions.

 

Linked issues

Attachments

Comments 4

Is this still an issue in the latest version? If so, please update the Affected Version/s field.

Could you please upload video of the issue or help us clarify the issue. We were trying to reproduce this issue and with step 7/8 we were able to join changed server but UI was not refreshed. Does it describe your issue?

Cleaning up old tickets: This ticket had been set to 'Awaiting Response', but has not received a response from the reporter (~3 months+) so is being closed as Incomplete. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines which includes steps to reproduce the problem.

For any account or purchasing related issues, please contact Minecraft Customer Support directly, as we cannot assist with those here at the bug tracker.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki

gabefair

(Unassigned)

Community Consensus

Windows

Version 10.0.18363.778

1.14.60 Hotfix, 1.16.1

Retrieved