mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-03 13:59:27 -04:00
allow for up 100 records or 64K of data to be in a ncache entry
This commit is contained in:
parent
8e6af477dd
commit
604889e627
1 changed files with 2 additions and 2 deletions
|
|
@ -28,7 +28,7 @@
|
|||
#include <dns/rdataset.h>
|
||||
#include <dns/rdatastruct.h>
|
||||
|
||||
#define DNS_NCACHE_RDATA 20U
|
||||
#define DNS_NCACHE_RDATA 100U
|
||||
|
||||
/*
|
||||
* 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;
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue