Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
164e2a6f
Commit
164e2a6f
authored
Jan 19, 2005
by
Mark Andrews
Browse files
1800. [bug] Changes
#1719
allowed a INSIST to be triggered.
[RT #13428]
parent
498e6286
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
164e2a6f
1800. [bug] Changes #1719 allowed a INSIST to be triggered.
[RT #13428]
1799. [placeholder] rt13438
1798. [func] The server syntax has been extended to support a
...
...
lib/dns/resolver.c
View file @
164e2a6f
...
...
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: resolver.c,v 1.
299
200
4/12/03 01:59:28
marka Exp $ */
/* $Id: resolver.c,v 1.
300
200
5/01/19 23:25:41
marka Exp $ */
#include <config.h>
...
...
@@ -4253,11 +4253,11 @@ noanswer_response(fetchctx_t *fctx, dns_name_t *oqname,
/*
* A negative response has a SOA record (Type 2)
* and a optional NS RRset (Type 1) or it has neither
* a SOA or a NS RRset (Type 3
) or rcode is NXDOMAIN
* (handled above) in which case
the NS RRset is
* allowed (Type 4).
* a SOA or a NS RRset (Type 3
, handled above) or
*
rcode is NXDOMAIN
(handled above) in which case
*
the NS RRset is
allowed (Type 4).
*/
if
(
soa_name
!=
NULL
||
ns_name
==
NULL
)
if
(
soa_name
!=
NULL
)
negative_response
=
ISC_TRUE
;
for
(
rdataset
=
ISC_LIST_HEAD
(
name
->
list
);
rdataset
!=
NULL
;
...
...
@@ -5320,6 +5320,11 @@ resquery_response(isc_task_t *task, isc_event_t *event) {
if
((
fctx
->
res
->
options
&
DNS_RESOLVER_CHECKNAMES
)
!=
0
)
checknames
(
message
);
/*
* Clear cache bits.
*/
fctx
->
attributes
&=
~
(
FCTX_ATTR_WANTNCACHE
|
FCTX_ATTR_WANTCACHE
);
/*
* Did we get any answers?
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment