bind9/lib/dns
Diego Fronza c786c578d7 Added RPZ configuration option "nsdname-wait-recurse"
This new option was added to fill a gap in RPZ configuration
options.

It was possible to instruct BIND wheter NSIP rewritting rules would
apply or not, as long as the required data was already in cache or not,
respectively, by means of the option nsip-wait-recurse.

A value of yes (default) could incur a little processing cost, since
BIND would need to recurse to find NS addresses in case they were not in
the cache.

This behavior could be changed by setting nsip-wait-recurse value to no,
in which case BIND would promptly return some error code if the NS IP addresses
data were not in cache, then BIND would start a recursive query
in background, so future similar requests would have the required data
(NS IPs) in cache, allowing BIND to apply NSIP rules accordingly.

A similar feature wasn't available for NSDNAME triggers, so this commit
adds the option nsdname-wait-recurse to fill this gap, as it was
expected by couple BIND users.
2020-03-16 15:18:46 -03:00
..
include Added RPZ configuration option "nsdname-wait-recurse" 2020-03-16 15:18:46 -03:00
rdata fix spelling errors reported by Fossies. 2020-02-21 15:05:08 +11:00
tests Add MAXMINDDB_CFLAGS to CINCLUDES 2020-03-16 16:15:03 +11:00
win32 improve calculation of database transfer size 2020-03-05 17:20:16 -08:00
.gitignore 4394. [func] Add rndc command "dnstap-reopen" to close and 2016-06-24 09:37:04 +10:00
acl.c apply the modified style 2020-02-13 15:05:06 -08:00
adb.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
api Bump library API versions for BIND 9.17 2020-02-24 10:56:47 +01:00
badcache.c Workaround for clang static analyzer bug. 2020-03-02 14:12:05 +01:00
byaddr.c apply the modified style 2020-02-13 15:05:06 -08:00
cache.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
callbacks.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
catz.c fix spelling errors reported by Fossies. 2020-02-21 15:05:08 +11:00
client.c Fix dns_client_addtrustedkey(dns_rdatatype_dnskey) 2020-03-04 08:59:29 -08:00
clientinfo.c apply the modified style 2020-02-13 15:05:06 -08:00
compress.c Add an arena to compressctx 2020-02-26 07:57:44 +00:00
db.c apply the modified style 2020-02-13 15:05:06 -08:00
dbiterator.c apply the modified style 2020-02-13 15:05:06 -08:00
dbtable.c apply the modified style 2020-02-13 15:05:06 -08:00
diff.c apply the modified style 2020-02-13 15:05:06 -08:00
dispatch.c Use the new sorting rules to regroup #include headers 2020-03-09 16:19:22 +01:00
dlz.c apply the modified style 2020-02-13 15:05:06 -08:00
dns64.c apply the modified style 2020-02-13 15:05:06 -08:00
dnsrps.c fix spelling errors reported by Fossies. 2020-02-21 15:05:08 +11:00
dnssec.c Use the new sorting rules to regroup #include headers 2020-03-09 16:19:22 +01:00
dnstap.c Use the new sorting rules to regroup #include headers 2020-03-09 16:19:22 +01:00
dnstap.proto fix spelling errors reported by Fossies. 2020-02-21 15:05:08 +11:00
ds.c apply the modified style 2020-02-13 15:05:06 -08:00
dst_api.c Use the new sorting rules to regroup #include headers 2020-03-09 16:19:22 +01:00
dst_internal.h Use the new sorting rules to regroup #include headers 2020-03-09 16:19:22 +01:00
dst_openssl.h Use the new sorting rules to regroup #include headers 2020-03-09 16:19:22 +01:00
dst_parse.c Use the new sorting rules to regroup #include headers 2020-03-09 16:19:22 +01:00
dst_parse.h Reformat using the new rules 2020-02-14 09:31:05 +01:00
dst_pkcs11.h Use clang-format to reformat the source files 2020-02-12 15:04:17 +01:00
dst_result.c apply the modified style 2020-02-13 15:05:06 -08:00
dyndb.c apply the modified style 2020-02-13 15:05:06 -08:00
ecdb.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
ecs.c apply the modified style 2020-02-13 15:05:06 -08:00
fixedname.c apply the modified style 2020-02-13 15:05:06 -08:00
forward.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
gen-unix.h Use the new sorting rules to regroup #include headers 2020-03-09 16:19:22 +01:00
gen-win32.h Reformat using the new rules 2020-02-14 09:31:05 +01:00
gen.c Use the new sorting rules to regroup #include headers 2020-03-09 16:19:22 +01:00
geoip2.c apply the modified style 2020-02-13 15:05:06 -08:00
gssapi_link.c Use the new sorting rules to regroup #include headers 2020-03-09 16:19:22 +01:00
gssapictx.c Use the new sorting rules to regroup #include headers 2020-03-09 16:19:22 +01:00
hmac_link.c Use the new sorting rules to regroup #include headers 2020-03-09 16:19:22 +01:00
ipkeylist.c apply the modified style 2020-02-13 15:05:06 -08:00
iptable.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
journal.c dns_journal_iter_init() can now return the size of the delta 2020-03-05 17:20:16 -08:00
kasp.c Fix race condition dnssec-policy with views 2020-03-09 14:48:17 +01:00
key.c Use the new sorting rules to regroup #include headers 2020-03-09 16:19:22 +01:00
keydata.c apply the modified style 2020-02-13 15:05:06 -08:00
keymgr.c Make clang-format happy 2020-03-06 15:57:48 +01:00
keytable.c apply the modified style 2020-02-13 15:05:06 -08:00
Kyuafile regen master 2017-12-29 01:44:18 +00:00
lib.c apply the modified style 2020-02-13 15:05:06 -08:00
log.c apply the modified style 2020-02-13 15:05:06 -08:00
lookup.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
Makefile.in Link with LMDB only where needed 2020-03-16 09:38:15 +01:00
mapapi improve calculation of database transfer size 2020-03-05 17:20:16 -08:00
master.c fix spelling errors reported by Fossies. 2020-02-21 15:05:08 +11:00
masterdump.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
message.c Fixup the missing clang-format bits 2020-02-16 17:34:24 +01:00
name.c Fixup the missing clang-format bits 2020-02-16 17:34:24 +01:00
ncache.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
nsec.c apply the modified style 2020-02-13 15:05:06 -08:00
nsec3.c apply the modified style 2020-02-13 15:05:06 -08:00
nta.c list "validate-except" entries in "rndc nta -d" and "rndc secroots" 2020-03-04 00:44:32 -08:00
openssl_link.c Use the new sorting rules to regroup #include headers 2020-03-09 16:19:22 +01:00
openssldh_link.c Use the new sorting rules to regroup #include headers 2020-03-09 16:19:22 +01:00
opensslecdsa_link.c Use the new sorting rules to regroup #include headers 2020-03-09 16:19:22 +01:00
openssleddsa_link.c Use the new sorting rules to regroup #include headers 2020-03-09 16:19:22 +01:00
opensslrsa_link.c Use the new sorting rules to regroup #include headers 2020-03-09 16:19:22 +01:00
order.c apply the modified style 2020-02-13 15:05:06 -08:00
peer.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
pkcs11.c Use the new sorting rules to regroup #include headers 2020-03-09 16:19:22 +01:00
pkcs11ecdsa_link.c Use the new sorting rules to regroup #include headers 2020-03-09 16:19:22 +01:00
pkcs11eddsa_link.c Use the new sorting rules to regroup #include headers 2020-03-09 16:19:22 +01:00
pkcs11rsa_link.c Use the new sorting rules to regroup #include headers 2020-03-09 16:19:22 +01:00
portlist.c apply the modified style 2020-02-13 15:05:06 -08:00
private.c apply the modified style 2020-02-13 15:05:06 -08:00
rbt.c Use the new sorting rules to regroup #include headers 2020-03-09 16:19:22 +01:00
rbtdb.c Silence missing unlock from Coverity. 2020-03-13 12:42:52 +11:00
rbtdb.h Use clang-tidy to add curly braces around one-line statements 2020-02-13 22:07:21 +01:00
rcode.c Use the new sorting rules to regroup #include headers 2020-03-09 16:19:22 +01:00
rdata.c fix spelling errors reported by Fossies. 2020-02-21 15:05:08 +11:00
rdatalist.c apply the modified style 2020-02-13 15:05:06 -08:00
rdatalist_p.h Use clang-format to reformat the source files 2020-02-12 15:04:17 +01:00
rdataset.c apply the modified style 2020-02-13 15:05:06 -08:00
rdatasetiter.c apply the modified style 2020-02-13 15:05:06 -08:00
rdataslab.c improve calculation of database transfer size 2020-03-05 17:20:16 -08:00
request.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
resolver.c fix spelling errors reported by Fossies. 2020-02-21 15:05:08 +11:00
result.c apply the modified style 2020-02-13 15:05:06 -08:00
rootns.c adjust the clang-format penalties to reduce string breaking 2020-02-17 14:23:58 -08:00
rpz.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
rriterator.c apply the modified style 2020-02-13 15:05:06 -08:00
rrl.c fix spelling errors reported by Fossies. 2020-02-21 15:05:08 +11:00
sdb.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
sdlz.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
soa.c apply the modified style 2020-02-13 15:05:06 -08:00
spnego.asn1 Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
spnego.c Use the new sorting rules to regroup #include headers 2020-03-09 16:19:22 +01:00
spnego.h Use clang-tidy to add curly braces around one-line statements 2020-02-13 22:07:21 +01:00
spnego_asn1.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
spnego_asn1.pl Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
ssu.c apply the modified style 2020-02-13 15:05:06 -08:00
ssu_external.c apply the modified style 2020-02-13 15:05:06 -08:00
stats.c apply the modified style 2020-02-13 15:05:06 -08:00
tcpmsg.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
time.c apply the modified style 2020-02-13 15:05:06 -08:00
timer.c apply the modified style 2020-02-13 15:05:06 -08:00
tkey.c Use the new sorting rules to regroup #include headers 2020-03-09 16:19:22 +01:00
tsec.c Use the new sorting rules to regroup #include headers 2020-03-09 16:19:22 +01:00
tsig.c Use the new sorting rules to regroup #include headers 2020-03-09 16:19:22 +01:00
tsig_p.h Use clang-format to reformat the source files 2020-02-12 15:04:17 +01:00
ttl.c Reformat using the new rules 2020-02-14 09:31:05 +01:00
update.c use the full sig-validity-interval for RRSIG(SOA) 2020-02-27 22:30:14 +00:00
validator.c fix spelling errors reported by Fossies. 2020-02-21 15:05:08 +11:00
version.c Use clang-format to reformat the source files 2020-02-12 15:04:17 +01:00
view.c fix spelling errors reported by Fossies. 2020-02-21 15:05:08 +11:00
xfrin.c add serial number to "transfer ended" log messages 2020-03-05 17:20:16 -08:00
zone.c remove redundant ZONEDB_UNLOCK 2020-03-09 14:05:14 -07:00
zone_p.h Reformat using the new rules 2020-02-14 09:31:05 +01:00
zonekey.c apply the modified style 2020-02-13 15:05:06 -08:00
zoneverify.c some Fossies-reported spelling errors were accidentally left unfixed 2020-02-21 14:12:42 -08:00
zt.c Reformat using the new rules 2020-02-14 09:31:05 +01:00