ypset(8)

ypset8

Tell ypbind(8) which yp server process to use

Usage

ypset [-d domain] [-h host] server

Overview

ypset tells the ypbind(8) process on the current machine which YP server process to communicate with. If server is down or is not running a YP server process, it is not discovered until a YP client process attempts to access a YP map, at which time ypbind(8) tests the binding and takes appropriate action.

ypset is most useful for binding a YP client that is not on the same broadcast network as the closest YP server, but can also be used for debugging a local network's YP configuration, testing specific YP client programs, or binding to a specific server when there are many servers on the local network supplying YP maps.

The options are as follows:

-d domain

Use the YP domain domain instead of the default domain as returned by domainname(1).

-h host

Set the YP binding on host instead of the local machine.

Releases

61 releases since OpenBSD 2.1; the text changed 8 times.

  1. 2.1–2.4
  2. 2.5–2.8
  3. 2.9
  4. 3.0–4.0
  5. 4.1
  6. 4.2–4.3
  7. 4.4–5.6
  8. 5.7–5.8
  9. 5.9–8.0

Authors

Theo de Raadt

From man 8.0-current-20261101 in OpenBSD 8.0-current (2026-11-01). Parsed by carta from the page's mdoc source.