[PATCH] new applet gethostbyname

ralda at gmx.de ralda at gmx.de
Sun Jul 8 11:04:23 UTC 2012


Hi Eial !

> my bed it on dhcp server config, as I cannot force someone to config
> his server in a different way, I cannot use nslookup.

Different DHCP server config shall not give different nslookup output
if device is configured for same IP address. So there is usually
something wrong. I think it's best to find the reason for this
difference and to fix it.

Otherwise nslookup does the job you wanted, as Ralf mentioned. It
differs only in output format. So don't try to add different applet for
nearly same operation. If only output format matters, add on option to
control output format. More likely this gets accepted then a new
applet (if for general scripting purpose).

Harald


More information about the busybox mailing list