Android 5.0 DNS fail

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Android 5.0 DNS fail

888 Views
小樺陳
Contributor I

my os: android 5.0

platform:imx6dl

but when i ping to www.google.com

it will fail

my setting as below(attached file)

ping 210.242.127.54 ==>0K (host:www.google.com)

ping www.google.com==>fail

#getprop | grep

dhcp.eth1.dns1:10.1.0.19

dhcp.eth1.dns2:10.1.0.17

0 Kudos
4 Replies

606 Views
小樺陳
Contributor I

Hi Igorpadykov:

                         Thanks your answer.

                            # ls /etc/resolv.conf  ==>not found resolv.conf

                            # ls /system/etc/resolv.conf ==>not found resolv.conf

                            #echo 123 > /etc/resolv.conf ==> read-only file system

            so.Do you any Suggest

0 Kudos

606 Views
igorpadykov
NXP Employee
NXP Employee

Hi Chen

please look at below links with suggestions for this problem

Diagnosing resolution problems  |  Public DNS  |  Google Developers

https://lists.yoctoproject.org/pipermail/yocto/2014-June/020382.html

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos

605 Views
小樺陳
Contributor I

Hi Igorpadykov:

                         Thanks your answer.

                          But my os is android 5.0.not yocto or linux.

                          I don't think it can work on it.

0 Kudos

605 Views
igorpadykov
NXP Employee
NXP Employee

this may depend on local network configuration,

so suggest to contact local network administrator.

0 Kudos