Bug 6890 - Fail to resolve domain to ip
Summary: Fail to resolve domain to ip
Status: NEW
Alias: None
Product: Busybox
Classification: Unclassified
Component: Networking (show other bugs)
Version: 1.22.x
Hardware: PC Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-15 11:49 UTC by Jobcrazy
Modified: 2016-12-16 18:21 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jobcrazy 2014-02-15 11:49:15 UTC
Fail to resolve domain name to ip,when I ping a domain,it says ""bad address",my kernel is 3.13.2

it's an old problem,somebody have found that it because the funtion "getaddrinfo" failed in xconnect.c,and gave his own code on the page:http://hankjin.blog.163.com/blog/static/337319372009327101324432/
Comment 1 Denys Vlasenko 2014-02-24 17:01:40 UTC
(In reply to comment #0)
> Fail to resolve domain name to ip,when I ping a domain,it says ""bad
> address",my kernel is 3.13.2
> 
> it's an old problem,somebody have found that it because the funtion
> "getaddrinfo" failed in xconnect.c,and gave his own code on the
> page:http://hankjin.blog.163.com/blog/static/337319372009327101324432/

I need more information. Was that host actually existing?
Could other programs resolve that name?
Comment 2 Jobcrazy 2014-02-26 04:19:57 UTC
The host is really exist,and I can't resolve any domain to ip.

The program like ping/tracert/wget in busybox can't work.

I haven't test other program that are not builded in busybox yet

But I boot from my kernel to CentOS,all network program worked(these programs are not builded in busybox).
Comment 3 nnabavian 2016-12-16 18:21:58 UTC
This may be related to your issue.
https://bugs.busybox.net/show_bug.cgi?id=9481