forward zones with broken forwarders

Hi,

Often I see unbound configurations with multiple forwarders for zones
like this:
forward-zone:
     name: "."
     forward-addr: 1.1.1.1
     forward-addr: 1.1.1.2
     forward-addr: 1.1.1.3
     forward-addr: 1.1.1.4

The intention of customers for such configurations are redundancy purposes.
As long as all forwarders are reachable the configuration works well and
provides loadbalancing for the forwarders. But if one forwarder becomes
unreachable, unbound keeps asking it. Timeouts occur, many requests fail and
dns resolution becomes very slow. This means the redundancy requirement is not
fulfilled. I would expect that the infra cache is able to track if a forwarder
becomes unreachable, but that seems not to be true.

Is there a way to configure unbound to deal with unreachable forwarders in a
better way?

Thanks & Regards

Florian

Hi Florian,

Hi,

Often I see unbound configurations with multiple forwarders for zones
like this:
forward-zone:
name: "."
forward-addr: 1.1.1.1
forward-addr: 1.1.1.2
forward-addr: 1.1.1.3
forward-addr: 1.1.1.4

The intention of customers for such configurations are redundancy purposes.
As long as all forwarders are reachable the configuration works well and
provides loadbalancing for the forwarders. But if one forwarder becomes
unreachable, unbound keeps asking it. Timeouts occur, many requests fail
and
dns resolution becomes very slow. This means the redundancy requirement
is not
fulfilled. I would expect that the infra cache is able to track if a
forwarder
becomes unreachable, but that seems not to be true.

Is there a way to configure unbound to deal with unreachable forwarders
in a
better way?

This question was already asked by someone else, and a fix is in the
code repository. That will mark the forwarders as not working and
select the working forwarders, automatically. After a brief couple of
timeouts to detect the failing addresses (a second, or a couple of
seconds each).

Best regards, Wouter

Yes,

I've asked this. In 1.7.1 it's fixed.

08.05.2018 14:57, W.C.A. Wijngaards via Unbound-users пишет: