/DNS-Server

This server will allow you to connect to RiiConnect24 Servers when your Internet Service Provider does not work allow using Custom DNS.

Primary LanguagePython

RiiConnect24 DNS Server Actions Status

This DNS Server will run locally on your computer and allow your Wii to connect to RiiConnect24 servers even if your ISP blocks connections to our DNS Server. When you use the DNS on your Wii or with this app, it also enhances the use of services such as Wiimmfi. This tool can also be used as a DNS server for Nintendo DS games.

Setup

Setup process is the same as shown on our guide https://wii.guide/riiconnect24

You will only need to change DNS Settings in your Wii.

First, make sure that your Wii is connected to the same network as your computer is.

If you use Pi-hole, please see Setting up Pi-hole

Running on Windows:

Run the .exe provided on the releases page. If your antivirus notifies you about the .exe file, allow it and run it. If it doesn't work, you should also allow communication for this this .exe in your firewall settings.

Running on Linux/macOS:

You will need to install Python 3 and run these commands in the Terminal.

pip install dnslib requests

To run it, simply type in:

sudo python3 RiiConnect24-DNS-Server.py

Replace python3 with the name/path to your Python binary if necessary

How to use it?

After starting the program, it will download the current list of the DNS Addresses to forward and will run.

On screen, you will see the IP Address assigned to your computer by the DHCP Server on your NAT (router).

If your Wii is connected to the same network as your PC, it will be able to connect to the server on your PC.

My local IP Address, yours will be different.

Compiling on Windows

To compile this app on Windows, you will need to run these two commands (Important: Pyinstaller currently fails to build with Python 3.8, use Python 3.7.5):

pip install dnslib requests pyinstaller

Once it's done installing, run:

pyinstaller RiiConnect24-DNS-Server.spec

| Tip: You may need to edit RiiConnect24-DNS-Server_v1.0.spec so the compiling process works on your computer.

Setting up Pi-hole

On the server running Pi-hole, run the following commands:

git clone https://github.com/riiconnect24/dns-server
cd dns-server
sudo mv ./dns_zones-hosts.txt /path/to/somewhere/
sudo touch /etc/dnsmasq.d/customHosts.conf
echo "addn-hosts=/path/to/somewhere/dns_zones-hosts.txt" | sudo tee /etc/dnsmasq.d/customHosts.conf
cd ..
rm -rf dns-server/
sudo systemctl restart pihole-FTL.service

Substitute any directory of your choice into /path/to/somewhere/ which is accessible by the root user. An example of this can be /home/pi/.

Need more help?

You can talk to us over on the RiiConnect24 Discord server, where people can try and help you out!