Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion ping DNS issue! ping returns "unknown host www.yahoo.com" but ping to IP works fine
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Jerome Duval  
View profile  
 More options Aug 13 2009, 1:05 am
From: Jerome Duval <duval.jer...@gmail.com>
Date: Thu, 13 Aug 2009 01:05:36 -0400
Local: Thurs, Aug 13 2009 1:05 am
Subject: Re: [android-porting] Re: ping DNS issue! ping returns "unknown host www.yahoo.com" but ping to IP works fine
Maybe I'm missing something, but I don't see you describing 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 in /etc/hosts. Ping to IP address works fine.
Note: I am building busybox statically linked.

Do you know how does android applications resolve names or how do I get the android ping to work with name?

Thanks.

Jolly

2009/8/12 Csillag Tamas <cstamas@digitus.itk.ppke.hu>

On Wed, Aug 12, 2009 at 11:58:11AM -0700, jolly1312 wrote:
> I am trying to get the ping working in Android running on ARM.
>
> Ping to IP addresses works fine but when I ping to name I get
>
> "ping: unknown host www.yahoo.com"
...
> Also /etc/resolv.conf is also there:
> echo nameserver 4.2.2.2 > /etc/resolv.conf

I think the thing is that android userland tools (bionic libc) does
not use resolv.conf nor nss. You should use busybox for this purpose.

Regards,
 cstamas
--
CSILLAG Tamas (cstamas) - http://digitus.itk.ppke.hu/~cstamas







 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.