[Release] DNSwitch4All - A public DNS Server to hijack the webbrowser & block updates

Discussion in 'Switch - Hacking & Homebrew' started by Sasori, Mar 12, 2017.

  1. Sasori
    OP

    Sasori GBAtemp Maniac

    Member
    1,320
    749
    Jan 28, 2015
    United States
    DNSwitch4All
    Easier/Noob friendly version of DNSwitch

    Requirements
    1. Python 3.6 or Python 2.0
    2. A webserver(if you want PHP)
    How to use
    1. Open the settings app on your nintendo switch
    2. Select your wifi connection
    3. Click change settings
    4. Click DNS Settings and change it to manual and enter the following IP as your Primary DNS "107.170.190.128"
    5. Click save and run a connection test and click okay once the switch asks you to register
    6. Once you click ok you should be redirected to a webpage that you can modify by running one of the two scripts in the DNSwitch4All repo that will automatically redirect you to either a website like google or even a custom website such as http://dnswitch.redthetrainer.com
    7. Alternatively you can also configure your DNS Redirect with the following page(no python required) http://107.170.190.128/configure.php
    8. Once the site is changed to your liking simply run a connection test again and click okay!
    Credits
    Visual Studio from Se7enSins for creating the scripts

    Todo
    Make executables of these scripts for easier access amongst the community - Currently being worked on by Visual Studio

    Video/Screenshots
    Warning: Spoilers inside!

    Source/Download
    If you're interesting in view the source code/downloading it yourself to use it can be found here.

    This thread may change at anytime to incorporate better instructions or to house updates.
     
    Last edited by Sasori, Mar 13, 2017
    cvskid and yanagi like this.


  2. EpicLPer

    EpicLPer Nice unless you give me a reason to hate you ;)

    Member
    913
    565
    Mar 13, 2015
    Austria
    Austria
    > Easier/Noob friendly version of DNSwitch
    > Requirements: Python 3.6 or Python 2.0


    Something's not really working out here.
     
    ceelo likes this.
  3. Sasori
    OP

    Sasori GBAtemp Maniac

    Member
    1,320
    749
    Jan 28, 2015
    United States
    If you look at the original DNSwitch you had to configure a bunch of shit...if someone cant run a simple script then they really shouldn't be on this site in the first place and they will need to wait for us to make the application versions.
     
    Skatercobe likes this.
  4. EpicLPer

    EpicLPer Nice unless you give me a reason to hate you ;)

    Member
    913
    565
    Mar 13, 2015
    Austria
    Austria
    Why tho when it already exists and can't get any easier? https://gbatemp.net/threads/proxswitch.464053/
     
  5. Sasori
    OP

    Sasori GBAtemp Maniac

    Member
    1,320
    749
    Jan 28, 2015
    United States
    Thats for a local network only. This is a public DNS hence why this also blocks updates from nintendo.

    As for it being easier, its also only for windows users and is something completely different then this
     
  6. EpicLPer

    EpicLPer Nice unless you give me a reason to hate you ;)

    Member
    913
    565
    Mar 13, 2015
    Austria
    Austria
  7. Sasori
    OP

    Sasori GBAtemp Maniac

    Member
    1,320
    749
    Jan 28, 2015
    United States
    Dorimori, BL4Z3D247 and samiam144 like this.
  8. AecdArmy

    AecdArmy Because Its Nintendo

    Member
    475
    159
    Jan 4, 2016
    The Ninty Ninja HQ
    DNSwitch4All
    Easier/Noob friendly version of DNSwitch


    But it was already noob friendly....
     
    samiam144 and Sasori like this.
  9. Heran Bago

    Heran Bago Where do puyo come from?

    Member
    2,992
    389
    Nov 6, 2005
    United States
    Foggy California
    Cool thread and release OP. Sorry you are getting trolled hardcore.

    [​IMG]
     
    petethepug, Victorum, SMVB64 and 2 others like this.
  10. Sasori
    OP

    Sasori GBAtemp Maniac

    Member
    1,320
    749
    Jan 28, 2015
    United States
    That's what I thought too but then I was bombarded with simple questions :P
     
  11. anhminh

    anhminh Pirate since 2010

    Member
    597
    360
    Sep 30, 2010
    So I can still go online and Switch doesn't automatically update?
     
  12. AecdArmy

    AecdArmy Because Its Nintendo

    Member
    475
    159
    Jan 4, 2016
    The Ninty Ninja HQ
    Not sure since they say in the terms they can update your switch in the background even if you have the option turned off
    If you want to be sure you can redirect these links to google or something and the Switch should not be able to see the latest update version

    http://receive-lp1.dg.srv.nintendo.net
    http://sun.hac.lp1.d4c.nintendo.net

    I found them myself so they might not work right but from what I can tell it works.
     
  13. Sasori
    OP

    Sasori GBAtemp Maniac

    Member
    1,320
    749
    Jan 28, 2015
    United States
    This will block online access unfortunately while being used at this time
     
  14. Sasori
    OP

    Sasori GBAtemp Maniac

    Member
    1,320
    749
    Jan 28, 2015
    United States
    markehmus likes this.
  15. EpicLPer

    EpicLPer Nice unless you give me a reason to hate you ;)

    Member
    913
    565
    Mar 13, 2015
    Austria
    Austria
  16. senas8

    senas8 Member

    Newcomer
    46
    4
    Apr 3, 2011
    United States
  17. Sasori
    OP

    Sasori GBAtemp Maniac

    Member
    1,320
    749
    Jan 28, 2015
    United States
    Just run the script again or use the configuration page and put a valid URL
     
  18. SpaceJump

    SpaceJump Where's my new 2D-Metroid?

    Member
    3,667
    213
    Aug 18, 2005
    Gambia, The
    Zebes
    How do I access the configuration page again without being able to enter an url?
     
  19. Futurdreamz

    Futurdreamz GBAtemp Maniac

    Member
    1,367
    737
    Jun 15, 2014
    Canada
    I'm wondering about the Switch having a hardcoded list of DNS servers it references for updates, even if a custom DNS server is set? If I was Nintendo that's something I'd consider - but wouldn't make obvious.
     
  20. Sasori
    OP

    Sasori GBAtemp Maniac

    Member
    1,320
    749
    Jan 28, 2015
    United States
    Either run the python script or go to the url. there is no other way