xref: /openbsd-src/usr.sbin/yppoll/yppoll.8 (revision 27e959701b64aef8d3ad5b783beab7101402c9c6)
1*27e95970Sschwarze.\"	$OpenBSD: yppoll.8,v 1.10 2014/09/08 01:27:56 schwarze Exp $
2608f9123Sniklas.\"	$NetBSD: yppoll.8,v 1.3 1996/02/28 01:23:12 thorpej Exp $
3df930be7Sderaadt.\"
4608f9123Sniklas.\" Copyright (c) 1996 The NetBSD Foundation, Inc.
5df930be7Sderaadt.\" All rights reserved.
6df930be7Sderaadt.\"
7608f9123Sniklas.\" This code is derived from software contributed to The NetBSD Foundation
8608f9123Sniklas.\" by Jason R. Thorpe.
9608f9123Sniklas.\"
10df930be7Sderaadt.\" Redistribution and use in source and binary forms, with or without
11df930be7Sderaadt.\" modification, are permitted provided that the following conditions
12df930be7Sderaadt.\" are met:
13df930be7Sderaadt.\" 1. Redistributions of source code must retain the above copyright
14df930be7Sderaadt.\"    notice, this list of conditions and the following disclaimer.
15df930be7Sderaadt.\" 2. Redistributions in binary form must reproduce the above copyright
16df930be7Sderaadt.\"    notice, this list of conditions and the following disclaimer in the
17df930be7Sderaadt.\"    documentation and/or other materials provided with the distribution.
18df930be7Sderaadt.\"
19608f9123Sniklas.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
20608f9123Sniklas.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
21608f9123Sniklas.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
22608f9123Sniklas.\" PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE
23608f9123Sniklas.\" LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
24608f9123Sniklas.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25608f9123Sniklas.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26608f9123Sniklas.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27608f9123Sniklas.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28608f9123Sniklas.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29608f9123Sniklas.\" POSSIBILITY OF SUCH DAMAGE.
30df930be7Sderaadt.\"
31*27e95970Sschwarze.Dd $Mdocdate: September 8 2014 $
32df930be7Sderaadt.Dt YPPOLL 8
33df930be7Sderaadt.Os
34df930be7Sderaadt.Sh NAME
35df930be7Sderaadt.Nm yppoll
36df930be7Sderaadt.Nd ask version of YP map from YP server
37df930be7Sderaadt.Sh SYNOPSIS
3843399070Saaron.Nm yppoll
39df930be7Sderaadt.Op Fl d Ar domain
40c25d71fcSjmc.Op Fl h Ar host
41df930be7Sderaadt.Ar mapname
42df930be7Sderaadt.Sh DESCRIPTION
4322a77626Saaron.Nm
44df930be7Sderaadtasks a YP server process for the order number and which host is the master
45df930be7Sderaadtserver for
46df930be7Sderaadt.Ar mapname .
47df930be7Sderaadt.Pp
48df930be7SderaadtThe options are as follows:
49f1ba3473Saaron.Bl -tag -width Ds
50c25d71fcSjmc.It Fl d Ar domain
51c25d71fcSjmcUse the YP domain
52c25d71fcSjmc.Ar domain
53c25d71fcSjmcinstead of the default domain as returned by
54c25d71fcSjmc.Xr domainname 1 .
55df930be7Sderaadt.It Fl h Ar host
56df930be7SderaadtAsk the YP server process running on
57df930be7Sderaadt.Ar host
58df930be7Sderaadtfor information about
59df930be7Sderaadt.Ar mapname .
60df930be7SderaadtIf
61df930be7Sderaadt.Ar host
62df930be7Sderaadtis not specified, the server polled is the default server returned by
63df930be7Sderaadt.Xr ypwhich 1 .
64df930be7Sderaadt.El
65df930be7Sderaadt.Sh SEE ALSO
66df930be7Sderaadt.Xr domainname 1 ,
67df930be7Sderaadt.Xr ypcat 1 ,
68df930be7Sderaadt.Xr ypmatch 1 ,
69df930be7Sderaadt.Xr ypwhich 1 ,
7022a77626Saaron.Xr yp 8 ,
7122a77626Saaron.Xr ypbind 8 ,
7222a77626Saaron.Xr ypset 8
73df930be7Sderaadt.Sh AUTHORS
74*27e95970Sschwarze.An -nosplit
75*27e95970Sschwarze.An Theo de Raadt
76*27e95970Sschwarzeand
77*27e95970Sschwarze.An John Brezak
78