#Dynamic DNS security settings key "dhcpdupdate" { #TODO algorithm hmac-md5; secret "FYhvwsW1ZtFZqWzsMpqhbg=="; }; zone dhcp.site.rthoni.com { primary 10.15.100.1; key dhcpdupdate; } zone site.rthoni.com { primary 10.15.100.1; key dhcpdupdate; } zone 100.15.10.in-addr.arpa. { primary 10.15.100.1; key dhcpdupdate; } # Custom routes classes option classless-routes code 121 = array of unsigned integer 8; option classless-routes-win code 249 = array of unsigned integer 8; # Leases settings default-lease-time 600; max-lease-time 7200; # Misc settings use-host-decl-names on; authoritative; log-facility local7; subnet 10.15.100.0 netmask 255.255.255.0 { # Dynamic DNS update ddns-updates off; #TODO ddns-update-style interim; update-static-leases off; ddns-domainname "dhcp.site.rthoni.com"; ddns-rev-domainname "100.15.10.in-addr.arpa."; # IP settings range 10.15.100.50 10.15.100.250; option subnet-mask 255.255.255.0; option broadcast-address 10.15.100.255; option routers 10.15.100.1; # DNS settings option domain-name "site.rthoni.com"; option domain-search "site.rthoni.com rthoni.com"; option domain-name-servers 10.15.100.1; # Push custom routes to clients #option classless-routes 24, 10,15,42, 10.15.12,2; #option classless-routes-win 24, 10,15,42, 10.15.12,2; # Netboot settings next-server 10.15.100.1; #option root-path "10.15.100.1:/pxeroot/ubuntu"; if exists user-class and ( option user-class = "iPXE-rthoni" ) { option domain-search "site.rthoni.com"; filename "http://netboot/boot.ipxe"; } else { filename "ipxe-rthoni.kpxe"; } # Static IP hosts group { ddns-domainname "site.rthoni.com"; } }