2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00
Commit Graph

5580 Commits

Author SHA1 Message Date
Michael Graff
29a2e0c9b5 Bring back warnings we supressed for b4 :) 2000-06-16 01:39:05 +00:00
Brian Wellington
878d3073b1 First pass at merging lwresd into named. Seems to work, but doesn't shut down
properly.  Run named with 'named -r' to test.
2000-06-16 01:39:02 +00:00
Michael Graff
e92d6ed5e7 snapshot 2000-06-16 01:38:13 +00:00
Andreas Gustafsson
8bbc3795bf RT #133: fixed two separate bugs, each of which would cause a bus
error during shutdown of a busy caching server (specifically, one
making many outgoing TCP connections).

Bug 1: resquery_destroy() accessed query->fctx->res->mctx, even though
query->fctx could already be destroyed at this point.

Bug 2: resquery_connected() called fctx_done(query->fctx, result)
immediately after fctx_cancelquery(), which could destroy *query.

Also added some explanatory comments.
2000-06-16 01:16:39 +00:00
David Lawrence
c9687c0800 HPUX said:
cc: "netaddr.c", line 235: warning 508: Statement can never be reached.
cc: "netaddr.c", line 238: warning 508: Statement can never be reached.
... but now it won't say that anymore.  "break"s following "return"s removed.
2000-06-16 01:07:43 +00:00
Michael Graff
ce5bd92088 Store our own version of what type of socket we had, so we can clean up even after the socket is detached. 2000-06-16 00:52:05 +00:00
Michael Graff
efe2f579ba add LWRES_CONTEXT_SERVERMODE 2000-06-15 23:48:11 +00:00
James Brister
0d5d8e2bbf 259. [func] New random-device and random-seed-file statements
for global options block of named.conf. Both accept
                        a single string argument.
