Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #
- # Sample configuration file for ISC dhcpd for Debian
- #
- #
- # 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-update-style none;
- #ddns-updates on;
- ddns-update-style interim;
- #ignore client-updates;
- #update-static-leases on;
- 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;
- # A slightly different configuration for an internal subnet.
- option domain-name "eusms.minden";
- option domain-name-servers 192.168.1.11, 217.0.43.1, 217.0.43.193;
- option all-subnets-local true;
- option subnet-mask 255.255.255.0;
- option routers 192.168.1.1;
- server-name "hybrid.eusms.minden";
- option domain-name-servers 192.168.1.11, 217.0.43.1, 217.0.43.193;
- option routers 192.168.1.1;
- subnet 192.168.1.0 netmask 255.255.255.0 {
- option routers 192.168.1.1;
- range 192.168.1.100 192.168.1.200;
- ddns-domainname "eusms.minden";
- ddns-rev-domainname "1.168.192.in-addr.arpa";
- option broadcast-address 192.168.1.255;
- option subnet-mask 255.255.255.0;
- option domain-name-servers 192.168.1.11, 217.0.43.1, 217.0.43.193;
- allow unknown-clients;
- authoritative;
- }
- host hybrid {
- hardware ethernet 00:21:70:0d:95:ea;
- fixed-address 192.168.1.11;
- option host-name "hybrid";
- }
- include "/etc/dhcp/ddns.key";
- zone eusms.minden. {
- primary 192.168.1.11;
- key DDNS_UPDATE;
- }
- zone 1.168.192.in-addr.arpa. {
- primary 192.168.1.11;
- key DDNS_UPDATE;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement