Merge in DNS/adguard-home from 3823-log-rotation to master
Closes#3823.
Squashed commit of the following:
commit 4075c6994ec71210fa38b3e05021149e0fa13841
Author: Eugene Burkov <E.Burkov@AdGuard.COM>
Date: Tue Nov 9 18:27:09 2021 +0500
querylog: fix rotation check