Skip to content

Conversation

@maxi322
Copy link
Contributor

@maxi322 maxi322 commented Aug 29, 2025

Follow up to #6685
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.

Contribution Guidelines

What does this PR include?

An improvement to the check_dns script. DNS response time is now measured more accurate.

Short Description

An improvement to the check_dns script. DNS response time is now measured more accurate.

Affected Containers

  • watchdog

Did you run tests?

What did you tested?

the check_dns script in the watchdog container on my mailcow server.

What were the final results? (Awaited, got)

The output of the dns response time is now accurately measured in ms instead of just seconds.

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.
@maxi322 maxi322 force-pushed the feature/check_dns_improvement branch from 4a19fc6 to 1469953 Compare October 19, 2025 09:48
Copy link
Member

@DerLinkman DerLinkman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please also increase the container image version +1 inside docker-compose.yml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants