[PATCH] new applet gethostbyname

Eial Czerwacki eial at scalemp.com
Sun Jul 8 10:35:31 UTC 2012


Ralf,

On 07/08/2012 01:27 PM, Ralf Friedl wrote:

> Looking at the source busybox-1.19.2/networking/nslookup.c it's simply
> not possible that the output of system 1 comes from busybox 1.19.2.
> 

but still I do see two distinct outputs on the same busybox.

> By the way, the applet nslookup is misleading, because it uses
> getaddrinfo instead of a DNS query. As a consequence, there are even
> answers from non existing DNS-servers.
> 
> # nslookup localhost 0.0.0.0
> Server:    0.0.0.0
> Address 1: 0.0.0.0
> 
> Name:      localhost
> Address 1: 127.0.0.1 localhost
> 


Eial.


More information about the busybox mailing list