mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-24 00:29:58 -05:00
Changelog note for #819, generate configparser.c and comment syntax change.
- Merge #819: Added new static zone type block_a to suppress all A queries for specific zones.
This commit is contained in:
parent
6a4a9435d1
commit
111e66ae64
3 changed files with 324 additions and 319 deletions
|
|
@ -1,3 +1,7 @@
|
||||||
|
20 January 2023: Wouter
|
||||||
|
- Merge #819: Added new static zone type block_a to suppress all A
|
||||||
|
queries for specific zones.
|
||||||
|
|
||||||
19 January 2023: Wouter
|
19 January 2023: Wouter
|
||||||
- Set max-udp-size default to 1232. This is the same default value as
|
- Set max-udp-size default to 1232. This is the same default value as
|
||||||
the default value for edns-buffer-size. It restricts client edns
|
the default value for edns-buffer-size. It restricts client edns
|
||||||
|
|
|
||||||
|
|
@ -1681,7 +1681,7 @@ local_zones_zone_answer(struct local_zone* z, struct module_env* env,
|
||||||
/* no NODATA or NXDOMAINS for this zone type */
|
/* no NODATA or NXDOMAINS for this zone type */
|
||||||
return 0;
|
return 0;
|
||||||
} else if(lz_type == local_zone_block_a) {
|
} else if(lz_type == local_zone_block_a) {
|
||||||
// Return NODATA for all A queries
|
/* Return NODATA for all A queries */
|
||||||
if(qinfo->qtype == LDNS_RR_TYPE_A) {
|
if(qinfo->qtype == LDNS_RR_TYPE_A) {
|
||||||
local_error_encode(qinfo, env, edns, repinfo, buf, temp,
|
local_error_encode(qinfo, env, edns, repinfo, buf, temp,
|
||||||
LDNS_RCODE_NOERROR, (LDNS_RCODE_NOERROR|BIT_AA),
|
LDNS_RCODE_NOERROR, (LDNS_RCODE_NOERROR|BIT_AA),
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue