Answer the question
In order to leave comments, you need to log in
Where and how to change the settings of DNS records in Android?
I have a tablet, and there is a place in it for a SIM card, and there is a SIM card with expensive Internet, there is no WiFi, I want to replace the DNS records with 127.0.
The question is, where and how to change the DNS settings?
PS root is.
UPD. You need to change the DNS records that the mobile provider gives, in my case - a megaphone
. The solution was found, thank you all! I use DNS Changer
Answer the question
In order to leave comments, you need to log in
I try on android 2.2 the
hosts file is edited as usual in the vi console /etc/hosts
And on the dns account, you can click the advanced menu in the settings->wirless-networks->wi-fi settings graph, you can set the static ip and other network settings.
I don't know for sure, but it's the same on Linux, which changes in /etc/resolv.conf
Suddenly also :)
/system/etc/resolv.conf
Usually there are two servers.
8.8.8.8 and 8.8.4.4
Adding these magic lines to /system/build.prop helped me, followed by rebooting the device (Android 4.2)
in this file
# vi /system/build.prop
add this
net.rmnet0.dns1=8.8.8.8
net.rmnet0. dns2=8.8.4.4
net.dns1=8.8.8.8
net.dns2=8.8.4.4
then press to save and exit the editor
: wq PS
: To add an empty line to vi press o
to exit edit mode Esc
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question