Bug 8241 - nslookup: prarameter [server] is not useful -- it always sends query to ISP DNS
Summary: nslookup: prarameter [server] is not useful -- it always sends query to ISP DNS
Status: RESOLVED DUPLICATE of bug 675
Alias: None
Product: Busybox
Classification: Unclassified
Component: Standard Compliance (show other bugs)
Version: 1.17.x
Hardware: PC Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-27 08:59 UTC by Snoopy.Xiao
Modified: 2016-10-26 11:03 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:


Attachments
nslookup failed log (strace) (5.25 KB, text/plain)
2015-07-27 09:00 UTC, Snoopy.Xiao
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Snoopy.Xiao 2015-07-27 08:59:10 UTC
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"
Comment 1 Snoopy.Xiao 2015-07-27 09:00:45 UTC
Created attachment 6126 [details]
nslookup failed log (strace)
Comment 2 Snoopy.Xiao 2015-07-27 10:27:06 UTC
Fix: the embeded environment(kernel3.4.11 +uclibc0.9.32)
Comment 3 Andrei Gherzan 2016-10-24 13:13:08 UTC
I reproduced this on BusyBox v1.25.1 and BusyBox v1.23.1 .
Comment 4 Andrei Gherzan 2016-10-24 13:15:53 UTC
Forgot to say that this was reproduced with GNU C Library (GNU libc) stable release version 2.21
Comment 5 Andrei Gherzan 2016-10-26 11:02:37 UTC
Duplicated of https://bugs.busybox.net/show_bug.cgi?id=8241

*** This bug has been marked as a duplicate of bug 675 ***
Comment 6 Andrei Gherzan 2016-10-26 11:03:14 UTC
Obviously i meant: https://bugs.busybox.net/show_bug.cgi?id=675. Sorry for the typo.