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

stitchxd

Well-Known Member
OP
Member
Joined
Apr 27, 2017
Messages
401
Trophies
0
Location
nope
Website
gnusocial.me
XP
689
Country
United States
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 (./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.)

2019051419460800-11b64e28ad7a49ca9ec8ac007be858c6-jpg.167018
 

Attachments

  • 2019051419460800-11B64E28AD7A49CA9EC8AC007BE858C6.jpg
    2019051419460800-11B64E28AD7A49CA9EC8AC007BE858C6.jpg
    221.3 KB · Views: 6,381
Last edited by stitchxd,

medoli900

Open the Benzenes;Gate
Member
Joined
Jan 7, 2013
Messages
1,116
Trophies
0
Location
Lavender Town
XP
1,316
Country
Antarctica
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,

stitchxd

Well-Known Member
OP
Member
Joined
Apr 27, 2017
Messages
401
Trophies
0
Location
nope
Website
gnusocial.me
XP
689
Country
United States
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.

Consoles use bedrock Minecraft, not Java version. So it would likely not work properly.

--------------------- MERGED ---------------------------

Is there forge for bedrock version?
 

JonJaded

Well-Known Member
Member
Joined
May 22, 2016
Messages
675
Trophies
0
XP
2,924
Country
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?
 

stitchxd

Well-Known Member
OP
Member
Joined
Apr 27, 2017
Messages
401
Trophies
0
Location
nope
Website
gnusocial.me
XP
689
Country
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?
Mostly to cover bases, I doubt Nintendo could see that information (but you know, just in-case and all that.)
 

designgears

Well-Known Member
Member
Joined
Aug 8, 2016
Messages
291
Trophies
0
XP
671
Country
United States
getting errors about missing dependencies when i try to run it, dns.dll. ive got .net core 2.2 installed

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,

designgears

Well-Known Member
Member
Joined
Aug 8, 2016
Messages
291
Trophies
0
XP
671
Country
United States
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.

Pretty useless for most of here if that doesn't work :P
 

lexarvn

Well-Known Member
Member
Joined
Nov 15, 2010
Messages
157
Trophies
1
XP
1,804
Country
United States
Lol, this is exactly what I was trying to do last night. Nice work! I'll have to try it out


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.
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
 

stitchxd

Well-Known Member
OP
Member
Joined
Apr 27, 2017
Messages
401
Trophies
0
Location
nope
Website
gnusocial.me
XP
689
Country
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

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?
 

designgears

Well-Known Member
Member
Joined
Aug 8, 2016
Messages
291
Trophies
0
XP
671
Country
United States
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?

If you can dump the response data here that would be helpful.
 
  • Like
Reactions: stitchxd

stitchxd

Well-Known Member
OP
Member
Joined
Apr 27, 2017
Messages
401
Trophies
0
Location
nope
Website
gnusocial.me
XP
689
Country
United States
getting errors about missing dependencies when i try to run it, dns.dll. ive got .net core 2.2 installed

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??
 

stitchxd

Well-Known Member
OP
Member
Joined
Apr 27, 2017
Messages
401
Trophies
0
Location
nope
Website
gnusocial.me
XP
689
Country
United States
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??

Release 0.0.1 re-released on GitHub that should resolve this dependency confusion.
 
  • Like
Reactions: lexarvn

mars0124

Member
Newcomer
Joined
Oct 20, 2007
Messages
12
Trophies
0
XP
53
Country
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...
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: https://youtu.be/3eGAHfC5P-Y?si=Fo3iEl1pZ4D_O6dp +1