1DHCP_LEASE_TIME(1) General Commands Manual DHCP_LEASE_TIME(1)
2
3
4
6 dhcp_lease_time - Query remaining time of a lease on a the local dns‐
7 masq DHCP server.
8
10 dhcp_lease_time <address>
11
13 Send a DHCPINFORM message to a dnsmasq server running on the local host
14 and print (to stdout) the time remaining in any lease for the given
15 address. The time is given as string printed to stdout.
16
17 If an error occurs or no lease exists for the given address, nothing is
18 sent to stdout a message is sent to stderr and a non-zero error code is
19 returned.
20
21 Requires dnsmasq 2.67 or later and may not work with other DHCP
22 servers.
23
24 The address argument is a dotted-quad IP addresses and mandatory.
25
27 Only works with IPv4 addresses and DHCP leases.
28
30 dnsmasq(8)
31
33 This manual page was written by Simon Kelley <simon@thekelleys.org.uk>.
34
35
36
37
38
39 DHCP_LEASE_TIME(1)