% Return-Path: <panigl@cc.univie.ac.at> 0 Received: from TGV.COM by CIA.TGV.COM with SMTP;.           Fri, 20 Aug 1993 7:38:16 -0700 (PDT)Q Received: from access.edvz.univie.ac.at ([131.130.5.2]) by TGV.COM via INTERNET ; %           Fri, 20 Aug 93 07:38:11 PDT N Received: by cc.univie.ac.at (MX V3.1) id 884; Fri, 20 Aug 1993 16:37:08 +0200  Sender: <panigl@cc.univie.ac.at>% Date: Fri, 20 Aug 1993 16:38:01 +0200 7 From: Christian Panigl - ACOnet/UniVie +43(1)436111-383        <panigl@cc.univie.ac.at> To: madison@tgv.com  CC: panigl@cc.univie.ac.at3 Message-ID: <00971500.D5C12FA0.884@cc.univie.ac.at>  Subject: nsquery.hlp       Hello Mat,     L     first of all thank you a lot for all the nice and brilliant software youG     gave us for free !  Yesterday I sucessfully installed NSQUERY on my N     DECmcc-station (on UCX020D). Our domain-admins (used to use unix/nslookup)     do like it a lot !!!     :     For HELP on all the PD tools on our hosts, I created aC     SYS$TOOLS:TOOLS.HLB.  I made a .HLP out of your NSQUERY_DOC.TXT G     (shortened and slightly modified) and included it in our TOOLS.HLB.      F     Here it is, if you'd like to include it in your next distribution.          Regards 
     Christian      M   -o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o- M   Christian Panigl                   X400: Christian.Panigl@CAN.ACOnet.ADA.AT L   Computer Center - ACOnet                 |         |      |   |      |   |L   Vienna University                        G         S      O   P      A   CM   Universitaetsstrasse 7         Internet:   Christian.Panigl@cc.UniVie.ac.at ?   A-1010 Wien                         Tel:   +43 1 436111-383   B   Austria                             Fax:   +43 1 436111-170     M   -o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-     	 1 NSQUERY   A     NSQUERY is designed to be invoked as a DCL "foreign command":   0                $ NSQ*UERY :== $disk:[dir]NSQUERY  I     This command issues a query to an Internet domain server and displays      the resultant reply.  
     FORMAT        NSQUERY  query-name [server]  ;     _______________________________________________________ )           Command Qualifiers     Defaults   )           /PORT=number           /PORT=53 .           /PROTOCOL=proto        /PROTOCOL=UDP-           /[NO]RECURSIVE         /NORECURSIVE *           /TYPE=qtype            /TYPE=ALL0           /CLASS=qclass          /CLASS=INTERNET  ;     _______________________________________________________    2 Parameters       query-name  F     Name about which information should be obtained. This should be anD     internet dotted domain-style name. If query-name is a numeric IPD     address in dotted decimal form (e.g., 128.113.1.5), NSQUERY willI     automatically make an inverse query by reversing the address segments      and adding ".IN-ADDR.ARPA".   H     All resource records defined in RFC 1035 are interpreted by NSQUERY.I     Refer to that RFC for information about the abbreviations used in the G     resource record display. All "time-to-live" values are displayed as A     VMS delta-time strings. Authoritative responses and truncated A     messages are noted before the resource records are displayed.   
     server  I     Server to be queried. If omitted, NSQUERY translates the logical name E     NSQ_SERVER to obtain the server name. If there is no such logical H     name or it cannot be translated, NSQUERY prompts for the name of theG     server.  If the server's name has multiple addresses, all addresses I     are obtained and each is tried until a query is successfully sent and      reply received.    2 Qualifiers /PORT        /PORT=port  H     Directs the query to the specified TCP or UDP port. If omitted, portC     53 (the port used by most, if not all, domain servers) is used.   	 /PROTOCOL        /PROTOCOL=proto   B     Selects either TCP or UDP protocol. The default is UDP. UDP isI     generally used for simple domain queries;  TCP is generally only used ;     for major domain system events, such as zone transfers.   
 /RECURSIVE       /[NO]RECURSIVE  D     Sets the recursion desired bit in the query. If the server being>     queried supports recursion and does not have the requestedE     information cached, it will make queries of other servers on your F     behalf until the query is answered. NSQUERY will notify you if the.     server does not support recursive queries.   /TYPE        /TYPE=qtype   F     Selects the type of resource record to be returned about the name.C     The default is ALL, which selects all available resource record +     types.  Available types are as follows:   A           Type/QType_______Description___________________________   '           A                host address   4           NS               authoritative name server  6           MD               mail destination (obsolete)  4           MF               mail forwarder (obsolete)  6           CNAME            canonical name for an alias  2           SOA              start of zone authority  =           MB               mailbox domain name (experimental)   ;           MG               mail group member (experimental)   2           MR               mail rename domain name)                            (experimental)   /           NULL             null resource record   9           WKS              well-known service description   .           PTR              domain name pointer  +           HINFO            host information   ;           MINFO            mailbox or mail list information   (           MX               mail exchange  '           TXT              text strings   1           AXFR             complete zone transfer   ?           MAILB            all mailbox-related records (MB, MG,                             MR)  A           MAILA            all_mail_agent_records_(obsolete)          I     Refer to RFC 1035 for a complete description of resource record types G     and their uses. Note that not all servers support all record types. A     You should probably never attempt to use the AXFR query type.    /CLASS       /CLASS=qclass   I     Selects the class of resource records to be returned.  The default is *     INTERNET. Available qclass values are:  A           Class/QClass_____Description___________________________   '           INTERNET         the Internet   5           CSNET            the CSNET class (obsolete)   *           CHAOSNET         the CHAOS class  +           HESIOD           the Hesiod class   &           ALL              all_classes  	 2 Example   & $ NSQUERY RPI.EDU NETSERV1.ITS.RPI.EDU  / %NSQUERY-I-TRYNS, trying address 128.113.1.5... + %NSQUERY-I-AUTHRESP, authoritative response : %NSQUERY-I-QUERYOK, query operation completed successfully  . QUERY  #1: QName=RPI.EDU., QType=255, QClass=1  1 ANSWER #1: RPI.EDU., SOA, INTERNET,    0 12:00:00      Primary NS: rpi.edu.$     Responsible: hostmaster.rpi.edu.=     Serial=600072, Refresh=   1 06:00:00, Retry=   0 00:20:00 /     Expire=  41 16:00:00, Minimum=   0 12:00:00 A ANSWER #2: RPI.EDU., A, INTERNET,    0 12:00:00, Addr=128.113.1.7 J ANSWER #3: RPI.EDU., NS, INTERNET,    0 12:00:00, NS=netserv1.its.rpi.edu.J ANSWER #4: RPI.EDU., NS, INTERNET,    0 12:00:00, NS=netserv2.its.rpi.edu.B ANSWER #5: RPI.EDU., NS, INTERNET,    0 12:00:00, NS=columbia.edu.E ANSWER #6: RPI.EDU., NS, INTERNET,    0 12:00:00, NS=n2ngw.nyser.net. K ANSWER #7: RPI.EDU., HINFO, INTERNET,    0 12:00:00, CPU=SUN-3/280, OS=UNIX   N ADDTNL #1: netserv1.its.rpi.edu., A, INTERNET,    0 12:00:00, Addr=128.113.1.5N ADDTNL #2: netserv2.its.rpi.edu., A, INTERNET,    1 00:00:00, Addr=128.113.1.3F ADDTNL #3: columbia.edu., A, INTERNET,    0 21:27:26, Addr=128.59.16.1F ADDTNL #4: columbia.edu., A, INTERNET,    0 21:27:26, Addr=128.59.32.1I ADDTNL #5: n2ngw.nyser.net., A, INTERNET,    1 22:57:35, Addr=192.35.82.2 K ADDTNL_#6:_n2ngw.nyser.net.,_A,_INTERNET,____0_00:00:56, Addr=128.145.198.2   