Commit Graph
5165 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 af46049567 removed <dns/namedconf.h>, which pertained to the old
configuration parser
2001-05-02 17:39:51 +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 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 9762fd29cc DNAME now has an RFC 2001-04-27 21:02:01 +00:00
Mark Andrews ecaedd50f4 817. [func] Adjust timeouts for dialup zone queries. 2001-04-27 02:34:18 +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
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 cb77fe457a "sending notifies (%u)" -> "sending notifies (serial %u)" 2001-04-24 23:03:04 +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 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
Mark Andrews f93659e9a2 IPv6 fixes 2001-04-23 02:59:17 +00:00
Mark Andrews 1e6276aaf8 WANT_IRS_NISGR_OBJ -> WANT_IRS_NISGR_OBJS 2001-04-23 02:57:20 +00:00
David Lawrence ed1c40264e sigh. do not set the lock from node->locknum until being sure node is not null 2001-04-20 21:22:09 +00:00
David Lawrence a0e1f68e14 Now that no_references() reacquires the node lock after deleting the node,
all of its callers need to maintain a reference to the lock that doesn't
involve looking at node->locknum after no_references() was called.
2001-04-20 14:35:04 +00:00
Andreas Gustafsson 15254d5865 note that parsers are not reusable 2001-04-19 23:28:17 +00:00
Andreas Gustafsson cedd0ab1e8 811. [bug] Parantheses were not quoted in zone dumps. [RT #1194] 2001-04-19 18:39:42 +00:00
Brian Wellington 59c85e1636 Return ISC_R_NOSPACE if the buffer isn't large enough to hold the DNS header. 2001-04-19 18:28:35 +00:00
Mark Andrews f6c845a79b build libbind from .o's 2001-04-18 11:08:28 +00:00
David Lawrence f6f8d61a77 reacquire the node lock the caller held before returning from no_references() 2001-04-18 08:06:11 +00:00
Andreas Gustafsson ebea68ec9c regenerated man pages with pdated docbook2man-spec.pl;
now the function prototypes are formatted correctly
2001-04-17 18:01:53 +00:00
Brian Wellington 8c3989000a 810. [bug] The signer name in SIG records was not properly
downcased when signing/verifying records. [RT #1186]
2001-04-17 17:20:27 +00:00
David Lawrence 1bd5b8aac6 use ISC_MAGIC to define magic number 2001-04-17 14:36:45 +00:00
David Lawrence 79ed194592 sigh. always test recompile things even after a minor change. after deciding
to _not_ much with the lock tracing/printing facility for the last change,
i forgot to also add the new result variable back into the stack
declarations, where i had correctly put it the first time.
2001-04-17 13:42:32 +00:00
David Lawrence 8e60ba90e0 unlock the mutex when non-blocking locking is attempted and the lock is busy. 2001-04-17 04:07:38 +00:00
Brian Wellington ec57fd24fc The isccc headers weren't installed at all. Oops. 2001-04-16 22:50:18 +00:00
Brian Wellington 98e8f87a6d actually list all of the headers. 2001-04-16 22:44:43 +00:00
Brian Wellington 4e56b9615f remove the (now) redundant setting of the magic number. 2001-04-16 21:14:27 +00:00
Brian Wellington ac6afcd0ca 809. [bug] Configuring a non-local address as a transfer-source
could cause an assertion failure during load.
2001-04-16 18:50:32 +00:00
David Lawrence 900d7d9c9b forgot to actually change the macro call that needed the deconst argument 2001-04-14 00:20:07 +00:00
David Lawrence ddb8f23a09 a different approach to shutting up compilers about an empty file, one that
does not cause all the compilers to complain about a variable being
defined but not used.
2001-04-13 02:26:32 +00:00
David Lawrence 0109515495 use ISC_TF() to set an isc_boolean_t 2001-04-12 22:58:34 +00:00
David Lawrence ae6860081f a different fix for the lwres_net_aton problem in lwres_create_addr, that
addresses any alignment issues that might have existed with casting
an unsigned char pointer to a struct pointer.
2001-04-12 22:45:12 +00:00
David Lawrence 79b19f175c added a single static variable declaration to prevent compilers from
complainig about an effectively empty input file.
2001-04-12 22:26:41 +00:00
David Lawrence de6fe5ebe2 cleared up a const issue with IN6_IS_ADDR_V4MAPPED on some platforms 2001-04-12 21:23:21 +00:00