Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
allow OPT pseudo record type in IXFR query
  • Loading branch information
mind04 committed Aug 10, 2014
1 parent c96290a commit 3e67ea8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pdns/tcpreceiver.cc
Expand Up @@ -963,8 +963,8 @@ int TCPNameserver::doIXFR(shared_ptr<DNSPacket> q, int outsock)
sendPacket(outpacket,outsock);
return 0;
}
} else if (rr->d_type != QType::TSIG) {
L<<Logger::Error<<"Additional records in IXFR query"<<endl;
} else if (rr->d_type != QType::TSIG && rr->d_type != QType::OPT) {
L<<Logger::Error<<"Additional records in IXFR query, type: "<<QType(rr->d_type).getName()<<endl;
outpacket->setRcode(RCode::FormErr);
sendPacket(outpacket,outsock);
return 0;
Expand Down

0 comments on commit 3e67ea8

Please sign in to comment.