Brian Wellington
e43b9a2005
move compression context create/delete into the caller of the message
...
rendering functions. This reduces the size of the message object.
2001-03-05 21:15:47 +00:00
Mark Andrews
80aba3d49a
734. [bug] An attempt to re-lock the zone lock could occur if
...
the zone was shutdown during a zone tranfer. [RT #830 ]
2001-02-09 06:04:55 +00:00
Brian Wellington
0aed1e6e6b
add a cast to silence the annoying MS compiler. [RT #662 ]
2001-01-17 03:02:01 +00:00
Brian Wellington
499b34cea0
copyright update
2001-01-09 22:01:04 +00:00
Andreas Gustafsson
0609174d93
removed empty line
2001-01-03 20:21:11 +00:00
Mark Andrews
f4e4111795
643. [bug] xfrin error messages made more verbose, added class
...
of the zone. [RT# 599]
2000-12-30 13:03:48 +00:00
David Lawrence
10e6498d6d
* Removed max-names (as well as DNS_R_ZONETOOLARGE, which was
...
never returned by any function and was presumably cruft
related to max-names).
* Made allow-notify part of the public source and documented it.
* Made master server TSIG keys part of the public source and documented it.
* Removed a define of DNS_OPT_NEWCODES supposedly used by GNS, with
the approval of Mike.
* Made DNS_ZONE_FORCELOAD flag, used by rndc reload, work in the
public source. After the NOMINUM_PUBLIC cleanup, I'll
fix the rndc reload issues we've been discussing here at IETF.
I left in NOMIMUM_PUBLIC around the forward-notify stuff, with the
expectation that Michael will give the go-ahead next week to remove it.
2000-12-13 00:15:39 +00:00
Brian Wellington
78838d3e0c
8 space -> tab conversion
2000-12-11 19:24:30 +00:00
Brian Wellington
911ed0d3be
Split journal.[ch] into journal.[ch] and diff.[ch]
2000-12-09 02:17:12 +00:00
Andreas Gustafsson
ba6fd25808
567. [bug] Setting the zone transfer timeout to zero caused an
...
assertion failure. [RT #302 ]
566. [func] New public function dns_timer_setidle().
2000-11-17 19:04:51 +00:00
Andreas Gustafsson
5afc10d6d8
554. [bug] Slave server attempting zone transfer could crash
...
with an assertion failure on certain malformed
responses from the master. [RT #457 ]
2000-11-13 20:12:29 +00:00
Brian Wellington
abc5ea4349
fix some potential memory leaks
2000-11-03 21:36:37 +00:00
Mark Andrews
c03bb27f06
532. [func] Implement DNS UPDATE pseudo records using
...
DNS_RDATA_UPDATE flag.
531. [func] Rdata really should be initalized before being
assigned to (dns_rdata_fromwire(), dns_rdata_fromtext(),
dns_rdata_clone(), dns_rdata_fromregion()),
check that it is.
2000-10-25 04:26:57 +00:00
Mark Andrews
0d32cdd9a0
Check message id against expected id, fail / revert to AXFR on mismatch.
...
Skip check for second and subsequent messages if the query is AXFR.
2000-10-16 04:26:08 +00:00
Michael Sawyer
94b50bce2b
Add zone-specific reload and refresh capability to server and rndc
2000-10-12 21:52:00 +00:00
Mark Andrews
588b63e1a8
512. [bug] The zone tranfer code could throw an execption with
...
an invalid IXFR stream.
2000-10-12 03:32:14 +00:00
Brian Wellington
6850cdd449
508. [func] dns_message_parse() can now do a best-effort
...
attempt, which should allow dig to print more invalid
messages.
2000-10-06 18:58:30 +00:00
Mark Andrews
df1e829dde
504. [bug] The zone was not being marked as dirty when updated via
...
IXFR.
503. [bug] dumptime was not being set along with
DNS_ZONEFLG_NEEDDUMP.
2000-10-02 23:55:44 +00:00
Brian Wellington
6cd4630de6
spacing
2000-09-19 01:44:15 +00:00
Andreas Gustafsson
4187398298
416. [bug] Slave zones with no master file tried to use a
...
NULL pointer for a journal file name when they
received an IXFR.
2000-08-31 23:56:00 +00:00
Andreas Gustafsson
a69cebac84
414. [bug] Server did not shut down until all incoming zone
...
transfers were finished.
2000-08-31 17:48:47 +00:00
Michael Graff
079c87a7fe
remove annoying log message that floods while loading
2000-08-24 21:28:50 +00:00
Andreas Gustafsson
7e6d32fdba
#endif /* NOMINUM_PUBLIC */ was missing the magic comment
2000-08-11 21:51:04 +00:00
Andreas Gustafsson
9be4279a95
[RT #231 ] dns_db_nodecount() could be invoked with a NULL argument.
...
Also moved the database size logging to the same place as the database
size checking.
2000-08-10 20:26:08 +00:00
Andreas Gustafsson
e605e98f3e
use DNS_NAME_MAXTEXT/DNS_NAME_FORMATSIZE
2000-08-09 00:09:36 +00:00
Andreas Gustafsson
1913796b78
typo
2000-08-08 23:49:28 +00:00
Andreas Gustafsson
7048bc2b71
wired up and implemented the max-names zone option (for GNI)
2000-08-08 23:14:29 +00:00
Michael Graff
3d9892109d
print out (debug level 2) the number of nodes in the zone on axfr, ixfr, and load
2000-08-04 13:26:48 +00:00
David Lawrence
40f53fa8d9
Trailing whitespace trimmed. Perhaps running "perl util/spacewhack.pl in your
...
own CVS tree will help minimize CVS conflicts. Maybe not.
Blame Graff for getting me to trim all trailing whitespace.
2000-08-01 01:33:37 +00:00
David Lawrence
15a4474541
word wrap copyright notice at column 70
2000-07-27 09:55:03 +00:00
Brian Wellington
1b1775921e
If a message is built for one host, which isn't powered on, the tsig object
...
wasn't removed until the xfer object was deleted, so when the xfer tried the
second master, it asserted.
2000-07-24 05:30:30 +00:00
Brian Wellington
c27767a7b9
tsig keys were not properly ref counted
2000-07-21 23:00:31 +00:00
Brian Wellington
945c32833b
Call isc_log_wouldlog() in a few places.
2000-07-13 00:27:17 +00:00
Andreas Gustafsson
b7b5dd0d10
treat all responses to AXFR requests as AXFR responses
2000-07-05 20:28:34 +00:00
Andreas Gustafsson
b3e4ce3059
alternative fix to 303. [RT #157 ]
2000-07-03 22:42:36 +00:00
Mark Andrews
845e0b5f96
303. [bug] add additional sanity checks to differentiate a AXFR
...
response vs a IXFR response. (RT #157 )
2000-07-03 13:33:05 +00:00
David Lawrence
03d33d6f87
wrap long line
2000-06-23 00:29:20 +00:00
Mark Andrews
a6733246ea
240. [func] databases now come in three flavours: zone, cache
...
and stub.
2000-06-07 02:38:41 +00:00
Brian Wellington
4fe8755480
Use the new DST API
2000-06-02 18:59:33 +00:00
Andreas Gustafsson
b8c7678461
style; no functional change
2000-06-01 18:04:37 +00:00
David Lawrence
ee205e0662
[rt #128 ] removed redundant result check from dns_xfrin_create.
...
char *msg parameter to xfrin_fail made const.
2000-06-01 13:48:55 +00:00
Brian Wellington
0f80bfec68
The message code now has functions to manipulate TSIG and SIG(0), and the
...
callers use these functions. Also a lot of TSIG cleanup.
2000-05-30 23:14:57 +00:00
Andreas Gustafsson
46e8a97c7c
use isc_sockaddr_format()
2000-05-26 00:38:12 +00:00
Brian Wellington
af60263664
Added dns_tsigkey_attach & _detach, to simplify reference counting.
...
Added dns_message_get/settsigkey to deuglify tsig key handling in message code.
2000-05-26 00:16:46 +00:00
Andreas Gustafsson
52b784e2a6
log warning message about out-of-zone data in zone transfers
...
instead of ignoring it silently
2000-05-18 16:49:54 +00:00
Andreas Gustafsson
22608315e8
Fixed multiple shutdown cleanup bugs in the zone object. This
...
involved extensive restructuring of the reference counting of
zones and related objects.
Zones now attach to their views. To avoid a circular dependency that
would keep views from ever shutting down, this is done using the new
functions dns_view_weakattach() / dns_view_weakdetach() which
guarantee that the view will not be freed but still allow it
to be shut down.
The zones themselves now only have a single reference count, with
similar "weak" semantics. Managed zones must now be shut down
explicitly by calling dns_zone_shutdown(). To shut down all
zones in a zone table, call dns_zt_shutdown().
The zone manager is now reference counted, weakly. To shut down the
zone manager, you must explicitly call dns_zonemgr_shutdown().
2000-05-17 19:45:36 +00:00
Andreas Gustafsson
f7d85bae58
Keep a queue of zones waiting for zone transfer quota so that a new
...
transfer can be dispatched immediately whenever quota becomes available
2000-05-14 20:01:34 +00:00
David Lawrence
f2fdfe7c42
Silence "end-of-loop condition not reached" warnings from Solaris compiler
2000-05-10 03:33:57 +00:00
David Lawrence
6028d1ce03
Needs string.h for function prototypes. For some reason gcc and other
...
compilers do not warn about the missing str*/mem* prototypes.
2000-05-08 19:23:32 +00:00
David Lawrence
1a69a1a78c
Megacommit of dozens of files.
...
Cleanup of redundant/useless header file inclusion.
ISC style lint, primarily for function declarations and standalone
comments -- ie, those that appear on a line without any code, which
should be written as follows:
/*
* This is a comment.
*/
2000-05-08 14:38:29 +00:00