1>I have build and tested nslookup(busybox1.17.2) on fedora15(glibc-2.17-20.fc19.i686) it works well 2>when I cross build it in embeded environment(kernel3.4+uclibc0.9.29), prarameter [server] of nslookup seems unuseful, it always sends query to ISP DNS.(from /etc/resolv.conf), instead of the dns server specified in command line. I'am not sure if busybox compatible with uclibc library. attachment is a log of command "./strace /bin/nslookup www.baidu.com 1.1.1.1"
Created attachment 6126 [details] nslookup failed log (strace)
Fix: the embeded environment(kernel3.4.11 +uclibc0.9.32)
I reproduced this on BusyBox v1.25.1 and BusyBox v1.23.1 .
Forgot to say that this was reproduced with GNU C Library (GNU libc) stable release version 2.21
Duplicated of https://bugs.busybox.net/show_bug.cgi?id=8241 *** This bug has been marked as a duplicate of bug 675 ***
Obviously i meant: https://bugs.busybox.net/show_bug.cgi?id=675. Sorry for the typo.