M
M
Marat Yuldashev2012-05-12 09:51:56
Android
Marat Yuldashev, 2012-05-12 09:51:56

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

5 answer(s)
A
Alexander Lebedev, 2012-05-12
@mcconfig

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.

C
cepera_ang, 2012-05-12
@cepera_ang

/etc/hosts

S
Sicness, 2012-05-12
@Sicness

I don't know for sure, but it's the same on Linux, which changes in /etc/resolv.conf
Suddenly also :)

I
Ilya Plotnikov, 2012-05-17
@ilyaplot

/system/etc/resolv.conf
Usually there are two servers.
8.8.8.8 and 8.8.4.4

M
molokovskikh, 2013-12-04
@molokovskikh

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 question

Ask a Question

731 491 924 answers to any question