FORUMS

[GUIDE] How to Change DNS in Android Device (8 methods)

827 posts
Thanks Meter: 1,418
 
Post Reply Email Thread
18th July 2019, 10:33 AM |#31  
Recognized Contributor
Flag Sydney
Thanks Meter: 3,428
 
More
Quote:
Originally Posted by TigerKing00

I want to change my DNS permanently.
I created script but it's not helping.
Also where to put those scripts in device? I have installed magisk and flashed latest init.d injector.
other than that I'm using redmi note 4 resurrection remix rom 7.0.2 (android 9) and also installed riru core and edExposed.
Can you please check these scripts?
...snip...

Firstly, if you have Magisk, then place your scripts in your service.d path; location of that is depending on version.

You may also wish to add logging to your script so that you know it has actually ran.

I am running Oreo, and I found that using the default service providers DNS, by-passed my ad blocking via host file mods.

I found the following worked. I added in a bunch of settings/values into my build prop. I tested it a while back, but it still seems to work for me, but it may also be ROM dependent. The script has a few includes, but should be pretty easy to workout from the naming. eg
Code:
bb=busybox;
https://del.dog/owunorigab.pl

Its not a script to simply drop in and it will work, I have a whole scripting environment set up over owning an android phone for 8 years, with all these includes and logging etc but the meat is there.
The Following User Says Thank You to DiamondJohn For This Useful Post: [ View ] Gift DiamondJohn Ad-Free
28th January 2020, 08:03 AM |#32  
Member
Thanks Meter: 7
 
More
Any idea where can I check default DNS settings on Redmi Note7 that runs Android 9? I've checked the default stuff in the OP post but there is no resolv.conf exist not 20-dns.conf and getprob has 0 mentions of DNS

I dont even want to change anything yet just to see defaults because I'm having some weird DNS info in Chrome that should not be there.
28th January 2020, 04:31 PM |#33  
rodken's Avatar
Senior Member
Thanks Meter: 69
 
More
Quote:
Originally Posted by KZekai

Any idea where can I check default DNS settings on Redmi Note7 that runs Android 9? I've checked the default stuff in the OP post but there is no resolv.conf exist not 20-dns.conf and getprob has 0 mentions of DNS

I dont even want to change anything yet just to see defaults because I'm having some weird DNS info in Chrome that should not be there.

https://apkpure.com/ultratools-mobil...m.ultra.mobile
28th January 2020, 05:45 PM |#34  
Member
Thanks Meter: 7
 
More
I dont need no apps asking how to check if manually via adb/shell
28th January 2020, 06:15 PM |#35  
rodken's Avatar
Senior Member
Thanks Meter: 69
 
More
Quote:
Originally Posted by KZekai

I dont need no apps asking how to check if manually via adb/shell

Understood. But, the theory was to see if you can gather info from it and then uninstall it.
14th March 2020, 06:42 PM |#36  
Junior Member
Thanks Meter: 0
 
More
system will hot restart
The iptables works, when I switch to a secondary sim card, the system will hot restart.
It seems like the following command
killall system_server

Happens on Mi Mix2s Android 10
5th June 2020, 02:27 PM |#37  
Junior Member
Thanks Meter: 1
 
More
The article needs updating. It's unclear what methods work in Android 8 or 9.
The Following User Says Thank You to gqqnbig For This Useful Post: [ View ] Gift gqqnbig Ad-Free
Post Reply Subscribe to Thread

Tags
change dns, dns, dns settings, modify dns, set dns

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes