From owner-freebsd-questions Sun Nov 12 21:11:47 2000 Delivered-To: freebsd-questions@freebsd.org Received: from dt051n37.san.rr.com (dt051n37.san.rr.com [204.210.32.55]) by hub.freebsd.org (Postfix) with ESMTP id AC21937B479 for ; Sun, 12 Nov 2000 21:11:44 -0800 (PST) Received: from FreeBSD.org (Studded@master [10.0.0.2]) by dt051n37.san.rr.com (8.9.3/8.9.3) with ESMTP id VAA15051; Sun, 12 Nov 2000 21:09:43 -0800 (PST) (envelope-from DougB@FreeBSD.org) Message-ID: <3A0F7792.6F06FC01@FreeBSD.org> Date: Sun, 12 Nov 2000 21:09:38 -0800 From: Doug Barton Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: James Wilde Cc: Peter Chiu , freebsd-questions@FreeBSD.org Subject: Re: dig and nslookup References: <000b01c04c96$2eeb93d0$8208a8c0@iqunlimited.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG James Wilde wrote: > > 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. Well, that depends on what job you're talking about. If ALL you want to do is map hosts to IP's, or vice versa; it does ok at that, but you're better off using 'host' because it's output is easier to read and 'host' is much less likely to get confused. If your job is serious DNS problem solving, you have to learn how to use dig, for the simple reason that it gives you all of the data from the DNS packet, and therefore is able to show you what you really need to know to debug problems. Doug -- Life is an essay test. Long form. Spelling counts. Do YOU Yahoo!? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message