# dhcpd.conf # # Sample configuration file for ISC dhcpd # # option definitions common to all supported networks... option domain-name "local"; option domain-name-servers ns1.local; server-identifier firewall.local; default-lease-time 600; max-lease-time 7200; # If this DHCP server is the official DHCP server for the local # network, the authoritative directive should be uncommented. authoritative; # Use this to send dhcp log messages to a different log file (you also # have to hack syslog.conf to complete the redirection). log-facility local7; ddns-domainname "local."; ddns-rev-domainname "in-addr.arpa."; ddns-update-style interim; ddns-updates on; key mykey { algorithm hmac-md5; secret "jättehemligt"; }; zone local. { primary 192.168.1.1; key mykey; } zone 1.168.192.in-addr.arpa. { primary 192.168.1.1; key mykey; } subnet 192.168.1.0 netmask 255.255.255.0 { range 192.168.1.32 192.168.1.64; option subnet-mask 255.255.255.0; option broadcast-address 192.168.1.255; option domain-name "local"; one-lease-per-client on; default-lease-time 14400; max-lease-time 14401; option ip-forwarding off; option time-offset -18000; option routers 192.168.1.1; option domain-name-servers 192.168.1.1; }