Hi all, I can not access the external network because of DNS problem, below is my steps:
1. Setup DNS ./adb shell setprop net.dns1 xx.xx.xx.xx I can successful access the internal network withou setting the http_proxy, such as my.mycomany.com 2. Setup proxy Setup the http_proxy environment variable on the host, and setup the dns server in Android. Access the external network in browser, such as www.google.com. It report "Web page not available", the log of logcat say that: I/InetAddress( 187): Unknown host www.google.com, throwing UnknownHostException E/browser ( 187): onReceivedError code:-2 The URL could not be found. Setting the http_proxy in "sqlite3 /data/data/ com.android.providers.settings/databases/settings.db" also does not work. I guess it is the dns issue. But strange that the DNS can work for internal network, but can not work for external network. Does anyone know how to fix this issue? Thanks, Lianwei --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---