[PATCH] new applet gethostbyname

ralda at gmx.de ralda at gmx.de
Sun Jul 8 15:36:08 UTC 2012


Hi Paul !

> The nslookup program does not do NSS lookup.

We are talking about Busybox nslookup. As Ralf mentioned it does NSS
lookup.

> If the busybox version of nslookup uses nsswitch.conf / ... then it's
> not correct

Sure ... Ralf told this already ... The Busybox nslookup is claiming to
do DNS lookup but does NSS ... so the current Busybox nslookup does
what upstream 'getent hosts' is providing.

> Also getent does a lot more than just show hostnames.  As I said
> before it's a command line interface to all the get*ent() functions
> in libc so in addition to hostnames it can be used to look up passwd
> entries, group entries, etc.  A getent applet in busybox WOULD be
> very useful.

Full ack! Are you able to provide a new getent applet (deleting the
current nslookup)? (Sorry currently can't do development work due to
personal/health restrictions).

Harald


More information about the busybox mailing list