cherry-pick: all: fix some races

Updates #3087.

Squashed commit of the following:

commit e888ce524f286f3c34e14e0086336b65a95fa020
Author: Ainar Garipov <A.Garipov@AdGuard.COM>
Date:   Mon May 17 16:34:10 2021 +0300

    all: fix some races
This commit is contained in:
Ainar Garipov
2021-05-17 16:50:02 +03:00
committed by Ainar Garipov
parent b1b2f4a233
commit 031e61305d
6 changed files with 30 additions and 13 deletions

View File

@@ -14,7 +14,7 @@ and this project adheres to
-->
<!--
## [v0.106.3] - 2021-05-17 (APPROX.)
## [v0.106.3] - 2021-05-18 (APPROX.)
-->
### Added
@@ -25,6 +25,7 @@ and this project adheres to
### Fixed
- Intermittent "Warning: ID mismatch" errors ([#3087]).
- Error when using installation script on some ARMv7 devices ([#2542]).
- DHCP leases validation ([#3107], [#3127]).
- Local PTR request recursion in Docker containers ([#3064]).