[android-porting] Re: ping DNS issue! ping returns "unknown host www.yahoo.com" but ping to IP works fine

2009-08-12 Thread Nikhil Gautam
Thanks Csillag, I did tried busybox and it produces the similar error. The only difference is with busybox, I can't even ping "localhost" which is defined in /etc/hosts. Ping to IP address works fine. Note: I am building busybox statically linked. Do you know how does android applications resolve

[android-porting] Re: ping DNS issue! ping returns "unknown host www.yahoo.com" but ping to IP works fine

2009-08-12 Thread Nikhil Gautam
escribing your DNS > client anywhere. Does the bionic libc do that? > > > Nikhil Gautam wrote: > > Thanks Csillag, > > I did tried busybox and it produces the similar error. The only difference > is with busybox, I can't even ping "localhost" which is defined

[android-porting] Re: ping DNS issue! ping returns "unknown host www.yahoo.com" but ping to IP works fine

2009-08-12 Thread Nikhil Gautam
Thanks, I was doing "setprop net.usb0.dns1 xxx.xxx.xxx.xxx" and it didn't work. I'll try removing usb0 and see if it works! 2009/8/12 hailong zeng > > hi! > dns resolving for android system does not use /etc/resolv.conf.it > do the task internal. > you might set it using the following comman