Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


allow-leasequery (DHCP Local Server)


Hierarchy Level


Enable a DHCPv4 or DHCPv6 local server to support individual leasequery operations by listening on the UDP socket and responding to leasequery requests received on UDP connections.



Specify that the DHCP local server responds to an individual leasequery request by sending the binding information to restricted requestors only. This ensures that the requestor is the originator of the binding.

Restricted requestors are determined as follows:

  • For DHCPv4 individual leasequery requests, the giaddr of the requestor must match the giaddr of the client.

  • For DHCPv6 individual leasequery requests, the requestor’s client ID in the bulk leasequery message must match the relay ID sent during binding creation.


    The restricted-requestor statement is not supported for the DHCPv6 allow-leasequery statement.

Required Privilege Level

system—To view this statement in the configuration.

system-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 16.1.