home *** CD-ROM | disk | FTP | other *** search
/ Unix System Administration Handbook 1997 October / usah_oct97.iso / rfc / 800s / rfc812.txt < prev    next >
Text File  |  1992-09-22  |  5KB  |  174 lines

  1.  
  2.  
  3. Ken Harrenstien                                           RFC-812
  4. Vic White                                            1 March 1982
  5. Network Information Center
  6. SRI International
  7.                           NICNAME/WHOIS
  8.  
  9.  
  10.  
  11. INTRODUCTION
  12.  
  13.     The NICNAME/WHOIS Server is an NCP/TCP transaction based
  14.    query/response server, running on the SRI-NIC machine, that
  15.    provides netwide directory service to ARPANET users.  It is
  16.    one of a series of ARPANET/Internet name services maintained
  17.    by the Network Information Center (NIC) at SRI International
  18.    on behalf of the Defense Communications Agency (DCA).  The
  19.    server is accessible across the ARPANET from user programs
  20.    running on local hosts, and it delivers the full name, U.S.
  21.    mailing address, telephone number, and network mailbox for
  22.    ARPANET users.
  23.  
  24.    This server, together with the corresponding Identification
  25.    Data Base provides online directory look-up equivalent to the
  26.    ARPANET Directory.  DCA strongly encourages network hosts to
  27.    provide their users with access to this network service.
  28.  
  29. WHO SHOULD BE IN THE DATA BASE
  30.  
  31.    DCA requests that each individual with a directory on an
  32.    ARPANET host, who is capable of passing traffic across the
  33.    ARPANET, be registered in the NIC Identification Data Base.
  34.    To register, send full name, middle initial, U.S. mailing
  35.    address (including mail stop and full explanation of
  36.    abbreviations and acronyms), ZIP code, telephone (including
  37.    Autovon and FTS, if available), and one network mailbox, via
  38.    electronic mail to NIC@SRI-NIC.
  39.  
  40. PROTOCOL
  41.  
  42.    The NICNAME protocol is similar to the NAME/FINGER protocol
  43.    (RFC 742).  To access the server:
  44.  
  45.    Connect to the service host (SRI-NIC)
  46.       TCP: service port 43 decimal
  47.       NCP: ICP to socket 43 decimal, establishing two 8-bit
  48.    connections
  49.  
  50.    Send a single "command line", ending with <CRLF>.
  51.  
  52.    Receive information in response to the command line.  The
  53.    server closes its connections as soon as the output is
  54.    finished.
  55.  
  56.  
  57.                                                          [Page 1]
  58.  
  59.  
  60. RFC 812                                                     1 March 1982
  61.                                                            NICNAME/WHOIS
  62.                                                                         
  63.                                                                         
  64. EXISTING USER PROGRAMS
  65.  
  66.    NICNAME has been chosen as the global name for the user
  67.    program, although some sites may choose to use the more
  68.    familiar name of "WHOIS".  There are versions of NICNAME for
  69.    Tenex, Tops-20, and Unix.  The Tenex and Tops-20 programs are
  70.    written in assembly language (FAIL/MACRO), and the Unix
  71.    version is written in C.  They are easy to invoke, taking one
  72.    argument which is passed directly to the NICNAME server at
  73.    SRI-NIC.  Normally it is best to use the NIC-supplied
  74.    programs, if possible, since the protocol will continue to
  75.    evolve.  Contact NIC@SRI-NIC for copies.
  76.  
  77. COMMAND LINES AND REPLIES
  78.  
  79.    A command line is normally a single name specification.  The
  80.    easiest way to obtain the most recent documentation on name
  81.    specifications is to give the server a command line consisting
  82.    of "?<CRLF>" (that is, a question-mark alone as the name
  83.    specification).  The response from the NICNAME server will
  84.    list all possible formats that can be used.
  85.  
  86.    The responses are not currently intended to be
  87.    machine-readable; the information is meant to be passed back
  88.    directly to a human user.  The following three examples will
  89.    illustrate the use of NICNAME.
  90.  
  91. Command line: ?
  92. Response:
  93.       Please enter a name or a handle ("ident"), such as "Smith"
  94.    or "SRI-NIC".  Starting with a period forces a name-only
  95.    search;
  96.    starting with exclamation point forces handle-only.  Examples:
  97.       Smith                   [looks for name or handle SMITH ]
  98.       !SRI-NIC                [looks for handle SRI-NIC only  ]
  99.       .Smith, John            [looks for name JOHN SMITH only ]
  100.    Adding "..." to the argument will match anything from that
  101.    point,
  102.    e.g. "ZU..." will match ZUL, ZUM, etc.
  103.       To have the ENTIRE membership list of a group or
  104.    organization,
  105.    if you are asking about a group or org, shown with the record,
  106.    use
  107.    an asterisk character "*" directly preceding the given
  108.    argument.
  109.    [CAUTION: If there are a lot of members this will take a long
  110.    time!]
  111.    You may of course use exclamation point and asterisk, or a
  112.    period
  113.    and asterisk together.
  114.  
  115.  
  116. [Page 2]
  117.  
  118.  
  119. 1 March 1982                                                     RFC 812
  120. NICNAME/WHOIS
  121.                                                                         
  122.                                                                         
  123.  
  124. Command line: dyer
  125. Response:
  126.    Dyer, David A. (DAD2)   DDYER@USC-ISIB  (213) 822-1511
  127.    Dyer, Fred S. (FSD)  Dyer@RADC-MULTICS  (315) 330-7275
  128.    Dyer, Mary K. (MARY)   DYER@SRI-NIC     (415) 859-4775
  129.    Dyer, William R. (WRD)   WRDyer@RADC-MULTICS  (315) 330-7791
  130.  
  131. Command line: mary
  132. Response:
  133.    Dyer, Mary K. (MARY)          DYER@SRI-NIC
  134.    SRI International
  135.    Network Information Center
  136.    Telecommunications Sciences Center
  137.    333 Ravenswood Avenue
  138.    Menlo Park, California 94025
  139.    Phone: (415) 859-4775
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.                                                          [Page 3]
  174.