Date: Sun, 12 Nov 2000 21:44:01 -0700 (MST) From: John Galt <galt@inconnu.isu.edu> To: James Wilde <james.wilde@telia.com> Cc: Doug Barton <DougB@FreeBSD.ORG>, Peter Chiu <pccb@yahoo.com>, freebsd-questions@FreeBSD.ORG Subject: RE: dig and nslookup Message-ID: <Pine.LNX.4.21.0011122135070.26981-100000@inconnu.isu.edu> In-Reply-To: <000b01c04c96$2eeb93d0$8208a8c0@iqunlimited.net>
next in thread | previous in thread | raw e-mail | index | archive | help
*/sbin is for binaries that it is reasonably expected that will be used only by the system administrator. I've found that this rule is more noted in the exceptions to it than in the implementation of it... But in this case, it's that way for hysterical raisins: dig is the nslookup replacement and was repositioned when they realized that nslookup is useful for others than the sysadmin, but there would have been a bloodbath if nslookup moved between versions. On Sun, 12 Nov 2000, James Wilde wrote: > > From: owner-freebsd-questions@FreeBSD.ORG > > [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Doug Barton > > Sent: Saturday, November 11, 2000 22:24 > > > > Peter Chiu wrote: > > > > > > Why dig is in /usr/bin but nslookup is in /usr/sbin ? > > A recent newbie aha! experience for me was the realisation that */bin was > for client binaries and */sbin for server binaries. :*} However I quickly > realised that this was by no means universal, more of a tendency. And I > can't for the life of me defend the hypothesis in connection with nslookup > and dig, both of which, one assumes, are clients. Can it be that named - > the server - goes in sbin, and related binaries, even clients, landed in the > same place? I am assuming here that nslookup is, shall we say, a closer > relative of named than dig is. > > > > > Because nslookup is retarded. > > > > Doug > > PS, there really is no good answer. You shouldn't use nslookup anyway, > > just use dig. > > Is this one of those religious wars of the vi/emacs sh/bsh/csh/tsh type? > Nslookup, like, say, vi and sh, can be found on all machines, even on NT > machines. And for the most part it does the job. Actually, bind9 is deprecating nslookup, but there seems to be some resistance to it. Have a look at isc.org for further reference--I remember the dig/nslookup thing from bind9-users mailing list there. > mvh/regards > > James > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > -- Sacred cows make the best burgers Who is John Galt? galt@inconnu.isu.edu, that's who!!! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.21.0011122135070.26981-100000>