diff --git a/doc/Changelog b/doc/Changelog index 777b34cd5..d3dcf4416 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -5,6 +5,7 @@ cachedb lookup) - allow storing a 0-TTL answer from cachedb in the in-memory message cache when serve-expired is yes + - Fix DNSCACHE_STORE_ZEROTTL to be bigger than 0xffff. 18 September 2017: Ralph - Fix #1400: allowing use of global cache on ECS-forwarding unless diff --git a/services/cache/dns.h b/services/cache/dns.h index bb1188e99..9e10f437f 100644 --- a/services/cache/dns.h +++ b/services/cache/dns.h @@ -53,7 +53,7 @@ struct delegpt; * Must be an unsigned 32-bit value larger than 0xffff */ /** Allow caching a DNS message with a zero TTL. */ -#define DNSCACHE_STORE_ZEROTTL 0x1000 +#define DNSCACHE_STORE_ZEROTTL 0x100000 /** * Region allocated message reply