2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-30 05:47:45 +00:00

1205 Commits

Author SHA1 Message Date
Ted Lemon
25f11933ac - Get rid of lease -> hostname, which doesn't do anything.
- Fix a bug in uid handling that could cause core dumps with long uids.
2001-02-12 21:09:21 +00:00
Ted Lemon
a920d3daf8 - Cut some things out into subroutines to support tracing.
- Do all the relevant tracing setup.
- Clarify ddns-update-style startup error message.
- Print version information and exit if --version is given.
2001-02-12 21:04:06 +00:00
Ted Lemon
0e74ff1fe8 Fix DDNS-related documentation. Mention logrotate as well as newsyslog. 2001-02-12 21:01:36 +00:00
Ted Lemon
27e90ede57 - Add tracing hooks.
- Fix a bug in handling of DHCPNAK that would make the server act like
  it wasn't authoritative.
2001-02-12 21:00:02 +00:00
Ted Lemon
d8765900f4 Add support for tracing. 2001-02-12 20:53:56 +00:00
Ted Lemon
e15d235de5 Add support for tracing. Fix a bug in lease uid parsing. 2001-02-12 20:53:04 +00:00
Ted Lemon
93016999f9 Add hook for tracing. 2001-02-12 20:51:26 +00:00
Ted Lemon
297c659c95 Document stash-agent-options. 2001-01-26 05:57:56 +00:00
Ted Lemon
de528760a8 Fix a memory leak. Only return agent options that were sent. 2001-01-26 05:57:35 +00:00
Ted Lemon
5b77c9109e Update some obsolete declarations. 2001-01-25 21:55:54 +00:00
Ted Lemon
0feab0743f Add log-facility. 2001-01-25 08:37:03 +00:00
Ted Lemon
6fb139d337 - Fix a core dump pointed out by Albert Herranz.
- Fix handling of agent options.
2001-01-25 08:36:36 +00:00
Ted Lemon
5f236d89ed Don't use snprintf on platforms that don't have it. 2001-01-25 08:35:24 +00:00
Ted Lemon
43d5ca997f Clean up some problems. 2001-01-25 08:34:57 +00:00
Ted Lemon
d83e416e5c - Document log-facility parameter.
- Fix some typos pointed out on dhcp-server mailing list.
2001-01-25 08:34:13 +00:00
Ted Lemon
e1206f8ec6 Modernize dhcpd.conf example 2001-01-25 08:33:11 +00:00
Ted Lemon
ee5a7404e7 Add log_facility config parameter. 2001-01-25 08:32:57 +00:00
Ted Lemon
bfe2d221d7 - Fix some pedantic allocation problems.
- Fix handling of agent options.
- Fix handling of giaddr debugging features.
2001-01-25 08:32:26 +00:00
Ted Lemon
c399351320 Fix a memory leak. 2001-01-25 08:29:12 +00:00
Ted Lemon
5e0b4c6248 Fix handling of agent options. 2001-01-25 08:28:51 +00:00
Ted Lemon
6c5223f563 - Add some error messages where parser was failing silently.
- Fix handling of agent options.
2001-01-25 08:28:22 +00:00
Ted Lemon
e7bd704742 Do not delete a client's DNS entry on entry to a transitory state (e.g., expired). 2001-01-19 11:10:32 +00:00
Ted Lemon
54bdf6c75e - Be more verbose about bogus state transitions.
- Don't accidentally do the transition when we decide not to.
2001-01-19 11:06:45 +00:00
Ted Lemon
f8f3494034 - Don't respond to DHCPDISCOVERS when we're not responding.
- Don't load balance RENEWING and REBINDING clients.
2001-01-19 11:03:56 +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
1cfe0a8274 Add ping-check and update-static-leases flags. 2001-01-17 00:21:03 +00:00
Ted Lemon
abf0a2ab9f Document new parameters. 2001-01-17 00:02:53 +00:00
Ted Lemon
174f5ef554 Add a ping-check parameter. Pass old lease to ddns_updates. 2001-01-16 23:57:23 +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
76981d9fcc Initialize hardware buffer before using it, just in case. 2001-01-16 22:46:01 +00:00
Ted Lemon
948274cfe7 Add update-optimization keyword. 2001-01-11 23:17:16 +00:00
Ted Lemon
5ee63c606e Document update-optimization config parameter. 2001-01-11 23:16:58 +00:00
Ted Lemon
ac9c906a33 Don't allow the client to specify the domain name for updates. 2001-01-11 23:16:31 +00:00
Ted Lemon
ebd0310bd2 Make ddns update optimization a configuration option. 2001-01-11 23:16:07 +00:00
Ted Lemon
6fdcc1a0d5 - Don't parse for semi twice in failover state.
- Parse client-updates in allow/deny statements.
2001-01-11 23:15:31 +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
fd35aacb24 Add client-updates config option. 2001-01-08 08:24:56 +00:00
Ted Lemon
3031654ab7 Document interim DDNS updates implementation. 2001-01-08 08:24:23 +00:00
Ted Lemon
797d58b313 Don't say (not authoritative) when we are. 2001-01-08 08:23:21 +00:00
Ted Lemon
6657e93a64 Don't try to move the lease if it doesn't have a pool. 2001-01-06 21:39:30 +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
b282197910 - Move ddns_removals out of the on_release conditionals so that it actually
happens.
2001-01-04 00:30:53 +00:00
Ted Lemon
5cc21fb313 Alphabetize configuration options and add documentation for more of them. 2001-01-04 00:27:20 +00:00
Ted Lemon
d7f6db1575 - Oops, tack the ad-hoc ddns updates to the end of the root group statement
list if ad-hoc is enabled.
2001-01-04 00:23:39 +00:00
Ted Lemon
bf9d9d2720 If ddns-updates is not set, default to enabled. 2001-01-04 00:15:50 +00:00
Ted Lemon
385fcb2704 - Globalize resolver state.
- Fix an uninitialized variable.
- Log updates.
2001-01-04 00:08:16 +00:00
Ted Lemon
a256fd856f - Add ddns-update-style configuration option, which depends on new
enumeration parsing support.
- Add ddns-styles enumeration for ddns-update-style option.
2000-12-29 06:51:21 +00:00
Ted Lemon
fafe846361 - Require user to declare a ddns update style.
- Put back support for old-style ddns updates.
- Add ddns-update-style parameter, which can be ad-hoc, interim or none.
2000-12-29 06:49:38 +00:00