ypxfr(8)

ypxfr8

Get a yp map from yp server

Usage

ypxfr [-cf] [-C tid prog ipadd port] [-d domain] [-h host] [-s domain] mapname

Overview

ypxfr is the utility in YP that transfers maps to the local host.

Since the YP master transfers a map when it has changed, a YP slave should check for missed maps regularly. This can be done via an entry in crontab(5). The scripts ypxfr_1perhour, ypxfr_2perday and ypxfr_1perday could be used for that.

The options are as follows:

-C tid prog ipadd port

This option is only used by ypserv. This is to open communication with a yppush on another host.

-c

Don't send a "Clear current map" to local ypserv process. Useful if ypserv isn't running locally to avoid timeout message.

-d domain

Don't use default domain, use the specified domain.

-f

Force map transfer, even if version of master is older than local copy.

-h host

Get map from host instead of the maps master host.

-s domain

Specify a source domain other than the target domain.

Files

/usr/sbin/ypxfr_1perhour
/usr/sbin/ypxfr_2perday
/usr/sbin/ypxfr_1perday

Releases

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

  1. 2.1–2.2
  2. 2.3–2.5
  3. 2.6
  4. 2.7–2.8
  5. 2.9
  6. 3.0
  7. 3.1–3.2
  8. 3.3
  9. 3.4–4.1
  10. 4.2–4.3
  11. 4.4–5.3
  12. 5.4–5.8
  13. 5.9–6.8
  14. 6.9–8.0

-b until OpenBSD 3.0.

Authors

Mats O Jansson ⟨[email protected]⟩

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