# dhcpd.conf # # Sample configuration file for ISC dhcpd # # option definitions common to all supported networks... option domain-name "schubert.home"; option domain-name-servers aps.schubert.home, gateway.schubert.home; default-lease-time 21600; max-lease-time 86400; # The ddns-updates-style parameter controls whether or not the server will # attempt to do a DNS update when a lease is confirmed. We default to the # behavior of the version 2 packages ('none', since DHCP v2 didn't # have support for DDNS.) ddns-updates on; ddns-update-style standard; allow unknown-clients; use-host-decl-names on; # If this DHCP server is the official DHCP server for the local # network, the authoritative directive should be uncommented. authoritative; # This option points to the copy rndc.key we created for bind9. include "/etc/dhcp/ddns-keys/rndc.key"; # 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; zone schubert.home. { primary 192.168.16.2; key rndc-key; } zone 16.168.192.in-addr.arpa. { primary 192.168.16.2; key rndc-key; } subnet 192.168.16.0 netmask 255.255.255.0 { range 192.168.16.150 192.168.16.230; option domain-name-servers 192.168.16.2; option domain-name "schubert.home"; option domain-search "schubert.home"; option netbios-name-servers 192.168.16.2; option routers 192.168.16.1; option ntp-servers 192.168.16.2; option broadcast-address 192.168.16.255; option subnet-mask 255.255.255.0; ddns-domainname "schubert.home."; ddns-rev-domainname "in-addr.arpa."; host fb-lisa { hardware ethernet e8:df:70:f2:a1:ee; fixed-address 192.168.16.3; option host-name "fb-lisa"; } host nas-1 { hardware ethernet 00:16:01:A5:19:3A; fixed-address 192.168.16.4; option host-name "nas-1"; } .... }