Not clear that raspberry pi image not running DNS
What happened?
When trying to spin up the raspberry pi container. I run into the following issue.
Starting docker image.
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES d93cfc47b6ee bedrock-connect "java -Xms256M -Xmx2…" 3 hours ago Up 3 hours 192.168.178.11:19132->19132/udp, :::19132->19132/udp bedrock-c
Container runs and can connect to the port via other machine. It is not clear in the description that this container does not feature dns.
installed pihole as dns server as docker but the nintendo switch is not popping up with the menu. Edit: Came to the conclusion that an dns entry is needed
Any idea's what to do?
Expected Behaviour?
That there is some notification if you run only the container connection will not work if there is no dns server running on the host where the container is launched. Step to step guidance to have this complete setup working.
Steps to reproduce.
Starting container docker run --name "bedrock-c" -d --restart always -p 192.168.178.11:19132:19132/udp bedrock-connect will result the host (192.168.178.11) will have a container running with port 19132 open but the host has no DNS function.
Now i installed pihole as dns server as docker but the nintendo switch is popping up with the menu but cannot connect.
Screenshots/Videos
No response
Minecraft Bedrock Version
No response
Console
Nintendo switch
Additional Context
nmap.exe -p 19132 -sU 192.168.178.11
Starting Nmap 7.80 ( https://nmap.org ) at 2022-11-24 21:55 W. Europe Standard Time
Nmap scan report for 192.168.178.11
Host is up (0.0010s latency).
PORT STATE SERVICE
19132/udp open|filtered unknown
BedrockConnect is not a DNS server, it's just a modified Minecraft server that a separate DNS server redirects the featured servers to. The DNS server software you use is ultimately up to you, and should be ran in a separate container.
That being said, I added a note to the README in the raspberry pi folder that the DNS software needs to be installed separately. If anyone wants to add a separate Docker file for a DNS server setup in that folder, contributions are welcome.
If you look under the scripts folder in the repository, there's a "install-bind.sh", which can be ran to automatically install BIND (a DNS server) and auto-setup the needed DNS entries. You can also peak at the Linux guide for an overall look at a complete setup: https://github.com/Pugmatt/BedrockConnect/wiki/Setting-up-on-Linux
For pihole, you'll need to setup the DNS entries to redirect the featured servers to your BedrockConnect instance. The domains for these entries can be found in the "Using your own DNS server" section of the root README https://github.com/Pugmatt/BedrockConnect#using-your-own-dns-server (Make sure to replace 104.238.130.180 with your IP)