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