RELEASE 90DNS: DNS server for blocking all Nintendo Servers

Discussion in 'Switch - Emulation, Homebrew & Software Projects' started by AveSatanas, Aug 27, 2018.

Loading...
  1. novalkun

    novalkun Advanced Member

    Newcomer
    3
    Jan 21, 2017
    Indonesia
    I am sorry. Do you mean the internet provider?
    I still do not know how to use python on macosx, but i do know on windows. What are the log for a succesfull 90dns connected status on python script?

    — Posts automatically merged - Please don't double post! —

    It means the switch cannot connect to the internet because ISP block manual DNS. It also happens to my 3 ISP
     
  2. AveSatanas
    OP

    AveSatanas GBAtemp Regular

    Member
    6
    Aug 7, 2018
    United States
    The script it very straightforward and end-user friendly, and will tell you if 90dns works or not when it's done. You can even run it on either python2 and 3.

    Yes, N domains are pointed to 127.0.0.1 which is lo. It's weird that PC works but switch doesn't, though. I'll investigate.
     
    Ejec likes this.
  3. novalkun

    novalkun Advanced Member

    Newcomer
    3
    Jan 21, 2017
    Indonesia
    I see. So if i use 90 dns and then if i open nintendo website, and connected, it means 90dns is not working then :cry:
     
  4. AveSatanas
    OP

    AveSatanas GBAtemp Regular

    Member
    6
    Aug 7, 2018
    United States
    I mean... DNS caches exist. Most browsers make use of them. That's why I recommend the exe or the .py script.
     
  5. novalkun

    novalkun Advanced Member

    Newcomer
    3
    Jan 21, 2017
    Indonesia
    Is that response with .exe normal?
     
  6. novalkun

    novalkun Advanced Member

    Newcomer
    3
    Jan 21, 2017
    Indonesia
    is the status okay?

    — Posts automatically merged - Please don't double post! —

    this is from my mac and windows. on windows (cmd) i use 90dns, on mac (terminal) i do not use 90 dns
     

    Attached Files:

    Last edited by novalkun, Sep 4, 2018
  7. AveSatanas
    OP

    AveSatanas GBAtemp Regular

    Member
    6
    Aug 7, 2018
    United States
    That looks good to me. Those scripts manually contact the DNS IPs so it doesn't matter what your current DNS is.
     
    novalkun likes this.
  8. novalkun

    novalkun Advanced Member

    Newcomer
    3
    Jan 21, 2017
    Indonesia
    what happen to 90DNS? i cannot applied it now. Is the server down?
     
    Last edited by novalkun, Sep 5, 2018
  9. AveSatanas
    OP

    AveSatanas GBAtemp Regular

    Member
    6
    Aug 7, 2018
    United States
    No, it's up. I guess I'll have to write elstat support for it so that people can see that it's not down.

    [​IMG]
     
    novalkun likes this.
  10. novalkun

    novalkun Advanced Member

    Newcomer
    3
    Jan 21, 2017
    Indonesia
    It seems my ISP often do not connect/answer to DNS :rofl2:
     
    Last edited by novalkun, Sep 6, 2018
  11. AveSatanas
    OP

    AveSatanas GBAtemp Regular

    Member
    6
    Aug 7, 2018
    United States
    I hate ISPs.
     
    novalkun likes this.
  12. novalkun

    novalkun Advanced Member

    Newcomer
    3
    Jan 21, 2017
    Indonesia
    it seems i need to wait some setting from cfw to automatically block nintendo. not by modify DNS in Internet setting.
     
  13. AveSatanas
    OP

    AveSatanas GBAtemp Regular

    Member
    6
    Aug 7, 2018
    United States
    You can always self-host 90DNS in your network, then your ISP has no say over what you can do and what you can not do.
     
  14. novalkun

    novalkun Advanced Member

    Newcomer
    3
    Jan 21, 2017
    Indonesia
    How do i self-host 90DNS?
     
  15. AveSatanas
    OP

    AveSatanas GBAtemp Regular

    Member
    6
    Aug 7, 2018
    United States
    https://gitlab.com/ao/90dns/blob/master/SELFHOST.md

    Simplest solution would be to use dnsmasq and use the pre-made fake conntest server. You'll need a linux machine for this, preferably open 7-24. I recommend using a raspberry pi.
     
    novalkun likes this.
  16. novalkun

    novalkun Advanced Member

    Newcomer
    3
    Jan 21, 2017
    Indonesia
    i see. I need to purchase raspberry pi first then. thank you for your help
     
  17. Bellebite2000

    Bellebite2000 GBAtemp Regular

    Member
    2
    Jul 31, 2018
    Afghanistan
    Simplest solution is to use stealth mode from SX OS. Otherwise, you need a NASA engineer degree to set this up properly (for most people).
     
  18. AveSatanas
    OP

    AveSatanas GBAtemp Regular

    Member
    6
    Aug 7, 2018
    United States
    No. It's as simple as:
    • "sudo apt update" (updates package list)
    • "sudo apt install dnsmasq" (installs dnsmasq)
    • "sudo wget https://gitlab.com/ao/90dns/raw/master/dnsmasq/dnsmasq.conf -O /etc/dnsmasq.conf" (downloads and puts dnsmasq config to right place)
    • "sudo systemctl restart dnsmasq" (restarts dnsmasq)
    • "sudo systemctl enable dnsmasq" (ensures that dnsmasq runs at boot)
    then you just point your switch to the IP of the device you ran these on. You might also want to go and make this device have a static internal IP on your network. Sadly, I can't make a guide about that because it differs a lot from router to router.

    Also > advertising a product that stole from me on my thread

    wow.
     
    Last edited by AveSatanas, Sep 6, 2018
    Slim45 likes this.
  19. xdpirate

    xdpirate Member

    Newcomer
    2
    Sep 8, 2008
    Norway
    Can this be combined with pi-hole on the same box without either interfering with one another?

    Edit: Yes it can. Just put dnsmasq.conf from the 90DNS repo in /etc/dnsmasq.d as "02-90dns.conf" or something similar, replace all instances of "192.168.0.1" in it with your pihole's IP, save the file, then run "pihole restartdns".

    Edit edit: For the lazy:
    Code:
    sudo wget https://gitlab.com/ao/90dns/raw/master/dnsmasq/dnsmasq.conf -O /etc/dnsmasq.d/02-90dns.conf
    sudo sed -i -e "s/192.168.0.1/$(hostname -I)/g" /etc/dnsmasq.d/02-90dns.conf
    pihole restartdns
    
     
    Last edited by xdpirate, Sep 8, 2018
  20. Slim45

    Slim45 GBAtemp Regular

    Member
    4
    Aug 6, 2018
    United Kingdom
    no not really :/ just half a brain
     
Quick Reply
Draft saved Draft deleted
Loading...