allow bootp; allow booting; allow client-updates; authoritative; if substring(option dhcp-client-identifier, 0, 1) = "\x00" { ddns-hostname = pick-first-value(substring(option dhcp-client-identifier, 1, 128), option host-name, binary-to-ascii(10, 8, ".", leased-address)); } else { ddns-hostname = pick-first-value(option host-name, binary-to-ascii(10, 8, ".", leased-address)); } ddns-domainname "%s"; ddns-update-style interim; ddns-updates on; default-lease-time 86400; max-lease-time 604800; pid-file-name "/var/run/%s.pid"; local-port %s; key mykey { algorithm hmac-md5; secret "%s"; }; %s subnet %s netmask %s { option subnet-mask %s; option broadcast-address %s; option routers %s; option domain-name "%s"; option domain-name-servers %s; range %s %s; } %s