Repository navigation
docs(adr): ADR-0130, give Alertmanager its own DNS fallback - #1690
Merged
Merged
Conversation
With AdGuard on trinity as morpheus's only forwarder (ADR-0055), a trinity outage left the ntfy.sh copy of urgent pages and the heartbeat unable to resolve. Alertmanager now lists morpheus first, then 1.1.1.1 and 9.9.9.9; Docker's embedded resolver was measured moving to the next server on SERVFAIL while keeping the matrix.elysium overrides. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Gerrrt
marked this pull request as ready for review
November 23, 2026 20:45
Gerrrt
enabled auto-merge (squash)
November 23, 2026 20:45
There was a problem hiding this comment.
🟡 Changes recommended
The ADR overlooks resolver-only failures, where pfSense continues routing and Docker can leak the internal hostname to public DNS resolvers.
1 open issue
What changed in this PR
This PR gives Alertmanager a dedicated DNS fallback so external notifications and heartbeat requests can resolve during an AdGuard outage, without changing household DNS.
Changes:
- Adds two public fallback resolvers after
morpheusfor Alertmanager only. - Records the decision, verification steps, and operational consequences in ADR-0130 and related documentation.
- Updates the changelog and README’s ADR count to 130.
| File | Description |
|---|---|
stacks/observability/compose.yaml |
Adds Alertmanager’s ordered DNS resolver list. |
README.md |
Updates both ADR counts to 130. |
docs/runbooks/forward-dns-to-adguard.md |
Updates outage-test expectations for the ntfy.sh copy. |
docs/observability.md |
Documents external alert and heartbeat resolution during outages. |
docs/changelog.md |
Records the DNS fallback change and its motivation. |
docs/adr/0130-give-alertmanager-its-own-dns-fallback.md |
Documents the decision, alternatives, verification, and consequences. |
Review effort: Balanced
The matrix.elysium overrides are Unbound's, so an Unbound failure while morpheus still routes sends ntfy.matrix.elysium to the public resolvers. Accepted: the name is already published here. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ns-fallback # Conflicts: # docs/changelog.md
…ns-fallback # Conflicts: # README.md # docs/changelog.md
…ns-fallback # Conflicts: # docs/changelog.md
…ns-fallback # Conflicts: # docs/changelog.md
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.

What changed
ADR-0130 gives Alertmanager its own resolver list:
10.0.99.1(morpheus) first, then1.1.1.1and9.9.9.9, set asdns:on thealertmanagerservice instacks/observability/compose.yaml.docs/observability.mdandforward-dns-to-adguard.md§4 now say the ntfy.sh copy and the heartbeat still resolve while AdGuard is down. The changelog records it, and README's ADR count is 130. The house's DNS is unchanged; ADR-0055 stands for every client.Why
The
prometheusaudit's finding 4. With AdGuard ontrinityasmorpheus's only forwarder, atrinityoutage stops the ntfy.sh copy of every urgent page and the healthchecks.io heartbeat from resolving. The only page is then healthchecks.io calling Alertmanager dead, which names the wrong machine. That happened on 2026-11-13 (lookup hc-ping.com … server misbehaving, 18:21–18:23). A fallback onmorpheusitself is ruled out by ADR-0055's leak measurement, so this covers the alert path alone.Blast radius
Alertmanager's own name lookups.
morpheusstays first, so thematrix.elysiumoverrides (the in-house ntfy) still answer from it. A public resolver is asked only whenmorpheusfails, and only for Alertmanager's three receiver hosts. Merging recreatesalertmanagerat the next converge. Its silences live in its volume, so they survive.8.8.8.8:53probe does)secrets/*.sops.yamlVerification
Measured on
prometheus(Docker 29.9.1): a scratch container on a user-defined network with--dns 10.0.99.1 --dns 1.1.1.1resolveddoubleclick.net, whichmorpheusanswers withSERVFAIL, from1.1.1.1. It still resolvedntfy.matrix.elysiumto10.0.99.40. With--dns 10.0.99.1alone,doubleclick.netdid not resolve.1.1.1.1and9.9.9.9answer fromprometheusover UDP and TCP.docker compose config --no-interpolaterenders thednslist underalertmanager.python3 scripts/check_docs.py:docs OK../scripts/lint.sh: yamllint, markdownlint and editorconfig pass.make validate: exit 0, 374 PASS, 5 SKIP. The skips: the tmpfs path refusal (CI covers it), and four checks that need the deployment checkout. It ran on the first commit. The review fix (ADR text only) and the merges ofmainlanded while it ran, and CI runs the full set on the final head.After deploy:
docker exec alertmanager nslookup doubleclick.netshould return an address, which proves the fallback in place.make validatepasses (5 skipped, listed above)Deployed to the lab and confirmed working
Docs updated (
docs/, service README, ordocs/roadmap.md)🤖 Generated with Claude Code