[PATCH] new applet gethostbyname

ralda at gmx.de ralda at gmx.de
Sun Jul 8 10:55:03 UTC 2012


Hi Ralf !

> 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.

Whops ... so Busybox nslookup does the job of 'getent hosts' (or one of
its alikes) ... and not a separate DNS query as expected.

Hence nslookup shall definitely provide the information required by
Eial and may be a candidate for a '-s' short output format extension
(which may be a useful scripting extension). 

Harald


More information about the busybox mailing list