[3/3] Unbound: Use aggressive NSEC

Message ID 4c59f5c0-751f-c74c-1f3a-5a8dd27cfe9f@link38.eu
State Superseded
Headers
Series [1/3] Unbound: Enable DNS cache poisoning mitigation |

Commit Message

Peter Müller Aug. 20, 2018, 4:13 a.m. UTC
  This avoids some needless lookups to destination domains
with a very high NXDOMAIN rate and reduces load on upstream
servers.

See https://nlnetlabs.nl/documentation/unbound/unbound.conf/
for further details.

Signed-off-by: Peter Müller <peter.mueller@link38.eu>
---
 config/unbound/unbound.conf | 1 +
 1 file changed, 1 insertion(+)
  

Comments

Michael Tremer Aug. 23, 2018, 11:43 p.m. UTC | #1
Not sure if this actually makes a difference in reality. It is quite
unlikely to hit a match here.

But I can live with this change.

-Michael

On Sun, 2018-08-19 at 20:13 +0200, Peter Müller wrote:
> This avoids some needless lookups to destination domains
> with a very high NXDOMAIN rate and reduces load on upstream
> servers.
> 
> See https://nlnetlabs.nl/documentation/unbound/unbound.conf/
> for further details.
> 
> Signed-off-by: Peter Müller <peter.mueller@link38.eu>
> ---
>  config/unbound/unbound.conf | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/config/unbound/unbound.conf b/config/unbound/unbound.conf
> index 8b5d34ee3..8ad6bcb03 100644
> --- a/config/unbound/unbound.conf
> +++ b/config/unbound/unbound.conf
> @@ -60,6 +60,7 @@ server:
>  	harden-referral-path: yes
>  	harden-algo-downgrade: no
>  	use-caps-for-id: yes
> +	aggressive-nsec: yes
>  
>  	# Harden against DNS cache poisoning
>  	unwanted-reply-threshold: 5000000
  

Patch

diff --git a/config/unbound/unbound.conf b/config/unbound/unbound.conf
index 8b5d34ee3..8ad6bcb03 100644
--- a/config/unbound/unbound.conf
+++ b/config/unbound/unbound.conf
@@ -60,6 +60,7 @@  server:
 	harden-referral-path: yes
 	harden-algo-downgrade: no
 	use-caps-for-id: yes
+	aggressive-nsec: yes
 
 	# Harden against DNS cache poisoning
 	unwanted-reply-threshold: 5000000