Homebrew RELEASE 90DNS: DNS server for blocking all Nintendo Servers

Skonikol

Well-Known Member
Member
Joined
May 25, 2017
Messages
119
Trophies
0
Age
41
Location
Muhosransk
XP
566
Country
Russia
Follow the OP, use 90DNS. simple.
Yes, of course I did. Thank you very much for your service. I hope you'll let us know if the server goes down.
It is very frustrating that the console is not able to connect to the network without the Internet.
At home, I can connect all the devices to an empty network, even my cat :whip:, except Switch...

I tried to deal with my own server, but I did not have enough knowledge on macOS, maybe later I will figure it out.
 
Last edited by Skonikol,

Naguz

Active Member
Newcomer
Joined
May 9, 2008
Messages
44
Trophies
1
XP
255
Country
Norway
I still get notifications about available game updates while using 90dns. This makes me somewhat uncertain if it catches all. Anybody else gets those?
 

Localhorst86

Robert'); DROP TABLE members;--
Member
Joined
Jul 17, 2014
Messages
2,739
Trophies
1
Location
Nintendo works for my dad
XP
5,362
Country
Germany
I'll see how to setup those blocks with PiHole for people who use it like me.
For using the blocks itself, simply download the 90dns dnsmasq config to /etc/dnsmasq/02-90dns.conf and edit the file to change all instances of 192.168.0.1 (basically all instances of Nintendo.<tld> except the two connection test hostnames) to the ip of your pi-hole.

Now, self hosting the two connection test replies on your pi-hole is possible as well, but a lot more trickier. The basic gist is to assign two ip addresses to your pi-hole, install a secondary web server (nginx) and make the pi-hole admin interface (lighttpd) listen on one of the ip addresses on port 80, the second web server (nginx) on the secondary ip, also port 80, then edit the 02—90dns.conf to point the two connection tests to the second ip. It's tricky and you need a certain amount of Linux and networking knowledge/research to pull it off, though.

Gesendet von meinem Mi A1 mit Tapatalk
 

Skonikol

Well-Known Member
Member
Joined
May 25, 2017
Messages
119
Trophies
0
Age
41
Location
Muhosransk
XP
566
Country
Russia
I still get notifications about available game updates while using 90dns. This makes me somewhat uncertain if it catches all. Anybody else gets those?
These notifications will also appear when there is no connection, as this information is contained in new games and updates that you install.
 
  • Like
Reactions: Naguz

Rushhour77

Well-Known Member
Newcomer
Joined
Aug 1, 2007
Messages
79
Trophies
0
Location
NL
XP
466
Country
Netherlands
Firstly, great job in helping and hosting everything.
I would like to use 90DNS, but before i do, are there any reports of users who still got banned while using 90DNS? Offcourse I understand it could also be a flagged switch that was banned later. I would just like to know if there are none reports or maybe a few.
Thx!
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
45
Location
Engine room, learning
XP
15,650
Country
France
how would you know if you are banned, if you can't connect to nintendo servers because you are blocking the URL?
you can't be banned only for using a DNS, you are banned for any CFW usage. If you unblock access to servers to see if you are banned they will know you did CFW and will ban you for that. if you use CFW and they don't have any way to know about it, they can't ban you.
90DNS is used for that, blocking (most?) all nintendo's domain to prevent sending any data to their servers.

90DNS is based on a black list system, where you put all domain name you want to filter, and if you forget one or if nintendo adds new one, 90DNS will not filter it.
Isn't it better/safer to use a white list system? I'm using CCproxy with white list mode, and only allow LAN, switchbru appstore and nintendo connection test server. I don't know if it blocks IP requests or only URL requests, but I find it safer. so far I saw blocked URL in the log, but I don't know if everything is correctly blocked as it logs only blocked requests, and only http & ftp ? no idea if there are UDP requests.
 
Last edited by Cyan,

Rushhour77

Well-Known Member
Newcomer
Joined
Aug 1, 2007
Messages
79
Trophies
0
Location
NL
XP
466
Country
Netherlands
how would you know if you are banned, if you can't connect to nintendo servers because you are blocking the URL?
you can't be banned only for using a DNS, you are banned for any CFW usage. If you unblock access to servers to see if you are banned they will know you did CFW and will ban you for that.
Fair point lol

90DNS is based on a black list system, where you put all domain name you want to filter, and if you forget one or if nintendo adds new one, 90DNS will not filter it.
Thats my concern also

Isn't it better/safer to use a white list system?
Very interesting. I was really looking into this because i would like to transfer using network or ftp. Whitelist would be pretty safe imo.
 

AveSatanas

Well-Known Member
OP
Member
Joined
Aug 7, 2018
Messages
153
Trophies
0
XP
950
Country
Chad
Firstly, great job in helping and hosting everything.
I would like to use 90DNS, but before i do, are there any reports of users who still got banned while using 90DNS? Offcourse I understand it could also be a flagged switch that was banned later. I would just like to know if there are none reports or maybe a few.
Thx!
I used it for months, did all sorts of unfun things (unfun for N), and after I recovered my clean nand backup I wasn't banned.

how would you know if you are banned, if you can't connect to nintendo servers because you are blocking the URL?
you can't be banned only for using a DNS, you are banned for any CFW usage. If you unblock access to servers to see if you are banned they will know you did CFW and will ban you for that. if you use CFW and they don't have any way to know about it, they can't ban you.
90DNS is used for that, blocking (most?) all nintendo's domain to prevent sending any data to their servers.

90DNS is based on a black list system, where you put all domain name you want to filter, and if you forget one or if nintendo adds new one, 90DNS will not filter it.
Isn't it better/safer to use a white list system? I'm using CCproxy with white list mode, and only allow LAN, switchbru appstore and nintendo connection test server. I don't know if it blocks IP requests or only URL requests, but I find it safer. so far I saw blocked URL in the log, but I don't know if everything is correctly blocked as it logs only blocked requests, and only http & ftp ? no idea if there are UDP requests.
As it stands rn, nintendo would need a whole new domain and likely an update. I doubt that they'll get into a cat and mouse game with me.

Blocking IP wouldn't work, because it's a DNS. If N starts using IPs have a solution for that too, but I won't release it just yet.

If you want smth custom like that, you're probably better off using a custom solution like you are doing rn. I might do a whitelist 90DNS one day, but eh.
 
Last edited by AveSatanas,
  • Like
Reactions: Rushhour77

Localhorst86

Robert'); DROP TABLE members;--
Member
Joined
Jul 17, 2014
Messages
2,739
Trophies
1
Location
Nintendo works for my dad
XP
5,362
Country
Germany
I decided to block all outgoing network traffic for my switch. I.e., my Switch device can only communicate inside my local network. No traffic from my switch can leave the house. Thanks to @AveSatanas 's self hosting guide I was able to host the connection test responses on my pi-hole. So I can still connect to my Wifi for FTP or DZ purposes.
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
45
Location
Engine room, learning
XP
15,650
Country
France
Someone know which error code is 2160-8056 ?

it's the error I get when using CCProxy in whitelist mode.
I allow this :
Code:
192.168.0.*;
ctest.cdn.nintendo.net;
conntest.nintendowifi.net;
*switchbru.com*;

It pass the router and internet test. (ctest.cdn.nintendo.net)
it fails when testing the connection (with 90DNS it fails at the same position, but the error is 2160-8007), it tries to connect to aauth, app, and dauth.
internet seems to work in appstore.
I tried dz to see if LAN was accessible, but it crashes right away, maybe it doesn't work on 4.1.0. I'll update to 6.x soon or try another LAN enabled homebrew.

I was just wondering why I have a different error code while it crashes at the same position in the test.
 
Last edited by Cyan,
  • Like
Reactions: sangweb

AveSatanas

Well-Known Member
OP
Member
Joined
Aug 7, 2018
Messages
153
Trophies
0
XP
950
Country
Chad
Can I update the joycons with this or not
Uh, sure? It's embedded in switch firmware anyways.

Don't update if you're on 5.1.0 or higher with 9-10 pins soldered in your joycon, that'll break them. Switch to a 10k resistor between 1-10 or 7-10 before updating.

--------------------- MERGED ---------------------------

Someone know which error code is 2160-8056 ?

it's the error I get when using CCProxy in whitelist mode.
I allow this :
Code:
192.168.0.*;
ctest.cdn.nintendo.net;
conntest.nintendowifi.net;
*switchbru.com*;

It pass the router and internet test. (ctest.cdn.nintendo.net)
it fails when testing the connection (with 90DNS it fails at the same position, but the error is 2160-8007), it tries to connect to aauth, app, and dauth.
internet seems to work in appstore.
I tried dz to see if LAN was accessible, but it crashes right away, maybe it doesn't work on 4.1.0. I'll update to 6.x soon or try another LAN enabled homebrew.

I was just wondering why I have a different error code while it crashes at the same position in the test.
Failing connection test is normal ALA internet test passes.
 

JCreazy

