check_dns: better time measurement

alpine does not output ms using date, therefore we use perl to get a more
accurate measurement of the dns response time.
The script output is now even more similar to nagios check_dns.
This commit is contained in:
maxi322
2026-02-14 18:07:39 +01:00
parent 0b0a65a3f3
commit 1c52eaa3a4
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -521,7 +521,7 @@ services:
- /lib/modules:/lib/modules:ro
watchdog-mailcow:
image: ghcr.io/mailcow/watchdog:2.09
image: ghcr.io/mailcow/watchdog:2.10
dns:
- ${IPV4_NETWORK:-172.22.1}.254
tmpfs: