Minecraft has two versions, Java and Bedrock, the former is PC, and the latter is a cross-platform version, including Windows, Android, Nintendo Switch, etc. At the Nintendo Switch version, you’ll need to subscribe Nintendo Switch Online plan before you do the multiplayer, and you cannot join any self-hosted server, it’s terrible!
However, two or three years ago on Reddit, some Switch players try to solve this question. Their solution was like DNS Spoofing, but the target is yourself. To put it simply, we’ll create a DNS Server to replace the origin, and intercept the Minecraft Feature Server’s DNS Lookup request to rewrite to your private server IP. It can easily bypass the restrictions set by Nintendo Switch and Microsoft.
What is Pi-hole？
Pi-hole is an open-source project. We can create a server using Pi-hole that blocks the advertisement at your local network easily. However, we really want to rewrite the DNS Record by its DNS Server, not block ads.
Pi-hole also can install by Docker, we can complete the installation on Windows or Linux quickly.
This article will use Windows 11 operating system to tech. After the server had set up, we can use it by myself, or public to the Internet for other Switch players to connect to your server.
For the server owner, if you make the Pi-hole server public, you need to be responsible for the maintenance of the information security; for players, if you set up it in the local network, you can prevent the potential information security risk.
We already have a Windows version of the Docker installation tutorial, please complete THIS before continuing.
First, search and open the CMD.EXE.
Enter this command to install and start Pi-hole. It will download all of the packages and create a container to run.
docker run -d -p 53:53/tcp -p 53:53/udp -p 80:80 pihole/pihole
Set Pi-hole Password
Because Pi-hole installed with Docker will not tell us the default password, we need to use the command to reset. Please click the CLI button of the container from “Container / Apps” Tab.
Enter this command and finish the password setting.
sudo pihole -a -p
Next, open the browser, go to 127.0.0.1 and you will see the screen below. Please click ” Did you mean to go to the admin panel? ” to enter the dashboard.
Then switch to “Login”, enter the password you just set and log in.
Configure DNS Server
After you logged, go to “Settings” and switch to “DNS” page, change “Interface listening behavior” option to “Listen on all interfaces, permit all origins”. The debugging and maintenance will be relatively simple.
The save button is at the bottom-right of the page, remember to save.
Create Custom DNS Records
Here is going to redirect the Minecraft Feature Server Address to our server. You should be fill in the feature server address in the first field, and write the private server IP in another.
Here is what I’m sure it can use to redirect servers:
- Galaxite: play.galaxite.net
- Pixel Paradise: play.pixelparadise.gg
- Lifeboat: mco.lbsg.net
Configure Switch Network DNS
Please take out your Switch, open Settings > Network > Network Settings, then select the network that you are using and click Change Settings.
Change the DNS Setting from “Auto” to “Manual”, and fill in your Pi-hole server IP.
After completion, you’ll need to reconnect the network. Please make sure that the result is “Connected”.
Connect to Private Minecraft Server
Let’s verify the result. Start your Switch version of Minecraft, join the featured server we modified earlier, and connect.
If you can connect to the private server normally, you are successful.