ndb/dns: ignore refused (5) error replies
This commit is contained in:
parent
2f9ae0f8ac
commit
c2319f37b4
1 changed files with 4 additions and 3 deletions
|
@ -1153,11 +1153,12 @@ procansw(Query *qp, DNSmsg *mp, int depth, Dest *p)
|
|||
stats.negans++;
|
||||
|
||||
/* ignore any error replies */
|
||||
if((mp->flags & Rmask) == Rserver){
|
||||
switch(mp->flags & Rmask){
|
||||
case Rrefused:
|
||||
case Rserver:
|
||||
stats.negserver++;
|
||||
freeanswers(mp);
|
||||
if(p != nil)
|
||||
p->code = Rserver;
|
||||
p->code = Rserver;
|
||||
return Answerr;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue