Commit 5114270f authored by Mark Andrews's avatar Mark Andrews

Merge branch...

Merge branch '804-large-nsec3-responses-cause-failure-in-adding-records-to-ncache-and-eventually-formerr-instead-of-nxdomain' into 'master'

Resolve "Large NSEC3 responses cause failure in adding records to ncache and, eventually, FORMERR (instead of NXDOMAIN)"

Closes #804

See merge request !1295
parents 8e6af477 3328116b
Pipeline #8567 passed with stages
in 9 minutes and 8 seconds
5125. [bug] Allow for up to 100 records or 64k of data when caching
a negative response. [GL #804]
5124. [bug] Named could incorrectly return FORMERR rather than
......@@ -28,7 +28,7 @@
#include <dns/rdataset.h>
#include <dns/rdatastruct.h>
* The format of an ncache rdata is a sequence of zero or more records of
......@@ -133,7 +133,7 @@ addoptout(dns_message_t *message, dns_db_t *cache, dns_dbnode_t *node,
dns_rdata_t rdata[DNS_NCACHE_RDATA];
dns_rdataset_t ncrdataset;
dns_rdatalist_t ncrdatalist;
unsigned char data[4096];
unsigned char data[65536];
unsigned int next = 0;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment