[Watchdog] Validate Unbound over IPv4 and IPv6 - #7372
Open
pi0n00r wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Contribution Guidelines
What does this PR include?
Short Description
This PR keeps the existing Unbound resolution and DNSSEC coverage, binds those
checks to the actual Unbound container addresses, and adds equivalent IPv6
coverage when Mailcow IPv6 is enabled.
It is a clean follow-up to #6626. In particular, it preserves the established
check_dns.shcheck and strengthens rather than removes the DNSSEC check.The watchdog now:
Docker API service and Compose labels, with bounded retries;
transport;
strictmode, requires a deliberately bogus DNSSEC chain toreturn
SERVFAIL;unbound.conffilemounted into the Unbound container;
bogus answer as authenticated;
Docker API or network-configuration failure.
Strict validation remains the stock behavior. Permissive behavior follows
Unbound's documented behavior
only when the active configuration explicitly selects it.
The watchdog image tag is advanced from
2.11to2.11abecause the imagesource changes.
Affected Containers
Did you run tests?
Yes.
What did you test?
helper-scripts/tests/test_watchdog_dnssec.shdata/Dockerfiles/watchdogcom. SOAanswers; anddnssec-failed.orgThe candidate has not yet been exercised in a live Mailcow stack, so the
contained network tests do not claim a production restart-cycle validation.
What were the final results? (Awaited, got)
Expected:
authenticated;
resolver-process failures.
Got:
The
2.11atag follows the image-rebuild contribution rule. It is expected toremain unavailable until the upstream image pipeline publishes it after merge;
its pre-merge absence is not a validation failure.