WIP NXMineNS - A DNS Redirector for Minecraft Bedrock Edition (Console version)

stitchxd May 15, 2019.

  1. stitchxd
    OP

    stitchxd GBAtemp Fan

    Member
    4
    Apr 27, 2017
    United States
    nope
    Release Download: https://github.com/nxminens/nxminens
    Current Release: 0.0.1

    **This is my first .NET Core application, so expect some bugs, typos, etc.**

    NXMineNS is a .NET Core application that takes DNS requests from your switch, and tells the switch a different IP than what it was originally looking for. What this allows is the use of a custom Minecraft server on console.

    In theory this should work for other consoles, however only tested on the switch version.

    This tool can be compiled to run anywhere NET Core 2.1 can run. However, I built pre-compiled binaries for the community to use for Windows, Linux, and Mac (64 bit, Windows has 32 bit.)

    How to use

    According to .NET Core Documentation, an install might not be required since all dependencies are distributed with the executable. So you can skip installing .NET core, but if you have issues, try installing that first.

    Windows Instructions
    1. Download the latest release to a computer of choice.
    2. Make sure .NET core 2.1+ is installed on your computer and run the NXMineNS.exe (NXMineNS.exe 192.168.1.12(Replace with IP of desired server))
    3. Make your computers IP Address the Primary DNS in your Switches Network settings.
    4. Open Minecraft
    5. Watch as most if not all the different featured servers all show the custom servers stats.
    Linux Instructions (Debian / Ubuntu) & Mac OSX
    1. Download the latest release to a computer of choice.
    2. Make sure .NET core 2.1+ is installed on your computer and run the NXMineNS (dotnet ./NXMineNS 192.168.1.12(Replace with IP of desired server))
    3. Make your computers IP Address the Primary DNS in your Switches Network settings.
    4. Open Minecraft
    5. Watch as most if not all the different featured servers all show the custom servers stats.


    NOTE: THIS MIGHT HAVE POTENTIAL TO BAN? NOT SURE IF DNS REDIRECTIONS FALL UNDER NINTENDO BAN HAMMER. YOU HAVE BEEN WARNED

    Screenshot from my switch (OFW) where the feature server shows my personal MC server information (domain obfuscated for my privacy but you can see the stats are clearly different than what they are normally.)

    Warning: Spoilers inside!
     

    Attached Files:

    Last edited by stitchxd, May 15, 2019
  2. medoli900

    medoli900 Open the Benzenes Gates

    Member
    6
    GBAtemp Patron
    medoli900 is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    Jan 7, 2013
    Lavender Town
    Does it works with modded Forge server?

    Edit: Now that I think about it, you do have to have the mod locally. I still wonder if it would at least show the server.
     
    Last edited by medoli900, May 15, 2019
  3. stitchxd
    OP

    stitchxd GBAtemp Fan

    Member
    4
    Apr 27, 2017
    United States
    nope
    Consoles use bedrock Minecraft, not Java version. So it would likely not work properly.

    — Posts automatically merged - Please don't double post! —

    Is there forge for bedrock version?
     
  4. Jonhy

    Jonhy GBAtemp Regular

    Member
    5
    May 22, 2016
    United States
    I know you're just covering your bases, but do you think that big N would care about DNS redirection? Is there a log that's kept or something like that?
     
  5. medoli900

    medoli900 Open the Benzenes Gates

    Member
    6
    GBAtemp Patron
    medoli900 is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    Jan 7, 2013
    Lavender Town
    Oh right, I forgot about that. No, you're right, forge is only for the Java version.
     
  6. medoli900

    medoli900 Open the Benzenes Gates

    Member
    6
    GBAtemp Patron
    medoli900 is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    Jan 7, 2013
    Lavender Town
    I think the warning is mostly for those who use 9DNS or the like.
     
  7. stitchxd
    OP

    stitchxd GBAtemp Fan

    Member
    4
    Apr 27, 2017
    United States
    nope
    Mostly to cover bases, I doubt Nintendo could see that information (but you know, just in-case and all that.)
     
  8. WiiHomebrew+Snes

    WiiHomebrew+Snes GBAtemp Fan

    Member
    6
    May 4, 2016
    United States
    Afaik playstation isn't running bedrock
     
  9. stitchxd
    OP

    stitchxd GBAtemp Fan

    Member
    4
    Apr 27, 2017
    United States
    nope
    You might be right, there is code for the PS4 version in the Windows 10 builds, but it's not officially released.
     
  10. shabbypenguin

    shabbypenguin Advanced Member

    Newcomer
    4
    Apr 29, 2015
    United States
    getting errors about missing dependencies when i try to run it, dns.dll. ive got .net core 2.2 installed
     
  11. designgears

    designgears GBAtemp Regular

    Member
    4
    Aug 8, 2016
    United States
    You have to run it from the publish directory, you'll probably have to disable the DNS Client windows service as well.

    https://social.technet.microsoft.co...dns-cache-services?forum=win10itpronetworking

    @stitchxd Can this be used on a modded switch that can't connect to nintendo services?

    Basically appears that I can't get a list of servers.

    You might be able to take the response that you get from official services, save it, modify it, package that up in your app and use that to respond to modded switches so we can get a list of servers.
     
    Last edited by designgears, May 15, 2019
  12. stitchxd
    OP

    stitchxd GBAtemp Fan

    Member
    4
    Apr 27, 2017
    United States
    nope
    Can you report the issue on github with console output from the application?
     
  13. stitchxd
    OP

    stitchxd GBAtemp Fan

    Member
    4
    Apr 27, 2017
    United States
    nope
    REDACTED
     
  14. stitchxd
    OP

    stitchxd GBAtemp Fan

    Member
    4
    Apr 27, 2017
    United States
    nope
    If your console cannot get the list or doesn't show a list then this method probably wont work for you. I can try MITM'ing the response to generate my own Featured Server list in a later update though, though I am not sure how far that could go.
     
    Mister_LAN and shabbypenguin like this.
  15. designgears

    designgears GBAtemp Regular

    Member
    4
    Aug 8, 2016
    United States
    Pretty useless for most of here if that doesn't work :P
     
  16. stitchxd
    OP

    stitchxd GBAtemp Fan

    Member
    4
    Apr 27, 2017
    United States
    nope
    Like I said, I will try to make that an option, but reverse engineering communication from Nintendo's Servers will prove difficult.
     
    shabbypenguin likes this.
  17. lexarvn

    lexarvn GBAtemp Regular

    Member
    5
    Nov 15, 2010
    United States
    Lol, this is exactly what I was trying to do last night. Nice work! I'll have to try it out


    Seems a bit unlikely that you could do that since fetching that list is probably done over ssl. But you never know I guess. Maybe they just left it unsecured
     
  18. stitchxd
    OP

    stitchxd GBAtemp Fan

    Member
    4
    Apr 27, 2017
    United States
    nope
    There is a bug in the initial build I'll be working on a better build later tonight for version 0.0.2.

    As for the SSL, having my router strip that and apply it's own certificate would allow me to see the data, but will break my version of the game (assuming it validates SSL Certificates) If it can't be done then aw well you know?
     
  19. designgears

    designgears GBAtemp Regular

    Member
    4
    Aug 8, 2016
    United States
    If you can dump the response data here that would be helpful.
     
    stitchxd likes this.
  20. stitchxd
    OP

    stitchxd GBAtemp Fan

    Member
    4
    Apr 27, 2017
    United States
    nope
    For anyone else having similar issue:

    1) Extract the zip file
    2) go into the extracted directory then into the "publish" directory.
    3) Then run the executable (.exe for Windows, no file extension for Mac or Linux)
    4) Profit??
     
  21. stitchxd
    OP

    stitchxd GBAtemp Fan

    Member
    4
    Apr 27, 2017
    United States
    nope
    Release 0.0.1 re-released on GitHub that should resolve this dependency confusion.
     
    lexarvn likes this.
  22. mars0124

    mars0124 Member

    Newcomer
    1
    Oct 20, 2007
    United States
    Question: On both Windows 10 and on Android I have a file called external_servers.txt located in the folder minecraftpe (under com.mojang) which is how custom servers are added. I have no idea how to/if you can navigate the Switch file system but if its possible and com.mojang\minecraftpe exist, would it be possible to copy the .txt to the folder? Would it be recognized? I'm hoping a magic combination or borrowing files from a donor machine could open doors.

    That said, you still need to be signed into Xbox which still requires a valid NNID so I am excluded...
     
  23. Xyphoseos

    Xyphoseos Hack or no games

    Member
    7
    Jun 29, 2016
    France
    Rivière
    I guess that should work on hacked switch with minecraft nsp right ?
     
Quick Reply
Draft saved Draft deleted
Loading...