dhcpleasectl(8)

dhcpleasectl8

Control the dhcpleased client

Usage

dhcpleasectl [-l] [-s socket] [-w maxwait] interface

Overview

The dhcpleasectl program instructs the dhcpleased(8) daemon to request a new lease.

The following options are available:

-l

List the configured lease on interface instead of requesting a new lease.

-s socket

Use socket instead of the default /dev/dhcpleased.sock to communicate with dhcpleased(8).

-w maxwait

Specify the maximum number of seconds to wait for interface to be configured. The default is 10 seconds.

Files

/dev/dhcpleased.sock

UNIX-domain socket used for communication with dhcpleased(8).

Releases

13 releases since OpenBSD 6.9; the text changed 3 times.

  1. 6.9
  2. 7.0–7.2
  3. 7.3–7.5
  4. 7.6–8.0

-l since OpenBSD 7.0; -w since OpenBSD 7.0.

History

The dhcpleasectl program first appeared in OpenBSD 6.9.

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