From c697c321e6381c60873b49f3cc332351ee758e06 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 9 Dec 2025 21:48:16 +0100 Subject: [PATCH] netwatch-dns: drop early check... ... as the later check should handle that just fine. --- netwatch-dns.rsc | 7 ------- 1 file changed, 7 deletions(-) diff --git a/netwatch-dns.rsc b/netwatch-dns.rsc index 6006405..43669fa 100644 --- a/netwatch-dns.rsc +++ b/netwatch-dns.rsc @@ -73,13 +73,6 @@ :local DohCurrent [ /ip/dns/get use-doh-server ]; :local DohServers ({}); - - :if ([ :len $DohCurrent ] > 0 && [ $IsDNSResolving ] = false && [ $IsTimeSync ] = false) do={ - $LogPrint info $ScriptName ("Time is not sync, disabling DoH: " . $DohCurrent); - /ip/dns/set use-doh-server=""; - :set DohCurrent ""; - } - :foreach Host in=[ /tool/netwatch/find where comment~"\\bdoh\\b" status="up" ] do={ :local HostVal [ /tool/netwatch/get $Host ]; :local HostInfo [ $ParseKeyValueStore ($HostVal->"comment") ];