-
-
Save HackingGate/100c507b5270bf604f30ded68c5cf75c to your computer and use it in GitHub Desktop.
Enabling / Disabling private DNS in android via ADB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment