Brian Wellington
20e597d71c
remove spaces from I: statements
2000-07-07 00:41:18 +00:00
David Lawrence
3658cf5419
comment cleanup (missing "not", spaces where tabs should have been)
2000-07-07 00:25:47 +00:00
David Lawrence
9fb4b3f08a
Do not return an exact match from dns_rbt_findnode() when the exact
...
match does not have associated data and DNS_RBTFIND_EMPTYDATA is not set.
Return DNS_R_PARTIALMATCH instead if there is a superdomain with
data, or ISC_R_NOTFOUND if no superdomain has data.
Make dns_rbt_findname() honor DNS_RBTFIND_EMPTYDATA, per the rbt.h
documentation that has been saying it will. It didn't.
2000-07-06 23:54:45 +00:00
Brian Wellington
d52cd4a9fa
Properly fill in sa_family and sa_len (if present). Also fix a bug in
...
test_noop (you'd really think a noop test would be bug free).
2000-07-06 22:28:44 +00:00
Brian Wellington
861df15904
The includes were in the wrong order, causing digital unix to fail.
2000-07-06 22:13:15 +00:00
Brian Wellington
23efeb1a58
Check LWRES_PLATFORM_HAVESALEN, not ISC_PLATFORM_HAVESALEN
2000-07-06 21:42:05 +00:00
Brian Wellington
23ce1c7cca
Lots of the comments were wrong.
2000-07-06 20:05:13 +00:00
Michael Sawyer
fec9cc90e6
Corrected cleanup
2000-07-06 19:54:02 +00:00
Michael Sawyer
03967f5ba6
Remove unneeded file
2000-07-06 19:46:20 +00:00
Michael Sawyer
f7b7a2448c
use runall.sh and cleanall.sh
2000-07-06 19:40:57 +00:00
Michael Sawyer
2c65255baa
Missing quotes
2000-07-06 19:37:47 +00:00
Michael Sawyer
ea1fabfe76
SUBDIRS entry corrected and brought up to date
2000-07-06 19:34:27 +00:00
Andreas Gustafsson
2c9fdfdfbe
added script for running all system tests in sequence
2000-07-06 19:32:37 +00:00
Brian Wellington
b67a6d9657
If a zone is specified by the user, use it as the suffix for relative names.
2000-07-06 19:29:40 +00:00
Andreas Gustafsson
c1db6a381f
added draft-ietf-dnsext-iana-dns-00.txt (already expired)
2000-07-06 18:32:36 +00:00
Andreas Gustafsson
457a63f3b8
missing colon in glue_test rule
2000-07-06 04:36:55 +00:00
Brian Wellington
ca93ad9b9e
If we're asking for a key and need to call dns_view_findzonecut(), set
...
the DNS_DB_NOEXACT flag. This means that the resolver will start look for the
key at or above the parent zone, and will return the key set from the parent
zone if key sets are present in both the parent and child.
2000-07-06 02:33:43 +00:00
Andreas Gustafsson
770dd208fa
work around NetBSD /bin/sh bug, with the side effect of making the
...
test script shorter
2000-07-06 02:33:42 +00:00
Brian Wellington
baeb4bcf32
In query_find(), if we're looking up a key and dns_db_find() returns
...
DNS_R_DELEGATION, don't use the domain & ns set found by dns_db_find().
This means that a recursive server will not immediately ask the child zone
for a key set at the apex; the resolver will determine who to ask.
2000-07-06 02:27:26 +00:00
Michael Sawyer
313b7db2ce
Add NSUPDATE to conf.sh.in, not conf.sh...
2000-07-06 02:10:46 +00:00
Andreas Gustafsson
249763bcbf
added glue test
2000-07-06 02:06:02 +00:00
Andreas Gustafsson
afb2c39d2d
added glue test
2000-07-06 01:28:08 +00:00
Andreas Gustafsson
8993565982
if the file nsN/namedopts exists, use it to set named
...
command line options
2000-07-06 01:26:05 +00:00
Michael Sawyer
0819ae2ca5
Use limits.h/INT_MAX instead of the deprecated values.h/MAXINT
2000-07-06 01:02:42 +00:00
Andreas Gustafsson
08133a2dbe
This is "the glue fix". It changes the additional data lookup
...
algorithm to more closely follow RFC1035, so that root servers will
provide a more complete set of name server glue addresses in ccTLD
referral responses.
For non-referral responses, the server no longer uses glue as
additional data.
For referral responses, the servers now looks for glue A/AAAA/A6 RRs
in the zone where the NS RRs reside, even in the case where this is
different from the zone where the A/AAAA/A6 RRs would have resided had
they been authoritative data.
A6 chains included as additional info may not yet fully follow these
rules.
2000-07-06 01:00:46 +00:00
Michael Sawyer
c3c6770e53
Add nsupdate/ixfr test suite
2000-07-06 00:54:03 +00:00
Brian Wellington
61e7208704
memory leak
2000-07-05 23:42:08 +00:00
Michael Sawyer
38cf6e52ce
Lots of style changes.
...
Clean up what appears to be a varient of the race condition, this one set
off in nslookup.
2000-07-05 23:28:32 +00:00
Brian Wellington
5ddea03e3e
Log a message in addition to setting a failure code when kill -TERM doesn't
...
kill a server.
2000-07-05 23:28:07 +00:00
Brian Wellington
54b9dc7739
Add support for setting the server and/or zone
2000-07-05 23:24:18 +00:00
Andreas Gustafsson
4defd73fca
This is "the glue fix". It changes the additional data lookup
...
algorithm to more closely follow RFC1035, so that root servers will
provide a more complete set of name server glue addresses in ccTLD
referral responses.
For non-referral responses, the server no longer uses glue as
additional data.
For referral responses, the servers now looks for glue A/AAAA/A6 RRs
in the zone where the NS RRs reside, even in the case where this is
different from the zone where the A/AAAA/A6 RRs would have resided had
they been authoritative data.
A6 chains included as additional info may not yet fully follow these
rules.
2000-07-05 23:10:06 +00:00
Andreas Gustafsson
66465da5d1
work around NetBSD /bin/sh bug, with the side effect of making the
...
test script shorter
2000-07-05 22:13:56 +00:00
Andreas Gustafsson
c6ab6ca3fd
moved linux_keepcaps() call and check for Linux nonroot caps back
...
to earlier locations; use a separate boolean flag for keeping track of whether a
UID switch was requested rather than overloading the UID value zero
2000-07-05 22:03:42 +00:00
Brian Wellington
58208669bc
Should sleep for a while between kill -TERM and kill -KILL
2000-07-05 20:56:11 +00:00
Andreas Gustafsson
b7b5dd0d10
treat all responses to AXFR requests as AXFR responses
2000-07-05 20:28:34 +00:00
Michael Graff
8681403c16
Shut up a gcc warning
2000-07-05 20:26:46 +00:00
Andreas Gustafsson
aade2614cb
work around NetBSD /bin/sh bug, with the side effect of making the
...
test script shorter
2000-07-05 19:42:34 +00:00
Andreas Gustafsson
24139527f3
lots of style changes; no functional change
2000-07-05 19:31:26 +00:00
Brian Wellington
5618f70327
Modify the tests so that if any server doesn't die with a TERM signal,
...
it's an error.
2000-07-05 18:49:06 +00:00
Brian Wellington
bb915db969
Check to see that kill actually kills the server. If not, it's an error,
...
so print a message, increment status, and kill -9 the server.
2000-07-05 18:16:39 +00:00
Mark Andrews
29e59609b9
Add "SOA not at top of zone" test.
2000-07-05 00:35:36 +00:00
Mark Andrews
8c1aa8573d
308. [bug] Treat a SOA record not at top of zone as an error
...
when loading a zone. (RT #154 )
2000-07-04 04:28:44 +00:00
Mark Andrews
3cf456d58e
zone_get_from_db() now does as much as is possible.
2000-07-04 04:21:38 +00:00
Mark Andrews
84cb41f729
new error code DNS_R_NOTZONETOP
2000-07-04 03:59:54 +00:00
Brian Wellington
b2dcacc728
Fix the hang on ^C problem by not calling isc_app_start(), since
...
isc_app_run() wasn't being called anyway. Also some more cosmetic
cleanup.
2000-07-04 02:33:29 +00:00
Mark Andrews
84b8fdfeac
Add not soa not top of zone test
2000-07-04 02:28:23 +00:00
David Lawrence
24675e8e13
In dns_dispatch_createtcp(), REQUIRE() that attributes not include
...
DNS_DISPATCHATTR_UDP, and document that requirement as well as the
existing requirement for needing DNS_DISPATCHATTR_TCP.
No need to pull up.
2000-07-04 01:48:13 +00:00
Andreas Gustafsson
a074e41b97
style and new comments; no functional change
2000-07-04 01:33:47 +00:00
Brian Wellington
9e37579870
Check that zone->view is not NULL before checking that zone->view->adb is not
...
NULL. It appears that zone maintenance can occur when the zone is shutting
down and the view pointer is NULL. We don't want to do zone maintenance in
this case.
2000-07-04 01:32:40 +00:00
David Lawrence
c7c2522a32
query-replace-o in error message; no need to pull up since no code in 9.0.0
...
will use the function in which the error appears
2000-07-04 01:29:48 +00:00