Member
Newcomer
Joined
Jul 26, 2010
Messages
21
Trophies
0
XP
141
Country
United States
Thank you for this. I just found out about it so haven't given it a try. I'm on 6.1.0 though so I will wait until you have a chance to report if it ok to use.
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
45
Location
Engine room, learning
XP
15,650
Country
France
6.0.1 yes.
6.1.0 might have added new URLs, you might want to wait until AveSatanas confirms everything is safe.
but most "nintendo.tld" (all domain used by nintendo) are blocked, if nintendo adds new url they would be of that sub domain, so it's almost certain to be safe.
 
Last edited by Cyan,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • BakerMan @ BakerMan:
    i said i was sleeping...
  • BakerMan @ BakerMan:
    sleeping with uremum
  • K3Nv2 @ K3Nv2:
    Even my mum slept on that uremum
  • TwoSpikedHands @ TwoSpikedHands:
    yall im torn... ive been hacking away at tales of phantasia GBA (the USA version) and have so many documents of reverse engineering i've done
  • TwoSpikedHands @ TwoSpikedHands:
    I just found out that the EU version is better in literally every way, better sound quality, better lighting, and there's even a patch someone made to make the text look nicer
  • TwoSpikedHands @ TwoSpikedHands:
    Do I restart now using what i've learned on the EU version since it's a better overall experience? or do I continue with the US version since that is what ive been using, and if someone decides to play my hack, it would most likely be that version?
  • Sicklyboy @ Sicklyboy:
    @TwoSpikedHands, I'll preface this with the fact that I know nothing about the game, but, I think it depends on what your goals are. Are you trying to make a definitive version of the game? You may want to refocus your efforts on the EU version then. Or, are you trying to make a better US version? In which case, the only way to make a better US version is to keep on plugging away at that one ;)
  • Sicklyboy @ Sicklyboy:
    I'm not familiar with the technicalities of the differences between the two versions, but I'm wondering if at least some of those differences are things that you could port over to the US version in your patch without having to include copyrighted assets from the EU version
  • TwoSpikedHands @ TwoSpikedHands:
    @Sicklyboy I am wanting to fully change the game and bend it to my will lol. I would like to eventually have the ability to add more characters, enemies, even have a completely different story if i wanted. I already have the ability to change the tilemaps in the US version, so I can basically make my own map and warp to it in game - so I'm pretty far into it!
  • TwoSpikedHands @ TwoSpikedHands:
    I really would like to make a hack that I would enjoy playing, and maybe other people would too. swapping to the EU version would also mean my US friends could not legally play it
  • TwoSpikedHands @ TwoSpikedHands:
    I am definitely considering porting over some of the EU features without using the actual ROM itself, tbh that would probably be the best way to go about it... but i'm sad that the voice acting is so.... not good on the US version. May not be a way around that though
  • TwoSpikedHands @ TwoSpikedHands:
    I appreciate the insight!
  • The Real Jdbye @ The Real Jdbye:
    @TwoSpikedHands just switch, all the knowledge you learned still applies and most of the code and assets should be the same anyway
  • The Real Jdbye @ The Real Jdbye:
    and realistically they wouldn't

    be able to play it legally anyway since they need a ROM and they probably don't have the means to dump it themselves
  • The Real Jdbye @ The Real Jdbye:
    why the shit does the shitbox randomly insert newlines in my messages
  • Veho @ Veho:
    It does that when I edit a post.
  • Veho @ Veho:
    It inserts a newline in a random spot.
  • The Real Jdbye @ The Real Jdbye:
    never had that i don't think
  • Karma177 @ Karma177:
    do y'all think having an sd card that has a write speed of 700kb/s is a bad idea?
    trying to restore emunand rn but it's taking ages... (also when I finished the first time hekate decided to delete all my fucking files :wacko:)
  • The Real Jdbye @ The Real Jdbye:
    @Karma177 that sd card is 100% faulty so yes, its a bad idea
  • The Real Jdbye @ The Real Jdbye:
    even the slowest non-sdhc sd cards are a few MB/s
  • Karma177 @ Karma177:
    @The Real Jdbye it hasn't given me any error trying to write things on it so I don't really think it's faulty (pasted 40/50gb+ folders and no write errors)
  • DinohScene @ DinohScene:
    run h2testw on it
  • DinohScene @ DinohScene:
    when SD cards/microSD write speeds drop below a meg a sec, they're usually on the verge of dying
    DinohScene @ DinohScene: when SD cards/microSD write speeds drop below a meg a sec, they're usually on the verge of dying