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.\" $FreeBSD$ 31.\" 32.Dd September 3, 2015 33.Dt YPPOLL 8 34.Os 35.Sh NAME 36.Nm yppoll 37.Nd ask version of NIS map from NIS server 38.Sh SYNOPSIS 39.Nm yppoll 40.Op Fl d Ar domain 41.Op Fl h Ar host 42.Ar mapname 43.Sh DESCRIPTION 44.Nm 45asks a NIS 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 Ds 51.It Fl d Ar domain 52Use the NIS domain 53.Ar domain 54instead of the default domain as returned by 55.Xr domainname 1 . 56.It Fl h Ar host 57Ask the NIS server process running on 58.Ar host 59for information about 60.Ar mapname . 61If 62.Ar host 63is not specified, the server polled is the default server returned by 64.Xr ypwhich 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 -nosplit 76.An Theo de Raadt 77and 78.An John Brezak 79