dnsdist downstream sockets can go stale but it never recovers #4155
I'm using dnsdist (1.0) with some downstream servers over VPN and sometimes the connected UDP socket can go stale. It does not recover from this state and I have to restart dnsdist to fix it.
Although the downstream server can still be marked UP or DOWN by the
What I expected was that it would reconnect the socket to recover from this error.
I implemented the following
I'm not sure if this is the correct way, but it works well for me.
The text was updated successfully, but these errors were encountered:
I used the following debug print:
From my logs it would print:
So yes, errno is
Nice that you are able to reproduce it as well.