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
692cae86
Commit
692cae86
authored
Oct 16, 1999
by
Bob Halley
Browse files
The authority section wasn't being marked for caching.
parent
401fc772
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/dns/resolver.c
View file @
692cae86
...
@@ -1503,6 +1503,7 @@ answer_response(fetchctx_t *fctx) {
...
@@ -1503,6 +1503,7 @@ answer_response(fetchctx_t *fctx) {
* in this section, and we expect that it is not external.
* in this section, and we expect that it is not external.
*/
*/
done
=
ISC_FALSE
;
result
=
dns_message_firstname
(
message
,
DNS_SECTION_AUTHORITY
);
result
=
dns_message_firstname
(
message
,
DNS_SECTION_AUTHORITY
);
while
(
!
done
&&
result
==
ISC_R_SUCCESS
)
{
while
(
!
done
&&
result
==
ISC_R_SUCCESS
)
{
name
=
NULL
;
name
=
NULL
;
...
@@ -1519,6 +1520,8 @@ answer_response(fetchctx_t *fctx) {
...
@@ -1519,6 +1520,8 @@ answer_response(fetchctx_t *fctx) {
if
(
rdataset
->
type
==
dns_rdatatype_ns
||
if
(
rdataset
->
type
==
dns_rdatatype_ns
||
(
rdataset
->
type
==
dns_rdatatype_sig
&&
(
rdataset
->
type
==
dns_rdatatype_sig
&&
rdataset
->
covers
==
dns_rdatatype_ns
))
{
rdataset
->
covers
==
dns_rdatatype_ns
))
{
name
->
attributes
|=
DNS_NAMEATTR_CACHE
;
rdataset
->
attributes
|=
rdataset
->
attributes
|=
DNS_RDATASETATTR_CACHE
;
DNS_RDATASETATTR_CACHE
;
if
(
aa
)
if
(
aa
)
...
...
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