[MODULE] DNS Switch (select your custom DNS server from this thread)

Search This thread

smohanv

Senior Member
Nov 5, 2006
2,119
650
Higham, Rochester, Kent
This can help anyone who wants to use DNS Switch magisk module and use any one of the custom DNS servers from the list below.

Source Link: https://github.com/JohnFawkes/DNSSwitch

Magisk module is attached in this post.

Search in magisk repo for DNS Switch (under Download in magisk manager) and install it.

Open Termux or Terminal Emulator, type command su and type dns_switch
Select custom
enter the DNS server that you want
reboot your device and enjoy safe browsing


Alternate
23.253.163.53 / 198.101.242.72

CleanBrowsing Adult Filter
185.228.168.10 / 185.228.168.11 Blocks access to all adult sites. Sites like Reddit are allowed. Google and Bing are set to Safe Mode

CleanBrowsing Family Filter
185.228.168.168 / 185.228.168.169 Blocks access to all adult sites (including sites like reddit). Google, Bing and YouTube are set to Safe Mode.

Cloudflare
1.1.1.1 / 1.0.0.1

Comodo secure
8.26.56.26 / 8.20.247.20

DNS.Watch
84.200.69.80 / 84.200.70.40

FreeDNS
37.235.1.174 / 37.235.1.177

Google
8.8.8.8 / 8.8.4.4

Level3
209.244.0.3 / 209.244.0.4

Norton Connectsafe - Security
199.85.126.10 / 199.85.127.10

Norton Connectsafe - Security + Pornography
199.85.126.20 / 199.85.127.20

Norton Connectsafe - Security + Pornography + Other
199.85.126.30 / 199.85.127.30

OpenDNS
208.67.222.222 / 208.67.220.220

OpenNIC (Anycast)
185.121.177.177 / 169.239.202.202 Anycast servers of the OpenNIC project. For faster speeds use a server located closer to you.

Quad9
9.9.9.9 / 149.112.112.112

Quad9 secondary
9.9.9.10 / 149.112.112.112

SafeDNS
195.46.39.39 / 195.46.39.40 Non-Public (paid) DNS server anti-porn filtering [safedns.com]

Unblockr UK
178.62.57.141 / 139.162.231.18 Non-public DNS server for kodi. Visit unblockr.net for more information

Unblockr US
138.68.29.183 / 139.162.231.18 Non-public DNS server for kodi. Visit unblockr.net for more information

Verisign
64.6.64.6 / 64.6.65.6

Yandex
77.88.8.8 / 77.8.8.1
 
Last edited:

DAusRon

Senior Member
Aug 31, 2015
180
55
Ipoh
OnePlus 9
Why the module doesnt work? Using Mi 9T Pro Miui Global Stable 10.3.2, magisk 20.0.
 

Attachments

  • Screenshot_2019-10-20-17-12-08-352_com.termux.png
    Screenshot_2019-10-20-17-12-08-352_com.termux.png
    150.8 KB · Views: 735

alex.do

Senior Member
Mar 28, 2008
232
70
prop net.dns1 and net.dns2 seems to be overriden with wifi or mobile configuration or with ISP defaults.

at least on mine. samsung with android 10.

you can test it by setting some dns servers then try switching from wifi to mobile network (or vice versa) and check the prop if it stands

getprop | grep dns
 

cloneman1

Senior Member
Sep 23, 2010
180
8
I had this weird issue this week where my LTE data signal bars had an [x] on it. Investigating further I found out I could ping 8.8.8.8 but not use my internet, so likely a DNS issue. Strangely the issue did not exist over WiFi and did not exist with a SIM card from another operator.

Anyway, removing dns_switch seemed to resolve the problem for now, if someone else comes across the same issue perhaps this can help them.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    This can help anyone who wants to use DNS Switch magisk module and use any one of the custom DNS servers from the list below.

    Source Link: https://github.com/JohnFawkes/DNSSwitch

    Magisk module is attached in this post.

    Search in magisk repo for DNS Switch (under Download in magisk manager) and install it.

    Open Termux or Terminal Emulator, type command su and type dns_switch
    Select custom
    enter the DNS server that you want
    reboot your device and enjoy safe browsing


    Alternate
    23.253.163.53 / 198.101.242.72

    CleanBrowsing Adult Filter
    185.228.168.10 / 185.228.168.11 Blocks access to all adult sites. Sites like Reddit are allowed. Google and Bing are set to Safe Mode

    CleanBrowsing Family Filter
    185.228.168.168 / 185.228.168.169 Blocks access to all adult sites (including sites like reddit). Google, Bing and YouTube are set to Safe Mode.

    Cloudflare
    1.1.1.1 / 1.0.0.1

    Comodo secure
    8.26.56.26 / 8.20.247.20

    DNS.Watch
    84.200.69.80 / 84.200.70.40

    FreeDNS
    37.235.1.174 / 37.235.1.177

    Google
    8.8.8.8 / 8.8.4.4

    Level3
    209.244.0.3 / 209.244.0.4

    Norton Connectsafe - Security
    199.85.126.10 / 199.85.127.10

    Norton Connectsafe - Security + Pornography
    199.85.126.20 / 199.85.127.20

    Norton Connectsafe - Security + Pornography + Other
    199.85.126.30 / 199.85.127.30

    OpenDNS
    208.67.222.222 / 208.67.220.220

    OpenNIC (Anycast)
    185.121.177.177 / 169.239.202.202 Anycast servers of the OpenNIC project. For faster speeds use a server located closer to you.

    Quad9
    9.9.9.9 / 149.112.112.112

    Quad9 secondary
    9.9.9.10 / 149.112.112.112

    SafeDNS
    195.46.39.39 / 195.46.39.40 Non-Public (paid) DNS server anti-porn filtering [safedns.com]

    Unblockr UK
    178.62.57.141 / 139.162.231.18 Non-public DNS server for kodi. Visit unblockr.net for more information

    Unblockr US
    138.68.29.183 / 139.162.231.18 Non-public DNS server for kodi. Visit unblockr.net for more information

    Verisign
    64.6.64.6 / 64.6.65.6

    Yandex
    77.88.8.8 / 77.8.8.1
    1
    It's available in the Magisk repo, so no need to provide a zip here really...
    1
    It's available in the Magisk repo, so no need to provide a zip here really...

    Good point... I will mention about the repo instead of zip file.