Skip to content
  • Damien Neil's avatar
    DDNS implementation rewrite. DDNS should now operate according to · b992d7e2
    Damien Neil authored
    <draft-ietf-dhc-dhcp-dns-12.txt>.
    
    common/options.c, common/tables.c, includes/dhcp.h:
      Split the fqdn.name option into fqdn.hostname and fqdn.domainname.
    
    includes/dhcpd.h, server/Makefile.dist, server/ddns.c, server/dhcp.c,
    server/mdb.c, server/stables.c:
      Added a new file (server/ddns.c) containing the DDNS updates code.
      This file exports two functions: ddns_updates() and ddns_removals().
      ddns_updates() is called when a lease is granted, and ddns_removals()
      is called when the lease expires or is released.
    
    server/dhcpd.c:
      Remove the previous DDNS update code, and add default code for the
      ddns-hostname, ddns-domainname, ddns-ttl, and ddns-rev-domainname
      server options.
    b992d7e2