# $Id: ddns-options.inc 1121 2008-09-03 20:08:07Z jhealy $ # # Include file for specifying Dynamic DNS (DDNS) updates. # #----------------------------------------------------------------------- # Dynamic DNS Update Global options #----------------------------------------------------------------------- # (see `man dhcpd.conf` for explanation of options) # Defaults for Dynamic DNS Updates # use the "interim" style for updating ddns-update-style interim; # When assigning a DNS hostname, pick in this order: # 1) The hostname specified in the config file # 2) A hostname constructed from the leased address (fallback/autogenerated) # jhealy: just use auto-generated version; static leases should be used # for names we care about ddns-hostname = concat ("MAC-", binary-to-ascii (16, 8, "-", substring (hardware, 1, 6) )); #ddns-hostname = pick (option host-name, # concat ("dhcp-", # binary-to-ascii (16, 8, "-", substring (hardware, 1, 6) ))); # Disallow clients from updating their own DNS records; only the server # gets to do that. do-forward-updates true; deny client-updates; # Do not update statically-assigned IPs, even if they're in our config file # (this is the recommended option for the DHCP software) update-static-leases false; # Always attempt DNS updates when false, regardless of whether the DHCP server # thinks it's already told the DNS server about a particular change. update-optimization false; # Time to live for Dynamic DNS records # We keep this short (5 minutes) to prevent stale records ddns-ttl 300; # By default, use this domain name for DDNS # (the "rogue" name gets overridden by our client declarations in common) ddns-domainname "rogue.suffieldacademy.org"; # Include key information for updating domains include "/etc/dhcp.d/keys.inc"; # Include zone mapping information include "/etc/dhcp.d/zones.inc";