Advertisement
Guest User

Untitled

a guest
Oct 17th, 2019
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.46 KB | None | 0 0
  1. Setup -
  2.  
  3. your welcome - robby
  4.  
  5.  
  6.  
  7. Requirements
  8. A Bedrock Compatible Minecraft Server
  9. As mentioned, this can be any server software you wish, however, it has been primarily tested with the official server software that Mojang releases
  10. This needs to be set to use port 19132 (the default port) and should be open to the internet
  11. Whitelists are recommended to stop trolls, however, it's up to you
  12. A server which you can reach DNS from
  13. This can be locally on your network, but, if you want friends to be able to use it, you likely want to have port 53 avaliable
  14. To make this easier, I use a droplet I had from DigitalOcean lying around, and installed the DNS server there, so I didn't need to open my home server's DNS up
  15. A domain name is recommended - if you don't have one, a dynamic address from NoIP or similar provider is fine - this is just to ensure that if your IP does change, your server doesn't stop working
  16. This guide assumes your server is already working. To test this, you can use Minecraft for Windows 10, or Minecraft on mobile devices (for those of you on Linux, check out the project MCPELauncher).
  17.  
  18. DNS Setup on the server
  19. This guide assumes you're running Linux, however, I've tried to make it easier to follow along on Windows
  20.  
  21. Download CoreDNS
  22. In case the config spec changes in future, this guide uses version 1.5.0
  23. Extract it with tar -xzf coredns_1.5.0_linux_amd64.tgz (Windows users: use 7zip to extract this archive)
  24. Create a file named Corefile (no extension) in the same folder as the Coredns executable.
  25. Open it, and copy the following contents in
  26. .:53 {
  27. rewrite name exact mco.lbsg.net example.com
  28. forward . 1.1.1.1:53
  29. }
  30. While doing this, replace example.com with the domain / IP for your server.
  31.  
  32. If you want to use a DNS server other than Cloudflare's for any other requests, change 1.1.1.1
  33.  
  34. This file will tell CoreDNS to treat all requests to mco.lbsg.net (the Lifeboat Network) as requests instead for example.com, which is the core component of the trick
  35.  
  36. (Skip this step if you use Windows) Mark CoreDNS as executable using chmod +x ./CoreDNS
  37.  
  38. Run CoreDNS
  39.  
  40. On Windows, you can run CoreDNS.exe from command prompt
  41. On Linux, you will need to use root permissions to run it, as Linux prevents non-root processes from communicating on port 53 - do this with sudo ./CoreDNS
  42. DNS setup on the console
  43. This assumes for now you are using a Nintendo Switch. The process will be similar for other consoles, apart from the Switch specific menus
  44.  
  45. Ensure Minecraft is fully closed (not just suspended)
  46. Head to Settings > Internet > Internet Settings
  47. Tap your preferred Internet connection, then tap "Change Settings"
  48. Scroll down to "DNS Settings" and change this from "Automatic" to "Manual"
  49. In Primary and Secondary DNS, enter the IP address of your DNS server
  50. If you aren't sure of the IP of your server, there are multiple websites on the internet to find this
  51. If you are on a cloud server (e.g a DigitalOcean Droplet/Linode Instance) check your providers web panel for this (you should already know it though)
  52. For stability you should repeat the DNS server instructions on two different servers, on unique networks, so if one becomes unavaliable, you don't lose network connectivity on your console
  53. Tap "Save", then "Connect to This Network"
  54. Go to the home screen, and open Minecraft
  55. Go to "Play" then navigate across to "Servers" - the Lifeboat network should now show your MOTD
  56. Connect to the "Lifeboat Network" - you should now connect to your server instead
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement