Ted Lemon
5abf0a4419
Use ISC result codes instead of NS rcodes to report update errors.
2001-01-16 22:34:47 +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
afc0ca251f
Add defines for update parameters.
2001-01-11 23:14:37 +00:00
Ted Lemon
8a34e9e6ed
Parse client state names as numbers.
2001-01-11 23:14:11 +00:00
Ted Lemon
19903d4c86
Don't include the '.' in the fqdn.domainname.
2001-01-11 23:13:50 +00:00
Ted Lemon
5a2bee237b
Add client-updates keyword.
2001-01-11 23:13:27 +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
edefddce9f
constify ns_updrec -> r_data.
2001-01-11 02:16:24 +00:00
Ted Lemon
2f7ca09230
Publicize some function declarations.
2001-01-11 02:15:31 +00:00
Ted Lemon
eb814f9d98
fqdn.fqdn starts at the beginning of the fqdn, not at the next token.
2001-01-11 02:14:51 +00:00
Ted Lemon
79c36eb70f
- Move string set/reference/unset from ddns.c to here.
...
- Constify updrec -> r_name.
2001-01-11 02:14:23 +00:00
Ted Lemon
05528f7f05
Move the dhcid computer into common code.
2001-01-11 02:12:16 +00:00
Ted Lemon
87fec47565
Fix up some signed vs. unsigned char mismatches
2001-01-09 07:01:48 +00:00
Ted Lemon
f6eb925b20
- Fix linked option space to use pairs rather than direct links on option
...
cache structures, which may be used by more than one option state at
the same time.
2001-01-09 06:56:11 +00:00
Ted Lemon
2321120a86
Oops, fix the cast from the previous commit so it actually helps.
2001-01-08 17:26:04 +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
998205cee2
Add the FQDN_FQDN suboption.
2001-01-08 17:23:03 +00:00
Ted Lemon
8120ab76d0
Add fqdn.fqdn suboption.
2001-01-08 17:21:38 +00:00
Ted Lemon
42623ef893
- Store the complete FQDN as an accessible option, and use that when
...
encapsulating the FQDN option to the client.
2001-01-08 17:19:59 +00:00
Ted Lemon
b8a4e41a7a
Fix a signed vs. unsigned problem.
2001-01-08 15:39:43 +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
26cb4b2d7c
Add define for client-updates configuration variable.
2001-01-08 08:22:35 +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
48ceb859f8
Don't use the -gcc suffix in naming work directories
2001-01-06 21:38:50 +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
9c5706a682
Include net/if_arp.h for ARPHRD_*
2001-01-06 21:32:49 +00:00
Ted Lemon
27b3dc1d62
Add support for printing NXDOMAIN and YXDOMAIN prerequisites.
2001-01-06 21:32:26 +00:00
Ted Lemon
d8c76890f8
Use -c with bsdinstall on Tru64.
2001-01-04 00:33:03 +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
59ae3999dd
- Add a null statement type, so that uninitialized statements won't
...
masquerade as if statements.
2001-01-04 00:02:06 +00:00
Ted Lemon
de427245f2
- Globalize resolver state.
...
- Add an unset function for unsetting variables.
2001-01-03 23:50:13 +00:00
Ted Lemon
7167c65402
Globalize resolver state.
2001-01-03 23:43:24 +00:00
Ted Lemon
63a0ff886d
- Make it possible for parse_option_token to modify the format pointer, to
...
support the 'N' and 'E' option codes.
2001-01-03 23:33:18 +00:00
Ted Lemon
2bf47722e9
Don't make bogus statements a fatal error.
2001-01-03 23:15:33 +00:00
Ted Lemon
21fd88eaec
- Register the interface_initialize function (fixes a problem with
...
uninitialized interfaces being registered anyway and causing the
server to exit).
2001-01-03 23:13:46 +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
Ted Lemon
5fac73d638
Only do new-style ddns updates if that style is enabled.
2000-12-29 06:48:14 +00:00
Ted Lemon
6cecb7c50d
Initialize omapi before trying to mess with interfaces.
2000-12-29 06:47:46 +00:00
Ted Lemon
6e8d142358
Add structure definitionns for enumerations.
2000-12-29 06:47:16 +00:00