bug#1182: [BusyBox] bug#1182: [PATCH] - add explicit name server option to nslookup.c + minor other fix
David Douthitt
ssrat at mailbag.com
Wed Jun 13 08:45:02 UTC 2001
Benjamin Zeckel wrote:
>
> Package: busybox
> Version: CVS
> Severity: wishlist
>
> This is a different patch than the one I just sent a few days ago.
>
> This patch alters nslookup.c and usage.h to add a explicit nameserver
> option to nslookup
>
> nslookup www.site.com = lookup www.site.com using /etc/resolv.conf DNS servers
> nslookup www.site.com my.dns.server.net = lookup www.site.com with explicit
> DNS server my.dns.server.net
> nslookup a b c ... = show usage for more than 2 arguments as according to
> standard nslookup, that is an error
I would suggest that this is non-GNU behavior. To provide this sort
of function (and more) I would prefer a new dig applet. Then you
could:
dig www.site.com @my.dns.server.net
The original dig also is supposed to lookup up names in a much more
realistic manner compared to the traditional nslookup (though I'm not
sure why). I would like support for (at least):
dig <name>
dig <name> @<server>
dig -x <ip>
Perhaps more as I look, but these are what I use most often....
More information about the busybox
mailing list