-
-
Save sharunkumar/b6195cbbd26a0039ec87fbd3829aa6b3 to your computer and use it in GitHub Desktop.
rem to disable private dns | |
adb shell settings put global private_dns_mode off | |
rem to enable private dns with hostname (example with dns.adguard.com) | |
adb shell settings put global private_dns_mode hostname | |
adb shell settings put global private_dns_specifier dns.adguard.com |
great simple batch. thx
Thank ♥
Ya we'come
Much appreciated!
Be careful because on second generation Firesticks (Fire TV 4K MAX) the commands that allow you to change the DNS completely block your internet connection on all your connections.
Btw, thank you for this small gist. It helped me to resolve an issue I had on my Quest 3: https://www.reddit.com/r/OculusQuest/comments/1drpihc/quest_3_constant_wifi_reconnects_but_with/
The WiFi was reconnecting the entire time because of some weird IPv6 DNS issue. Setting a private DNS this way (because the UI doesn't support it) resolved the issue somehow 🤷
Awesome thanks!
Fire 7, 12th Gen, 8.3.3.3
Shizuku, aShell
Commands from the batch file (each skipping "adb shell") worked flawlessy! A huge huge thank you!
exactly what I needed. Thanks