xref: /freebsd/usr.sbin/yppoll/yppoll.8 (revision 06e8e46410776c1d2a28c89004cda266402a8e69)
1.\" Copyright (c) 1996 The NetBSD Foundation, Inc.
2.\" All rights reserved.
3.\"
4.\" This code is derived from software contributed to The NetBSD Foundation
5.\" by Jason R. Thorpe.
6.\"
7.\" Redistribution and use in source and binary forms, with or without
8.\" modification, are permitted provided that the following conditions
9.\" are met:
10.\" 1. Redistributions of source code must retain the above copyright
11.\"    notice, this list of conditions and the following disclaimer.
12.\" 2. Redistributions in binary form must reproduce the above copyright
13.\"    notice, this list of conditions and the following disclaimer in the
14.\"    documentation and/or other materials provided with the distribution.
15.\"
16.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
17.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
18.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
19.\" PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
20.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
21.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
22.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
23.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
24.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
25.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
26.\" POSSIBILITY OF SUCH DAMAGE.
27.\"
28.\" $FreeBSD$
29.\"
30.Dd October 25, 1994
31.Dt YPPOLL 8
32.Os
33.Sh NAME
34.Nm yppoll
35.Nd ask version of YP map from YP server
36.Sh SYNOPSIS
37.Nm
38.Op Fl h Ar host
39.Op Fl d Ar domain
40.Ar mapname
41.Sh DESCRIPTION
42The
43.Nm
44utility
45asks a YP server process for the order number and which host is the master
46server for
47.Ar mapname .
48.Pp
49The options are as follows:
50.Bl -tag -width indent
51.It Fl h Ar host
52Ask the YP server process running on
53.Ar host
54for information about
55.Ar mapname .
56If
57.Ar host
58is not specified, the server polled is the default server returned by
59.Xr ypwhich 1 .
60.It Fl d Ar domain
61Use the YP domain
62.Ar domain
63instead of the default domain as returned by
64.Xr domainname 1 .
65.El
66.Sh SEE ALSO
67.Xr domainname 1 ,
68.Xr ypcat 1 ,
69.Xr ypmatch 1 ,
70.Xr ypwhich 1 ,
71.Xr yp 8 ,
72.Xr ypbind 8 ,
73.Xr ypset 8
74.Sh AUTHORS
75.An Theo De Raadt
76and
77.An John Brezak
78