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
# This is to help address this Termux/Android issue: | |
# https://github.com/termux/termux-packages/issues/1174 | |
function _getAndroidAllDNS() | |
{ | |
local -n dnsMapRef=$1 | |
local -n domainMapRef=$2 | |
# The logic here is from experimentation based on: | |
# https://www.reddit.com/r/termux/comments/1249mqx/use_dhcp_provided_dns_in_resolveconf/ |