Skip to content

Check dig result properly#638

Merged
ximon18 merged 4 commits into
mainfrom
check-dig-result-properly
May 13, 2026
Merged

Check dig result properly#638
ximon18 merged 4 commits into
mainfrom
check-dig-result-properly

Conversation

@ximon18
Copy link
Copy Markdown
Member

@ximon18 ximon18 commented May 8, 2026

TSIG response signing is actually failing but wasn't detected by the downstream-tsig system test due to wrongly assuming that dig would exit with a non-zero exit code if there is a problem with the response. However, dig will exit with code 0 if it receives any DNS response, success or failure.

This PR makes the dig check stricter. The dig check was also failing to use the TSIG key when it should which this PR also fixes.

This test detects the TSIG failure but doesn't fix it. PR #637 has been tested with this PR and causes the TSIG error reported by dig to disappear.


  • If you are changing Rust code or integration tests (Cargo.*, crates/, etc/, integration-tests/, src/):
    • Did you run the integration tests with act through the act-wrapper (as described in TESTING.md)?

Philip-NLnetLabs and others added 3 commits May 8, 2026 15:42
Comment thread integration-tests/tests/downstream-tsig/action.yml
@ximon18 ximon18 merged commit fcacb2b into main May 13, 2026
1 check passed
@ximon18 ximon18 deleted the check-dig-result-properly branch May 13, 2026 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants