/.../
: Start and end regex delimiters|
: Alternation()
: Grouping
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 |
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
## | |
# Put this AFTER your current | |
# /etc/hosts file contents! | |
# After that, either reboot or | |
# manually flush your DNS cache | |
## | |
127.0.0.1 google.com #} redirects to us2.startpage.com:443 | |
127.0.0.1 www.google.com #} 216.218.239.164 is the IP address for the | |
127.0.0.1 google.ca #} Google frontend Startpage and automatically |