configuration-templates – Blame information for rev 53
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
51 | office | 1 | ########################################################################### |
2 | ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ## |
||
3 | ## Please see: http://www.gnu.org/licenses/gpl.html for legal details, ## |
||
4 | ## rights of fair usage, the disclaimer and warranty conditions. ## |
||
5 | ########################################################################### |
||
6 | |||
53 | office | 7 | ### The key that allows this DHCP server to update ISC BIND. |
51 | office | 8 | include "/etc/bind/rndc.key"; |
9 | |||
10 | ### Include class declarations. |
||
11 | # Include Apple Intel NetBoot class from a separate file. |
||
12 | include "/etc/dhcp/dhcpd-classes/class-apple-intel-netboot.conf"; |
||
13 | # Include PXE class. |
||
14 | include "/etc/dhcp/dhcpd-classes/class-pxe.conf"; |
||
15 | # Include special "punchthrough" class. |
||
16 | include "/etc/dhcp/dhcpd-classes/class-punchthrough.conf"; |
||
17 | |||
18 | ### This DHCP server is the primary DHCP server for the configured network. |
||
19 | authoritative; |
||
20 | ### Always broadcast responses for broken clients. |
||
21 | always-broadcast on; |
||
22 | ### The log facility to log DHCP messages to (Debian: local7). |
||
23 | log-facility local7; |
||
24 | ### Disable IPv6 if it is not used on the network. |
||
25 | noipv6rs; |
||
26 | ### Allow boot-time DHCP. |
||
27 | allow booting; |
||
28 | ### Additionally enable BOOTP for legacy clients. |
||
29 | allow bootp; |
||
30 | always-reply-rfc1048 on; |
||
31 | |||
32 | ### Lease time configuration (in seconds). |
||
33 | default-lease-time 3600; |
||
34 | max-lease-time 86400; |
||
35 | ddns-ttl 1800; |
||
36 | |||
37 | ### Custom definitions for DHCP messages. |
||
38 | ## Code 252 defined for sending proxy configurations to clients. |
||
39 | option proxy-auto-discovery code 252 = text; |
||
40 | ## Code 45 defined for NetBIOS clients. |
||
41 | option netbios-dgam-servers code 45 = ip-address; |
||
42 | |||
43 | ### Subnet declarations. |
||
44 | include "/etc/dhcp/dhcpd-subnets/subnet-192.168.0.0.conf"; |
||
45 | |||
46 | ### Static leases sorted into different files. |
||
47 | # Equipment leases range in the first segment of the IP block. |
||
48 | include "/etc/dhcp/dhcpd-static-leases/static-leases-equipment.conf"; |
||
49 | # Virtual machine leases are declared in this file. |
||
50 | include "/etc/dhcp/dhcpd-static-leases/static-leases-vms.conf"; |
||
51 | # All other leases go here. |
||
52 | include "/etc/dhcp/dhcpd-static-leases/static-leases-default.conf"; |