Skip to content

fix(dnsbl): show a blocklist refusal as degraded, not down - #993

Merged
fclairamb merged 1 commit into
feat/todos-2026-11-23from
feat/todos-2026-11-23-2
Nov 23, 2026
Merged

fclairamb merged 1 commit into
feat/todos-2026-11-23from
feat/todos-2026-11-23-2

Conversation

@fclairamb

Copy link
Copy Markdown
Owner

Stacked on #990: merge it first.

Closes fclairamb/solidping-business#108

Summary

  • dnsbl: when no zone lists the target but at least one blocklist answers with a 127.255.255.x refusal code (Spamhaus: public resolver refused, rate limit, malformed query), the check is now Warning (rolled up as Degraded) instead of Timeout/Up.
  • The output gets a message per refused zone: code, meaning, fix (private resolver via nameserver, or a Spamhaus DQS key).
  • Docs: DNSBL section of web/docs/docs/features/check-types.md explains the degraded state.
  • Table tests cover Spamhaus-only .254, refused + clean, refused + timeout, listed anywhere.

Decided by autopilot

  • fclairamb/solidping-business#108, open question (plain timeout/SERVFAIL zones): unchanged. Every zone plainly inconclusive stays Timeout; a single 127.255.255.x refusal is enough for Warning, even next to timed-out zones; a listing anywhere stays Down.

🤖 Generated with Claude Code

…nswer (fclairamb/solidping-business#108)

A zone answering only with a reserved 127.255.255.x code (Spamhaus refusing a
public resolver, rate limit, malformed query) made the check Timeout when it was
the only zone, and was silently ignored (Up) when another zone was clean.
classifyStatus (checkdnsbl/checker.go) now returns StatusWarning when no zone
lists the target and at least one refused with such a code; the output `message`
names each zone, code, meaning and fix. Plain timeouts/SERVFAILs keep the old
verdicts (Up beside a clean zone, Timeout when every zone fails). The new and
updated table cases in checker_test.go fail before the fix. Docs updated.

Closes fclairamb/solidping-business#108

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@fclairamb fclairamb added autopilot frozen Batch PR under review: takes only its own fixes, new work goes to the next batch automerge labels Nov 23, 2026
@fclairamb
fclairamb merged commit 0432e16 into feat/todos-2026-11-23 Nov 23, 2026
5 checks passed
@fclairamb
fclairamb deleted the feat/todos-2026-11-23-2 branch November 23, 2026 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge autopilot frozen Batch PR under review: takes only its own fixes, new work goes to the next batch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant