From owner-freebsd-questions Fri May 11 10:40: 8 2001 Delivered-To: freebsd-questions@freebsd.org Received: from ptavv.es.net (ptavv.es.net [198.128.4.29]) by hub.freebsd.org (Postfix) with ESMTP id B050D37B424 for ; Fri, 11 May 2001 10:39:59 -0700 (PDT) (envelope-from oberman@ptavv.es.net) Received: from ptavv.es.net (localhost [127.0.0.1]) by ptavv.es.net (8.10.1/8.10.1) with ESMTP id f4BHdvc28566; Fri, 11 May 2001 10:39:57 -0700 (PDT) Message-Id: <200105111739.f4BHdvc28566@ptavv.es.net> To: Doug Barton Cc: Dale/Doug Cabell , freebsd-questions@FreeBSD.ORG Subject: Re: Question regarding nslookup In-reply-to: Your message of "Thu, 10 May 2001 21:39:34 PDT." <3AFB6D06.690F7796@DougBarton.net> Date: Fri, 11 May 2001 10:39:57 -0700 From: "Kevin Oberman" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Date: Thu, 10 May 2001 21:39:34 -0700 > From: Doug Barton > Sender: owner-freebsd-questions@FreeBSD.ORG > > > Dale/Doug Cabell wrote: > > > > Hi: > > > > When you bring up nslookup > > nslookup is useless for any real work. Use dig for serious DNS debugging, > and host for simple lookups. Their man pages explain the details. > > Doug > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > nslookup is worse than useless. It does not use the standard resolver library, so it does not always get the same answer as the normal library calls. This can lead to major confusion. In BIND V9 nslookup prints the following when invoked: Note: nslookup is deprecated and may be removed from future releases. Consider using the `dig' or `host' programs instead. Run nslookup with the `-sil[ent]' option to prevent this message from appearing. dig is also much easier to work with if you are debugging and host is far more practical when doing a simple lookup. > host www.aol.com www.aol.com. is an alias for aol.com. aol.com. has address 205.188.160.121 aol.com. has address 64.12.149.13 aol.com. has address 64.12.149.24 > host 205.188.160.121 121.160.188.205.in-addr.arpa. domain name pointer www1.aol.com. R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message