From owner-freebsd-questions Sun Nov 12 20:44: 9 2000 Delivered-To: freebsd-questions@freebsd.org Received: from inconnu.isu.edu (inconnu.isu.edu [134.50.8.55]) by hub.freebsd.org (Postfix) with ESMTP id E448037B479; Sun, 12 Nov 2000 20:44:05 -0800 (PST) Received: from localhost (galt@localhost) by inconnu.isu.edu (8.9.3/8.9.3) with ESMTP id VAA28017; Sun, 12 Nov 2000 21:44:01 -0700 Date: Sun, 12 Nov 2000 21:44:01 -0700 (MST) From: John Galt To: James Wilde Cc: Doug Barton , Peter Chiu , freebsd-questions@FreeBSD.ORG Subject: RE: dig and nslookup In-Reply-To: <000b01c04c96$2eeb93d0$8208a8c0@iqunlimited.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG */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