


NSQUERY(8)            MAINTENANCE COMMANDS             NSQUERY(8)



NAME
     nsquery - RFS name server query

SYNOPSIS
     nsquery [ -h ] [ _n_a_m_e ]

AVAILABILITY
     This program is available with the _R_F_S software installation
     option.   Refer  to  _I_n_s_t_a_l_l_i_n_g _S_u_n_O_S _4._1 for information on
     how to install optional software.

DESCRIPTION
     nsquery provides information about  resources  available  to
     the  host from both the local domain and from other domains.
     All resources are reported, regardless of whether  the  host
     is  authorized  to  access them.  When used with no options,
     nsquery identifies all resources in  the  domain  that  have
     been advertised as sharable.  A report on selected resources
     can be obtained by specifying _n_a_m_e, where _n_a_m_e is one of:

          _n_o_d_e_n_a_m_e         The report  will  include  only  those
                           resources available from _n_o_d_e_n_a_m_e.

          _d_o_m_a_i_n.          The report  will  include  only  those
                           resources available from _d_o_m_a_i_n.

          _d_o_m_a_i_n._n_o_d_e_n_a_m_e  The report  will  include  only  those
                           resources        available        from
                           _d_o_m_a_i_n._n_o_d_e_n_a_m_e.

     When the name does not include the delimiter `.', it will be
     interpreted  as  a _n_o_d_e_n_a_m_e within the local domain.  If the
     name ends with a delimiter `.', it will be interpreted as  a
     domain name.

     The information contained in the  report  on  each  resource
     includes   its   advertised   name   (_d_o_m_a_i_n._r_e_s_o_u_r_c_e),  the
     read/write permissions, the  server  (_n_o_d_e_n_a_m_e._d_o_m_a_i_n)  that
     advertised the resource, and a brief textual description.

     A remote domain must be listed  in  your  rfmaster  file  in
     order to query that domain.

     If no entries are found when nsquery is executed, the report
     header is printed.

     If your host cannot contact the domain name server, an error
     message will be sent to standard error.

OPTIONS
     -h   Do not print header.




Sun Release 4.1     Last change: June 30 1988                   1






NSQUERY(8)            MAINTENANCE COMMANDS             NSQUERY(8)



EXAMPLE
     The following example displays the resources available  from
     the domain sunrfs:
          example%  nsquery sunrfs.
          RESOURCE  ACCESS   SERVER   DESCRIPTION

          LOCAL_SUN3         read-onlysunrfs.estale
          LOCAL_SUN4         read-onlysunrfs.estale
          LOCAL_SHARE        read-onlysunrfs.estale

SEE ALSO
     rfmaster(5), adv(8), unadv(8)











































Sun Release 4.1     Last change: June 30 1988                   2



