bionic libcのソースコードとドキュメントを見て以下のことがわかった。 net.dns[n].[pid] => net.dns[n] => /etc/resolv.conf の順番でDNSを見る。 [n] : 1-8 [pid] : プロセスID * プロセス毎の設定 system propertyのnet.dns[n].[pid]で、プロセス毎にDNSの設定ができるようになっている。 この設定が対象のプロセスにおいて見つかった場合、nが一致するnet.dns[n] は使われない。 Androidの開発においてはよほど特殊なことをしない限り、プロセス毎の設定を利用することはないだろう。 * グローバルな設定 1. net.dns[n]にDNSのIPアドレスを設定する。 2. net.dnschange の値を現在値とは別の整数値に設定する。通常この値はインクリメントされている。 n