Skip to content

Instantly share code, notes, and snippets.

@rothwerx
Created December 9, 2014 16:48
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save rothwerx/3392745ab7bef150a73a to your computer and use it in GitHub Desktop.
ISC DHCP configuration that updates Windows DDNS
isc-dhcpd-4.1.1-P1
authoritative;
option domain-name "int.domain.com";
option domain-search "int.domain.com";
option domain-name-servers 10.50.10.74, 10.50.10.75, 10.50.10.20, 10.50.10.21;
ddns-updates on;
ddns-update-style interim;
update-static-leases on;
ignore client-updates;
update-optimization off;
zone int.domain.com. {
primary 10.50.10.74, 10.50.10.75, 10.50.10.20, 10.50.10.21;
}
zone 55.10.in-addr.arpa {
primary 10.50.10.74, 10.50.10.75, 10.50.10.20, 10.50.10.21;
}
default-lease-time 600;
max-lease-time 7200;
log-facility local7;
subnet 10.55.0.0 netmask 255.255.0.0 {
range 10.55.5.20 10.55.255.254;
option subnet-mask 255.255.0.0;
option routers 10.55.1.2;
option broadcast-address 10.55.255.255;
ddns-domainname "int.domain.com.";
ddns-rev-domainname "in-addr.arpa.";
if exists user-class and option user-class = "iPXE" {
filename "bootstrap.ipxe";
} else {
filename "undionly.kpxe";
}
next-server 10.55.1.6;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment