stubby icon indicating copy to clipboard operation
stubby copied to clipboard

Reduce log spam when upstream interface is offline

Open rbubley opened this issue 1 year ago • 2 comments

This was the suggested fix to a problem observed in the OpenWrt implementation of stubby (usually embedded in a router), where if the upstream interface went offline, the logs would rapidly be filled with "Could not schedule query". This fix was suggested by Andre Heider via @dhewg (See openwrt/packages#13726)

rbubley avatar Oct 10 '22 16:10 rbubley

Yeah, and I'm still using this patch.

But in this state it's probably not suitable for upstream. A nicer solution might be to only skip that line if the prior error was the same.

dhewg avatar Oct 13 '22 08:10 dhewg

Stubby 0.4.3 + mwan3, now on OpenWrt is no messages at all about "Could not schedule query..." when there is all links offline. And when one of links goes online, stubby hangs, needs to do manual restart of stubby to make DNS works.

GektorUA avatar Feb 22 '23 14:02 GektorUA