2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-28 12:57:42 +00:00

27 Commits

Author SHA1 Message Date
David Hankins
98bd7ca099 DHCPv6 branch merged to HEAD. 2007-05-08 23:05:22 +00:00
Evan Hunt
1ba87b376b A new server config option "fqdn-reply" specifies whether the server
should send out option 81 (FQDN).  Defaults to "on".  If set to "off",
the FQDN option is not sent, even if the client requested it.  This is
needed because some clients misbehave otherwise. [rt16624]
2007-04-27 22:48:00 +00:00
David Hankins
4d2eaafb35 - A new server config option, 'do-reverse-updates', has been added
which causes the server to abstain from performing updates on PTR
  records.  Thanks to a patch from Christof Chen at Allianz.
  [ISC-Bugs #16781]
2007-04-03 16:46:03 +00:00
David Hankins
75ab3070cc - A reference leak on binding scopes set by ddns updates was repaired.
[ISC-Bugs #16769]
2007-03-27 02:47:27 +00:00
David Hankins
5786874726 Several minor bugs never seen in any public release corrected.
[ISC-Bugs #16316]
2006-08-02 22:36:00 +00:00
Shane Kerr
8f4c32a101 Hankins' fix to HEAD build breakage. 2006-07-20 16:27:45 +00:00
David Hankins
a396d25fba - 'ignore client-updates;' now has behaviour that is different from
'deny client-updates;'.  The client's request is not truly ignored,
  rather it is encouraged.  Should this value be configured, the server
  updates DNS as though client-updates were set to 'deny'.  That is, it
  enters into DNS whatever it is configured to do already, provided it is
  configured to.  Then it sends a response to the client that lets the
  client believe it is performing client updates (which it will), probably
  for a different name.  In essence, this lets the client do as it will,
  ignoring this aspect of their request. [ISC-Bugs #16185]
2006-07-19 20:13:57 +00:00
David Hankins
3004bebf47 - A new DDNS related server option, update-conflict-detection, has been
added.  If this option is enabled, dhcpd will perform normal DHCID
  conflict resolution (the default).  If this option is disabled, it will
  instead trust the assigned name implicitly (removing any other bindings
  on that name).  This option has not been made available in dhclient.
  [ISC-Bugs #16165]
2006-07-19 17:14:55 +00:00
David Hankins
f7fdb21693 - Varying option space code and length bit widths (8/16/32) are now
supported.  This is a milestone in acheiving RFC 3925 "VIVSO" and
  DHCPv6 support. [ISC-Bugs #15979]
2006-06-01 20:23:18 +00:00
David Hankins
98311e4ba9 MASSIVE merge from V3-RELEASE-BRANCH into HEAD. HEAD and V3-RELEASE are
now synced as of tag V3-0-3-BETA-1.
2005-03-17 20:15:29 +00:00
Ted Lemon
0db87765e3 Pull up RC9 2001-06-29 18:34:57 +00:00
Ted Lemon
d758ad8cac Merge changes between 3.0rc7 and 3.0rc8pl2. 2001-06-27 00:31:20 +00:00
Ted Lemon
c2318c2074 ns_rcode -> isc_result_t 2001-03-16 00:23:59 +00:00
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