mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-09 02:22:04 -04:00
parent
b49954e458
commit
7b4315b7a6
1 changed files with 13 additions and 16 deletions
|
|
@ -9512,11 +9512,10 @@ rctx_authority_negative(respctx_t *rctx) {
|
|||
if (rctx->ns_name != NULL &&
|
||||
name != rctx->ns_name)
|
||||
{
|
||||
log_formerr(fctx, "multiple NS "
|
||||
"RRsets "
|
||||
"in "
|
||||
"authority "
|
||||
"section");
|
||||
log_formerr(
|
||||
fctx,
|
||||
"multiple NS RRsets in "
|
||||
"authority section");
|
||||
rctx->result = DNS_R_FORMERR;
|
||||
return ISC_R_COMPLETE;
|
||||
}
|
||||
|
|
@ -9537,11 +9536,10 @@ rctx_authority_negative(respctx_t *rctx) {
|
|||
if (rctx->soa_name != NULL &&
|
||||
name != rctx->soa_name)
|
||||
{
|
||||
log_formerr(fctx, "multiple "
|
||||
"SOA RRs "
|
||||
"in "
|
||||
"authority "
|
||||
"section");
|
||||
log_formerr(
|
||||
fctx,
|
||||
"multiple SOA RRs in "
|
||||
"authority section");
|
||||
rctx->result = DNS_R_FORMERR;
|
||||
return ISC_R_COMPLETE;
|
||||
}
|
||||
|
|
@ -9691,8 +9689,8 @@ rctx_authority_dnssec(respctx_t *rctx) {
|
|||
* one DS RRset.
|
||||
*/
|
||||
if (rctx->ns_name == NULL) {
|
||||
log_formerr(fctx, "DS with no "
|
||||
"referral");
|
||||
log_formerr(fctx,
|
||||
"DS with no referral");
|
||||
rctx->result = DNS_R_FORMERR;
|
||||
return ISC_R_COMPLETE;
|
||||
}
|
||||
|
|
@ -9701,10 +9699,9 @@ rctx_authority_dnssec(respctx_t *rctx) {
|
|||
if (rctx->ds_name != NULL &&
|
||||
name != rctx->ds_name)
|
||||
{
|
||||
log_formerr(fctx, "DS doesn't "
|
||||
"match "
|
||||
"referral "
|
||||
"(NS)");
|
||||
log_formerr(fctx,
|
||||
"DS doesn't match "
|
||||
"referral (NS)");
|
||||
rctx->result = DNS_R_FORMERR;
|
||||
return ISC_R_COMPLETE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue