########################################################################### ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ## ## Please see: http://www.gnu.org/licenses/gpl.html for legal details, ## ## rights of fair usage, the disclaimer and warranty conditions. ## ########################################################################### ### The key that allows this DHCP server to update ISC BIND. include "/etc/bind/rndc.key"; ### Include class declarations. # Include Apple Intel NetBoot class from a separate file. include "/etc/dhcp/dhcpd-classes/class-apple-intel-netboot.conf"; # Include PXE class. include "/etc/dhcp/dhcpd-classes/class-pxe.conf"; # Include special "punchthrough" class. include "/etc/dhcp/dhcpd-classes/class-punchthrough.conf"; ### This DHCP server is the primary DHCP server for the configured network. authoritative; ### Always broadcast responses for broken clients. always-broadcast on; ### The log facility to log DHCP messages to (Debian: local7). log-facility local7; ### Disable IPv6 if it is not used on the network. noipv6rs; ### Allow boot-time DHCP. allow booting; ### Additionally enable BOOTP for legacy clients. allow bootp; always-reply-rfc1048 on; ### Lease time configuration (in seconds). default-lease-time 3600; max-lease-time 86400; ddns-ttl 1800; ### Custom definitions for DHCP messages. ## Code 252 defined for sending proxy configurations to clients. option proxy-auto-discovery code 252 = text; ## Code 45 defined for NetBIOS clients. option netbios-dgam-servers code 45 = ip-address; ### Subnet declarations. include "/etc/dhcp/dhcpd-subnets/subnet-192.168.0.0.conf"; ### Static leases sorted into different files. # Equipment leases range in the first segment of the IP block. include "/etc/dhcp/dhcpd-static-leases/static-leases-equipment.conf"; # Virtual machine leases are declared in this file. include "/etc/dhcp/dhcpd-static-leases/static-leases-vms.conf"; # All other leases go here. include "/etc/dhcp/dhcpd-static-leases/static-leases-default.conf";