Block dynamic ip in dhcp leases (Script)

Dear all,
Hope you are fine.
I have running hotpost server. IN DHCP server I make users static. Which is my trusted users
I want to block newly connected DHCP user (which is connected with dynamic ip)
I want to block in Hotspot host list

I need script which block users in dhcp.

Thanks

regards,
dhcp.PNG

ip dhcp-server set dhcp1 address-pool=static-only

For added security, you may want to enable “Add ARP for Leases” for the DHCP server and the interface ARP setting to “reply-only”.

Ref.: Add ARP for leases, what does it do?