Setting up a BedrockConnect DNS server for your Minecraft server on a Windows PC involves several steps. Here's a step-by-step guide to help you through the process:
Prerequisites:
- You have a Minecraft server set up and running on your Windows PC.
- You have a domain name (e.g., example.com) that you want to use for your Minecraft server.
- You have a static IP address or a dynamic DNS (DDNS) service set up for your Windows PC.
Step 1: Install BedrockConnect
- Download the BedrockConnect software from the official GitHub repository: https://github.com/BedrockConnect/BedrockConnect
- Extract the downloaded zip file to a directory on your Windows PC (e.g.,
C:\BedrockConnect).
- Open the
config.json file in a text editor (e.g., Notepad++) and configure the settings as desired. You can leave most settings at their default values.
Step 2: Set up the DNS Server
- Open the Command Prompt as an administrator on your Windows PC. You can do this by right-clicking on the Start button and selecting "Command Prompt (Admin)".
- Navigate to the directory where you extracted BedrockConnect:
cd C:\BedrockConnect
- Run the following command to start the BedrockConnect DNS server:
bedrockconnect.exe --dns
- The DNS server will start and listen on port 53 (the default DNS port). You can verify this by checking the output in the Command Prompt window.
Step 3: Configure Your Domain's DNS Records
- Log in to your domain registrar's control panel (e.g., GoDaddy, Namecheap) and navigate to the DNS management section.
- Create a new DNS record for your Minecraft server:
- Record type: SRV (Service Record)
- Name:
_minecraft._tcp
- Priority: 0
- Weight: 0
- Port: 19132 (the default Minecraft Bedrock port)
- Target: Your domain name (e.g., example.com)
- Create another DNS record for the BedrockConnect DNS server:
- Record type: NS (Name Server)
- Name:
bedrock.example.com (replace "example.com" with your domain name)
- Target: Your Windows PC's IP address (or DDNS hostname)
Step 4: Configure Your Minecraft Server
- Open your Minecraft server's configuration file (usually
server.properties) in a text editor.
- Add the following line to the file:
server-name=example.com (replace "example.com" with your domain name)
- Save the changes to the configuration file.
Step 5: Test Your Setup
- Start your Minecraft server and BedrockConnect DNS server.
- On a Minecraft Bedrock client, try connecting to your server using the domain name (e.g., example.com).
- If everything is set up correctly, you should be able to connect to your server using the domain name.
Troubleshooting Tips:
- Make sure your Windows PC's firewall allows incoming traffic on port 53 (DNS) and port 19132 (Minecraft Bedrock).
- Verify that your domain's DNS records are propagated correctly by using a tool like
dig or nslookup.
- Check the BedrockConnect logs for any errors or issues.
By following these steps, you should be able to set up a BedrockConnect DNS server for your Minecraft server on a Windows PC. If you encounter any issues or have further questions, feel free to ask!