This category is for Realms and dedicated server feedback. Please send support issues to help.mojang.com, as support posts, bugs, and individual server issues will be removed. Remember that when it comes to "adding more servers" or realm restrictions we are constrained by the rules of the various platforms Minecraft is available on. Thanks!

280

SRV Record Support (Bedrock Edition)

24 Comments

Please sign in to leave a comment.

Sorted by oldest
  • 10
    Registered User commented
    Comment actions Permalink

    This would be a good idea for us server owners

    Everyone please upvote this.

  • 1
    Registered User commented
    Comment actions Permalink

    Would it be too much to ask for you to write this in a language that casual server players like myself can understand? Like, explain what the impact on players would be, if any. I'd probably vote if I understood what you were saying.

  • 4
    Registered User commented
    Comment actions Permalink

    @MacchuPicchu96 It has nothing to do with players. It's simply lets server owners run multiple servers on the same system but on different ports and seperate domains for each port. For example it would currently be

    IP: example.com      PORT: 19132

    IP: example.com      PORT: 19133

    But with SRV records we could make it so players can do

    IP: example.com      PORT: 19132

    IP: factions.example.com     PORT: 19132 (but it points to example.com 19133)

  • 2
    Registered User commented
    Comment actions Permalink

    Already have solutions to this, you can manually set server ports in your server files and have players connect to specific ports. And if you have the time you can just make a multiworld lobby.

  • 11
    Registered User commented
    Comment actions Permalink

    @UnplayedGames they do have an option for ports.

    Hosting Companies are limited by only using the first IP address.

    In Java Edition they're many clients who want to use the "Default Port" which is 25565. Luckily, in Java Edition you can define a "server-ip" and multiple IPs can be used on a single server. This allows the ability to use DNS Records for "A Records" or "SRV Records".

    In Bedrock Edtion they're many clients who want to use the "Default Port" which is 19132. Unfortunately, in Bedrock Editon you cannot define "server-ip" and only allows the ability to use the first IP address of the server.

    The reason why clients sometimes want this is that they can still set up a "Sub Domain" for Bedrock Edition as it points to an IP address using an "A Record" and if they have the default port. Users don't have to change the input of that port.

    If a host has a 100 Dedicated Servers and each of them has 5 Dedicated IP addresses, that would potentially be 500 clients using IP:19132 vs. With the current setup you can only do 100 clients using IP:19132 as it's limited by not defining a "server-ip".

    SRV Records would also be a plus as this would remove the "Port Field" from the Bedrock Edition, and you could then have the same 100 Dedicated Servers and host single-ip:many ports, but with SRV Support it would hide that port.

    TLDR;

    • Add server-ip with (IPv4 and IPv6 support) Java has this.
    • Remove the port field from Bedrock Editions.
    • Add SRV Support
  • 1
    Registered User commented
    Comment actions Permalink

    I totally want this because I am going to try to set up a server!

  • 1
    Registered User commented
    Comment actions Permalink

    I totally want this because I am going to try to set up a server!

  • 1
    Registered User commented
    Comment actions Permalink

    This can already be done by running the server on a docker container. Each container has a different open external port. I'm currently running multiple BDS' this way. It's also more efficient on system resources and backup administration.

  • 2
    Registered User commented
    Comment actions Permalink

    Unless I'm mistaken, you can currently do this without too much difficulty. VM's and Docker containers aren't necessary, although they can be tremendously useful to isolate the Minecraft server from other systems for security.

    To run multiple instances of BDS from a single machine/IP address, simply:

    1. Create a new, empty directory for the bedrock_server executable and its supporting subdirectories
    2. Decompress/unzip the bedrock-server-<versionnumber>.zip file (or copy the files and folder structure from an existing server instance) into that directory.
    3. Edit/save the server.properties file to change the server-port and server-portv6 values
    4. Launch the bedrock_server executable from the new directory

    As long as the ports chosen in #3 aren't already being used by another BDS instance (or some other application), both should run side-by-side without any issue. I've done it this way and haven't seen any issues or conflicts myself, although it was more for proof-of-concept than actual usage. I haven't actually done any sort of "stress testing" of it.

  • 0
    Registered User commented
    Comment actions Permalink

    it's impossible, the only way is to use a bungeecord

     

  • 2
    Registered User commented
    Comment actions Permalink

    As GHosaPhat commented, I just make a copy of the bedrock-server directory, call it something else, then edit the server file with the world and optionally the name of the server, and change the ip4/6 ports and then launch the bedrock-server.exe.

    The only caveat is that any server I create that is not on the default port won't show up in LAN games. Something to do with the broadcasting or the way the clients listen on the LAN?

    Anyway, if you go to servers and add your server manually, IP and port, it connects just fine.

  • 1
    Registered User commented
    Comment actions Permalink

    You mean MultiWorld Support? I recommend changing ur title. But that would be a GODSEND for me if you could use a command block to transfer someone to a world.

  • 15
    Registered User commented
    Comment actions Permalink

    lukeeey21 is the only one here that is correct. Everyone else is talking about something else.

    As a server owner I want to have players connect to a subdomain with default port number instead of a custom port number. For example, pvp.mydomain.com instead of mydomain.com port 19133.

    Upvote if you think players shouldn't have to worry about port numbers.

  • 1
    Registered User commented
    Comment actions Permalink

    Would love to have this on my server.

  • 2
    Registered User commented
    Comment actions Permalink

    In response to Steve X Rand, that caveat is a big one when dealing with children. Not seeing all broadcasting lan games means it's hard to switch between game world easily.

  • 0
    Registered User commented
    Comment actions Permalink

    Yes please add the opportunity to bind the server to a specific IP adress.

  • 1
    Registered User commented
    Comment actions Permalink

    The question would be, ¿How come this is still not a feature? PLEASE, add SRV records to the client.

  • 2
    Registered User commented
    Comment actions Permalink

    Multiple servers from the same machine would be great, this way I can run different worlds set at different difficulty levels. At the moment only one server is seen on LAN, so machines like the XBox can only see one world.

  • 1
    Registered User commented
    Comment actions Permalink

    Quick update, I know you can run separate servers on the same IP using different ports. This is annoying.

    You could run them on separate IP addresses and point your subdomains to each IP, but that is just extra cost that you don't need. In Java Edition you can specify a server-ip value in the server.properties which lets you point multiple subdomains to the same IP address while ALSO specifying which port the subdomain should point to. THIS is what an SRV record is.

  • 0
    Registered User commented
    Comment actions Permalink

    Basically what this achieves:

    For server owners: Convenience when setting up the DNS records for their server.

    For players: Convenience when joining the server, since this eliminates the need of a "port" field.

  • 0
    Registered User commented
    Comment actions Permalink

    Yes please! In the name of feature parity and sanity. ^_^

  • 0
    Registered User commented
    Comment actions Permalink

    +1 This would be really nice as it's super easy to spin up servers using Docker on a single host. If this was implemented I could have separate worlds for myself, family and friends just by sharing a domain name (play.xyz.com vs family.xyz.com, etc.). Specifying a port number means they have to remember an extra technical bit beyond the domain name, and it's just that much less friendly for Minecraft Newbies. This would be great improvement to their user experience!

  • 0
    Registered User commented
    Comment actions Permalink

    Just ran into this issue trying to set up both IPv4 and IPv6 access using the same domain for my Minecraft Bedrock Server. This is simply unacceptable :(
    Unfortunately I had to use different subdomains for each port in order to achieve this...

  • 0
    Registered User commented
    Comment actions Permalink

    5 years on, and I'm looking for exactly this!

    Minecraft bedrock edition, I'd like to be able to run multiple servers on the same public IP, on port 

    19132, hostname dependent. 
     
    The closest solution I can find is https://github.com/qumine/ingress-controller, but I'm pretty certain it's for Java edition, as it lists a java port.