Firstly, ISC DHCP is deprecated in favour of Kea since 2022 so you should migrate or at least use something else. It doesn’t necessarily have to be Kea.
While this for OpenBSD’s dhcpd it more or less accepts the same syntax
# Set default lease to 23h (time to refresh)
default-lease-time 82800;
# Set default lease deadline to 24h
max-lease-time 86400;
# Set default domain-name
option domain-name "foobar.net";
# Set nameservers
option domain-name-servers 192.168.8.1;
# This is the main DHCP server
authoritative;
# Deny duplicated leases
#deny duplicates;
# LAN
subnet 192.168.8.0 netmask 255.255.255.0 {
option routers 192.168.8.1;
option broadcast-address 192.168.8.255;
range 192.168.8.220 192.168.8.245;
}
It’s been a while since I used ISC’s dhcpd but I think the syntax for testing your config is dhcpd -t -cf /path/to/dhcpd.conf