2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-24 02:47:42 +00:00

64 Commits

Author SHA1 Message Date
Ted Lemon
37ee426a25 Get md5.h from dst/ instead of minires/ 2001-02-22 07:37:15 +00:00
Ted Lemon
5b77c9109e Update some obsolete declarations. 2001-01-25 21:55:54 +00:00
Ted Lemon
c399351320 Fix a memory leak. 2001-01-25 08:29:12 +00:00
Ted Lemon
e9d45f83a4 - Work around clients that say they'll update their own A record when they
don't actually have an FQDN with which to do the update.
2001-01-19 10:59:10 +00:00
Ted Lemon
ec64b4626d - Add conditional support for updating static entries.
- Use ISC result codes instead of ns rcodes.
- Fix a bug in the code that converts a lease from ad-hoc updates to
  interim-style updates.
2001-01-16 23:48:30 +00:00
Ted Lemon
ebd0310bd2 Make ddns update optimization a configuration option. 2001-01-11 23:16:07 +00:00
Ted Lemon
ee83afae3a - Constify ns_updrec -> r_data.
- Remove common code.
- Get client updates working.
2001-01-11 02:18:11 +00:00
Ted Lemon
87fec47565 Fix up some signed vs. unsigned char mismatches 2001-01-09 07:01:48 +00:00
Ted Lemon
478028e7ec - Fix the DDNS update code to correctly send a client FQDN option, to not
do the update if it seems unnecessary, and to handle client updates if
  configured to do so.
2001-01-08 17:24:45 +00:00
Ted Lemon
bdad826feb - Don't save the IP address as an ASCII string variable.Don't update
the PTR if the update of the A failed.
- Don't do the delete with the 'interim/rfc' code if we didn't do the
  add with the 'interim/rfc' code.
- Don't delete the dhcid RR if there is still a valid A RR, and don't
  just delete all A RRs when installing a new one - the client may
  legitimately have IP addresses on more than one subnet.
2001-01-06 21:37:21 +00:00
Ted Lemon
385fcb2704 - Globalize resolver state.
- Fix an uninitialized variable.
- Log updates.
2001-01-04 00:08:16 +00:00
Ted Lemon
5fac73d638 Only do new-style ddns updates if that style is enabled. 2000-12-29 06:48:14 +00:00
Ted Lemon
0598e123df Tweak the way the dhcid is computed. 2000-12-28 23:23:46 +00:00
Damien Neil
b992d7e23d DDNS implementation rewrite. DDNS should now operate according to
<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.
2000-12-11 18:56:45 +00:00