DHCP block/ deny single IP addresses

My DHCP server has an include file which is dynamically generated. However, I would like to block or deny some single IPs from the /etc/dhcpd.conf file so that they are never being handed out to the DHCP clients. These IPs are: 192.168.1.25, 192.168.2.25, 192.168.3.25, 192.168.4.25.

Does anyone know how to do this?

Thanks.

Omit the IP address in the ranges that you specify.

It would have been very easy if that was possible. This is not possible since my DHCP scope file is dynamically generate via a script.

Is it possible to exclude single static IP addresses in the dhcpd.conf file? Thanks.

Not that I’m aware of.

Get your script to generate a hole in the ranges.