Commit Graph

9232 Commits

Author SHA1 Message Date
Brian Wellington
d2aebe24c4 Allocate the initial buffer for rdata based on the length of the string, to
avoid reallocations and annoying messages.
2001-05-02 18:58:56 +00:00
Andreas Gustafsson
e491ef2904 document adb.c 1.176:
820.   [bug]           Name server address lookups failed to follow
                        A6 chains into the glue of local authoritative
                        zones.
2001-05-02 18:00:42 +00:00
Andreas Gustafsson
c62314bc9c removed sample configuration access code, now that we have
real configuration access code in bin/named/server.c and bin/named/*conf.c
2001-05-02 17:43:42 +00:00
Andreas Gustafsson
e23d2b98b7 don't include the now nonexistent <dns/namedconf.h> 2001-05-02 17:41:24 +00:00
Andreas Gustafsson
af46049567 removed <dns/namedconf.h>, which pertained to the old
configuration parser
2001-05-02 17:39:51 +00:00
Andreas Gustafsson
38db299051 make rwlock_test compile without threads 2001-05-02 17:35:52 +00:00
Bob Halley
1a286a6613 In certain cases, the resolver's attempts to restart an address lookup
at the root could cause the fetch to deadlock (with itself) instead of
restarting. [RT #1225]
2001-05-02 17:29:17 +00:00
Brian Wellington
3840dba289 Comment a particularly subtle bit of code. 2001-05-02 00:03:12 +00:00
Brian Wellington
05183bbc4f Signing with a large key didn't work since the static output buffer was too
small; use a dynamic buffer instead.  Also, comment a section
2001-05-02 00:02:28 +00:00
Andreas Gustafsson
570234616c when following A6 chains, glue was inadvertantly ignored 2001-05-01 23:17:48 +00:00
Andreas Gustafsson
784d78b831 commented 2001-04-30 18:27:10 +00:00
Andreas Gustafsson
1dbec28030 removed declarations of nonexistent functions 2001-04-30 18:09:31 +00:00
Tatuya JINMEI 神明達哉
931f35a927 removed one more 'ifdef INET6'. 2001-04-30 18:08:54 +00:00
Tatuya JINMEI 神明達哉
291e6be74f some cleanups and clarifications;
- removed 'ifdef INET6' (libbind's getaddrinfo should always be buildable
   with the INET6 part.)
 - use EAI_NONAME instead of EAI_NODATA (this is an API issue.  I'll raise
   it at the group working on the API).
 - use h_errno instead of __h_errno.
 - clarification on using interface names as link IDs of IPv6 link-local
   addresses.  (not all OSes support this.)
2001-04-30 17:46:58 +00:00
Tatuya JINMEI 神明達哉
520717e82b supported the IPv6 scoped addresses format. 2001-04-30 17:35:17 +00:00
Tatuya JINMEI 神明達哉
4df5fde1a7 - code clenaups (removed redundant macros/blank lines, comment clarifications
etc.)
- use EAI_xxx error code according to draft-ietf-ipngwg-rfc2553bis-03.
  (we may still have to reconsider EAI_NODATA - this is an API issue)
2001-04-30 17:34:02 +00:00
Andreas Gustafsson
25b821e9ed updated draft 2001-04-30 17:22:57 +00:00
Andreas Gustafsson
296253a3b9 reclassified 816. as [bug] 2001-04-30 16:37:13 +00:00
Andreas Gustafsson
1ac6cf2f7a RT #189 -> #1189 2001-04-28 01:13:03 +00:00
Andreas Gustafsson
1ed0723a1f a pointer argument used to return an "int" value into an "int"
variable is better defined as "int *" than "unsigned int *"
2001-04-28 01:08:07 +00:00
Andreas Gustafsson
3242899a56 818. [bug] Certain pathological responses to ANY queries could
cause an assertion failure. [RT #1218]
2001-04-28 00:21:30 +00:00
Andreas Gustafsson
9762fd29cc DNAME now has an RFC 2001-04-27 21:02:01 +00:00
Andreas Gustafsson
54dc3afd27 added IPv6 API drafts 2001-04-27 17:55:01 +00:00
Andreas Gustafsson
5bca09d7c1 updated drafts 2001-04-27 17:54:21 +00:00
Mark Andrews
ecaedd50f4 817. [func] Adjust timeouts for dialup zone queries. 2001-04-27 02:34:18 +00:00
David Lawrence
de8717a721 816. [func] Report potential problems with log file accessibility
at configuration time, since such problems can't
			reliably be reported at the time they actually occur.
2001-04-27 02:10:40 +00:00
David Lawrence
6f115bdb61 Added entry for yesterday's change:
815.	[bug]		If a log file was specified with a path separator
			character (i.e. "/") in its name and the directory
			did not exist, the log file's name was treated as
			though it were the directory name. [RT #189]
2001-04-27 02:07:16 +00:00
Andreas Gustafsson
5e194abb5b 814. [bug] Socket objects left over from accept() failures
were incorrectly destroyed, causing corruption
                        of socket manager data structures.

 813.   [bug]           File descriptors exceeding FD_SETSIZE were handled
                        badly. [RT #1192]
2001-04-26 23:45:55 +00:00
Andreas Gustafsson
e482a1c91e cache dumps now include trust levels and ncache entries 2001-04-26 21:17:56 +00:00
Andreas Gustafsson
09ae77ca30 812. [bug] dig sometimes printed incomplete IXFR responses
due to an uninitialized variable. [RT #1188]
2001-04-26 18:30:37 +00:00
Andreas Gustafsson
c6433f2b21 documented the obsolete ixfr-tmp-file option 2001-04-26 18:05:12 +00:00
Andreas Gustafsson
1e05f72ea6 edited 2001-04-26 18:04:29 +00:00
Andreas Gustafsson
33d4937a6e actually initialize the uninitialized variable instead of
initializing another variable twice
2001-04-26 17:20:07 +00:00
Brian Wellington
31628370cc uninitialized variables [RT #1188] 2001-04-26 05:27:18 +00:00
David Lawrence
5bc6f56bc1 Test that log files can be opened when they are configured, since
isc_log_open() can't effectively report failures when called in
isc_log_doit().
2001-04-26 02:38:08 +00:00
David Lawrence
2b5f436aeb Make greatest_version() return an isc_result_t, which it should have
been doing all along since there was the possibility isc_dir_open() would
fail and overloading the return value of "0" was bad practice.

If isc_dir_open() fails in greatest_version(), make sure the path separator
is restored to the destination pathname if it was NULified before returning
the error.

The underlying problem of isc_log_open() not having the bad result of
isc_dir_open() reported anywhere will be slightly mediate by a change
to bin/named/logconf.c to test the directory.  lib/isc/log.c can't really
handle it because it has no idea to where such an error should be reported,
and it only shows up during isc_log_open() as part of the isc_log_write()
family of calls, which are all void.
2001-04-25 23:59:44 +00:00
Andreas Gustafsson
5dbccb8473 added section about zone transfer protocol interoperability issues 2001-04-25 17:35:10 +00:00
Andreas Gustafsson
54b4a8d345 reduced busy loop iteration count to avoid the test timing out on hp1020a 2001-04-25 01:23:13 +00:00
Andreas Gustafsson
cb77fe457a "sending notifies (%u)" -> "sending notifies (serial %u)" 2001-04-24 23:03:04 +00:00
Andreas Gustafsson
4c110ccec1 t12() requires threads 2001-04-24 22:57:36 +00:00
Andreas Gustafsson
ed45f92d10 "versions unlimited" is not equivalent to "versions 99" 2001-04-24 22:52:28 +00:00
Andreas Gustafsson
0dc1e14537 alphabetized includes 2001-04-24 18:40:07 +00:00
Andreas Gustafsson
92ba2e22ae removed extraneous quotes 2001-04-24 18:13:47 +00:00
Andreas Gustafsson
8eea877894 untabified so that program listings line up properly
in the nroff output
2001-04-24 18:11:27 +00:00
Andreas Gustafsson
09df6c7006 removed unnecessary includes 2001-04-24 17:57:46 +00:00
Bob Halley
38d21a360a only reacquire the lock in no_references() if we actually gave it up 2001-04-24 17:03:54 +00:00
Andreas Gustafsson
3ee7b0d2cd set the SO_REUSEADDR socket option, like named itself does 2001-04-24 01:52:16 +00:00
Andreas Gustafsson
7f4bf5aaac 8-columns indentation and consistent spacing 2001-04-24 01:23:28 +00:00
Andreas Gustafsson
6f118c4893 removed redundant 'i++;' 2001-04-24 00:56:17 +00:00
Mark Andrews
dab8e1d00c enable IPv6 resolver support 2001-04-23 02:59:53 +00:00