2000-06-15 23:38:16 +00:00
Michael Graff
3d2332d68f include <lwres/net.h> so AF_INET6 is always defined 2000-06-15 22:43:48 +00:00
Michael Sawyer
77ae2d58c2 Memory leak. 2000-06-15 22:08:44 +00:00
Michael Graff
8313838954 Conditionalize setting of struct sockaddr_in6's sin6_scope_id member.
Some machines have it, older ipv6 flavors do not.
2000-06-15 21:52:21 +00:00
James Brister
99f3a24e69 258. [bug] Fixed printing of lwres_addr_t.address field. 2000-06-15 21:37:18 +00:00
James Brister
52d06580bd Fixed handling of printing of lwres_addr_t.address field. 2000-06-15 21:34:21 +00:00
Michael Sawyer
0a673a3448 Add a delay after changing the views named.conf before sending the SIGHUP 2000-06-15 21:14:04 +00:00
Michael Sawyer
7b5dbd404b Only need h_errno if we're not using getaddrinfo 2000-06-15 20:56:24 +00:00
Michael Sawyer
6fc790c460 If we have it, use getaddrinfo instead of gethostbyname to find the
address of the nameserver (from resolv.conf or @nameserver).
2000-06-15 19:05:30 +00:00
Michael Graff
0177adc4f8 don't test dns_name_concatenate(), since all the test did was return UNTESTED. 2000-06-15 19:03:53 +00:00
Michael Graff
2193d51910 latest patches from pr 135 2000-06-15 18:49:54 +00:00
Michael Sawyer
e86e6bc192 Add HAVE_ADDRINFO and HAVE_GETADDRINFO to config.h.in and configure.in 2000-06-15 18:34:43 +00:00
Michael Graff
eadfacf1f5 journal.c doesn't really seem to need <unistd.h> 2000-06-15 18:29:45 +00:00
Michael Graff
99dd8505ed Bring up to spec. Patches from pr 134, 135 2000-06-15 18:28:11 +00:00
Michael Graff
c01c401217 reject multicast packets 2000-06-15 18:26:28 +00:00
Michael Graff
f64ded0ac7 set ISC_SOCKEVENTATTR_MULTICAST on packets received from a multicast address 2000-06-15 18:25:49 +00:00
Michael Sawyer
6c6a62933d Spelling error. 2000-06-15 18:24:08 +00:00
Michael Graff
d80da258e3 Add isc_netaddr_ismulticast() and isc_sockaddr_ismulticast() 2000-06-15 18:23:54 +00:00
Michael Graff
d2e9c94edb Add ISC_R_MULTICAST 2000-06-15 18:21:38 +00:00
Michael Graff
c3581e2bcc No need to destroy filesources -- they will clean up when the source is destroyed 2000-06-15 18:15:26 +00:00
Andreas Gustafsson
06ed5a0d46 fixec typos in previous checkin 2000-06-15 17:42:16 +00:00
Andreas Gustafsson
aa79283a0d 257. [bug] The server detached the last zone manager reference
too early, while it could still be in use by queries.
                        This manifested itself as assertion failures during the
                        shutdown process for busy name servers (RT #133).

 256.   [func]          isc_ratelimiter_t now has attach/detach semantics, and
                        isc_ratelimiter_shutdown guarantees that the rate
                        limiter is detached from its task.

 255.   [func]          New function dns_zonemgr_attach().
2000-06-15 17:40:22 +00:00
Andreas Gustafsson
b976f9c60a edited 2000-06-15 17:24:35 +00:00
Andreas Gustafsson
7e86b27bc0 typos in comments 2000-06-15 16:46:24 +00:00
Andreas Gustafsson
21eaa04858 added dns_zonemgr_attach(); also changed comments for other
attach() functions to consistently say that the new reference attaches to
the object, not vice versa
2000-06-15 16:11:50 +00:00
Mark Andrews
0bfcec250f 254. [bug] suppress "query denied" messages on additional data
lookups.
 ISC-Bugs #139
2000-06-15 04:42:01 +00:00
Mark Andrews
1e98bdb4a3 add missing REQUIRE()s 2000-06-15 02:45:47 +00:00
Michael Sawyer
f8fec75ee8 Something I've been wanting to do for a long time. 2000-06-15 00:22:21 +00:00
Brian Wellington
5108a65b13 Make a few internal functions static 2000-06-15 00:08:53 +00:00
Brian Wellington
5ec27bc7f3 Makefile cleanup 2000-06-15 00:07:44 +00:00
Andreas Gustafsson
dd4b5574e1 incremented to b5 2000-06-14 23:51:29 +00:00
Andreas Gustafsson
c365864a9f typo 2000-06-14 23:06:08 +00:00
Brian Wellington
9dc499f133 Updated to reflect the existence of the entropy API 2000-06-14 23:03:21 +00:00
Andreas Gustafsson
b5f24a6988 --- 9.0.0b4 released --- 2000-06-14 22:38:42 +00:00
Michael Sawyer
c4b2436565 Don't remove named.run files, to aid in debugging 2000-06-14 22:38:33 +00:00
Andreas Gustafsson
94c5757a7a clarified 245 2000-06-14 22:38:04 +00:00
Andreas Gustafsson
b425d0fcd0 recommend listen-on-v6 { none; }; and add note about SunOS 5.6
thread signal problems
2000-06-14 22:32:06 +00:00
Michael Sawyer
e2cb9ff071 Clean up "dead" named processes if the initial version.bind dig fails. 2000-06-14 20:55:52 +00:00
James Brister
379bd2c19c 253. [func] resolv.conf parser now recognises ';' and '#' as
comments (anywhere in line, not just as the beginning).

 252.   [bug]           resolv.conf parser mishandled masks on sortlists.
                        It slso aborted when an unrecognised keyword was seen,
                        now it silently ignores the entire line.
2000-06-14 19:07:11 +00:00
Andreas Gustafsson
374606311f removed incorrect cast from offset wraparound check (patch from tale) 2000-06-14 16:25:12 +00:00
Michael Sawyer
3f7ab1762a Sleep a little longer after killing servers to give them a chance to fully
shutdown, in hopes of clearing up the test failure in Solaris.
2000-06-14 15:51:38 +00:00
Michael Sawyer
8f6e9f760b Give the servers a moment to start up before asking them for version.bind 2000-06-14 02:50:24 +00:00
Andreas Gustafsson
9fbfa24ca5 edited for 9.0.0b4 2000-06-14 02:33:30 +00:00