ISC DHCP configuration that updates Windows DDNS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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