Skip to content

Instantly share code, notes, and snippets.

Created June 12, 2018 13:14
What would you like to do?
# 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;
# option definitions common to all supported networks...
option domain-name "home";
option domain-search "home";
# 8 day leases - we don't need short leases
default-lease-time 691200;
max-lease-time 691200;
# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
# 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;
subnet netmask {
option routers;
option domain-name-servers;
# Static IPs
host mypc {
hardware ethernet 00:11:22:33:44:55;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment