]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
unbound: keep probing when servers are down
authorJonatan Schlag <jonatan.schlag@ipfire.org>
Wed, 6 Jan 2021 10:16:49 +0000 (10:16 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 6 Jan 2021 15:31:05 +0000 (15:31 +0000)
Till now when a server was in the "blocking regime" there was one probe
made every 15 min, to see if this server is up again. In situations
where all servers where down (e.g. because of a massive package loss)
it could take up to 15 min to have a working dns again.

This patch changes this behaviour in a way that a server marked down is
probed every 2 min.

Fixes: #12557
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/unbound/unbound.conf

index 3aab6ea463d5bf8c80cef58738b57a2a6ae14396..f78aaae8c73e862be8e76b8e005a43237dfd93e1 100644 (file)
@@ -60,6 +60,9 @@ server:
        # Allow access from everywhere
        access-control: 0.0.0.0/0 allow
 
+       # Timeout behaviour
+       infra-keep-probing: yes
+
        # Bootstrap root servers
        root-hints: "/etc/unbound/root.hints"