Skip to content

Commit d7e02be

Browse files
committed
Update README
1 parent 296d418 commit d7e02be

File tree

5 files changed

+95
-22
lines changed

5 files changed

+95
-22
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
.venv
2-
dnsmasq.conf
2+
dnsmasq.conf
3+
build/
4+
dist/

README.md

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,29 @@
1-
RiiConnect24 DNS Server [![Actions Status](https://github.com/RiiConnect24/DNS-Server/workflows/Build/badge.svg)](https://github.com/RiiConnect24/DNS-Server/actions)
1+
WiiLink DNS Server [![Actions Status](https://github.com/WiiLink24/DNS-Server/workflows/Build/badge.svg)](https://github.com/WiiLink24/DNS-Server/actions)
22
===
33

4-
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.
4+
This DNS Server will run locally on your computer and allow your Wii to connect to WiiLink servers to use additional services, 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.
55

66
## Setup
77

8-
Setup process is the same as shown on our guide
9-
https://wii.guide/riiconnect24
8+
You will only need to change DNS settings on your console.
109

11-
You will only need to change DNS Settings in your Wii.
12-
13-
First, make sure that your Wii is connected to the same network as your computer is.
10+
First, make sure that your console is connected to the same network as your computer is.
1411

1512
**If you use Pi-hole, please see [Setting up Pi-hole](#Setting-up-Pi-hole)**
1613

1714
# Running on Windows:
1815

19-
Run the .exe provided [on the releases page](https://github.com/RiiConnect24/RiiConnect24-DNS-Server/releases). 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.
16+
Run the .exe provided [on the releases page](https://github.com/WiiLink24/-DNS-Server/releases). If your antivirus notifies you about the .exe file, allow it and run it. If it doesn't work, ensure you have allowed communication for this this .exe in your firewall settings.
2017

2118
# Running on Linux/macOS:
2219

23-
You will need to install Python 3 and run these commands in the Terminal.
20+
You will need to install Python 3 and run these commands in the Terminal:
2421

2522
> pip install dnslib requests
2623
2724
To run it, simply type in:
2825

29-
> sudo python3 RiiConnect24-DNS-Server.py
26+
> sudo python3 DNS-Server.py
3027
3128
Replace `python3` with the name/path to your Python binary if necessary
3229

@@ -40,28 +37,28 @@ If your Wii is connected to the same network as your PC, it will be able to conn
4037

4138
<p align="center">
4239
<img src="https://i.imgur.com/oageZQ3.jpg">
43-
<i>My local IP Address, yours will be different.</i>
40+
<i>My local IP Address, yours <b>WILL</b> be different.</i>
4441
</p>
4542

4643

4744
# Compiling on Windows
4845

49-
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):
46+
To compile this app on Windows, you will need to run these two commands:
5047
>pip install dnslib requests pyinstaller
5148
5249
Once it's done installing, run:
53-
>pyinstaller RiiConnect24-DNS-Server.spec
50+
>pyinstaller DNS-Server.spec
5451
55-
| Tip: You may need to edit RiiConnect24-DNS-Server_v1.0.spec so the compiling process works on your computer.
52+
| Tip: You may need to edit DNS-Server.spec so the compiling process works on your computer.
5653

5754
# Setting up Pi-hole
5855

5956
On the server running Pi-hole, run the following command:
6057

6158
```bash
62-
curl https://raw.githubusercontent.com/RiiConnect24/DNS-Server/master/dns_zones-hosts.txt >> /etc/pihole/custom.list
59+
curl https://raw.githubusercontent.com/WiiLink24/DNS-Server/master/dns_zones-hosts.txt >> /etc/pihole/custom.list
6360
```
64-
RiiConnect24 domains will be listed on Pi-hole webpage menu under "Local DNS Records".
61+
WiiLink domains will be listed on Pi-hole webpage menu under "Local DNS Records".
6562

6663
# Need more help?
67-
You can talk to us over on the [RiiConnect24 Discord server](https://discord.gg/b4Y7jfD), where people can try and help you out!
64+
You can talk to us over on our [Discord server](https://discord.gg/wiilink), where people can try and help you out!

dns-convert.py

Lines changed: 29 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import json
22

3-
def parse_dnsmasq_config(file_path):
3+
def parse_dnsmasq_config_json(file_path):
44
entries = []
55

66
with open(file_path, 'r') as f:
@@ -27,9 +27,34 @@ def write_json(entries, output_path):
2727
with open(output_path, 'w') as f:
2828
json.dump(entries, f, indent=3)
2929

30+
def parse_dnsmasq_config_txt(file_path):
31+
entries = ""
32+
33+
with open(file_path, 'r') as f:
34+
for line in f:
35+
line = line.strip()
36+
if line.startswith('address=') and '/' in line:
37+
try:
38+
_, rest = line.split('=', 1)
39+
parts = rest.split('/')
40+
if len(parts) == 3:
41+
_, domain, ip = parts
42+
entry = f"{ip} {domain}\n"
43+
entries = entries + entry
44+
except ValueError:
45+
continue # Skip malformed lines
46+
47+
return entries
48+
3049
# Example usage
3150
if __name__ == "__main__":
3251
config_path = 'dnsmasq.conf' # Input file path
33-
output_path = 'dns_zones.json' # Output JSON path
34-
entries = parse_dnsmasq_config(config_path)
35-
write_json(entries, output_path)
52+
53+
output_json_path = 'dns_zones.json' # Output JSON path
54+
output_txt_path = 'dns_zones-hosts.txt'
55+
56+
json_entries = parse_dnsmasq_config_json(config_path)
57+
write_json(json_entries, output_json_path)
58+
59+
txt_entries = parse_dnsmasq_config_txt(config_path)
60+
open(output_txt_path, 'w').write(txt_entries)

dns_zones-hosts.txt

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
95.217.77.151 gamespy.com
2+
178.62.43.212 nas.nintendowifi.net
3+
95.217.77.151 available.gs.nintendowifi.net
4+
95.217.77.181 master.gs.nintendowifi.net
5+
195.201.236.139 peerchat.gs.nintendowifi.net
6+
20.104.25.104 pkgdsprod.nintendo.co.jp
7+
178.62.43.212 pkvldtprod.nintendo.co.jp
8+
178.62.43.212 ds.pokemon-gl.com
9+
178.62.43.212 en-ds.pokemon-gl.com
10+
178.62.43.212 es-ds.pokemon-gl.com
11+
178.62.43.212 fr-ds.pokemon-gl.com
12+
178.62.43.212 it-ds.pokemon-gl.com
13+
178.62.43.212 ko-ds.pokemon-gl.com
14+
195.201.236.139 gamestats.gs.nintendowifi.net
15+
195.201.236.139 gamestats2.gs.nintendowifi.net
16+
78.46.231.155 sake.gamespy.com
17+
95.217.77.151 gs.nintendowifi.net
18+
78.46.231.155 a.dls1.wiimmfi.de
19+
195.201.236.139 dls1.wiimmfi.de
20+
195.201.236.139 dls1.ilostmymind.xyz
21+
152.70.198.159 axing.nintendowifi.net
22+
167.235.229.36 cfh.wapp.wii.com
23+
167.235.229.36 ente.wapp.wii.com
24+
167.235.229.36 entj.wapp.wii.com
25+
167.235.229.36 entu.wapp.wii.com
26+
167.235.229.36 miicontest.wapp.wii.com
27+
167.235.229.36 miicontestp.wapp.wii.com
28+
167.235.229.36 news.wapp.wii.com
29+
152.70.198.159 nwcs.wapp.wii.com
30+
167.235.229.36 vt.wapp.wii.com
31+
167.235.229.36 weather.wapp.wii.com
32+
152.70.198.159 wus.wapp.wii.com
33+
152.70.198.159 rs.nintendo.com
34+
152.70.198.159 ms.nintendo-europe.com
35+
152.70.198.159 wiirecommend.nintendo.com.au
36+
152.70.198.159 wii.nintendo.co.jp
37+
178.62.43.212 flipnote.hatena.com
38+
178.62.43.212 maintenance.hatena.ne.jp
39+
178.62.43.212 ugo.hatena.ne.jp
40+
178.62.43.212 ugomemo.hatena.ne.jp
41+
92.222.69.160 gdata.youtube.com
42+
152.70.198.159 syscheck.softwii.de
43+
165.227.235.155 nwdsrvwdbctl.nintendo.co.jp
44+
165.227.235.155 nzone001.nintendo-europe.com
45+
167.235.229.36 geckocodes.org
46+
195.201.236.139 secure.touchmasterconnect.com
47+
167.235.229.36 ccs.cdn.sho.rc24.xyz
48+
167.235.229.36 api.tubefixer.ovh

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
dnslib
22
requests
3+
pyinstaller

0 commit comments

Comments
 (0)