Skip to content

Investigate DNS crashes after configuration changes #263

Closed

Description

@scotwells

Summary

Find out why a DNS forwarding process crashed shortly after two configuration changes and collect enough evidence to prevent recurrence.

Why it matters

A forwarding-process crash can interrupt name lookups for every workload using that server.

Acceptance criteria

  • Logs identify the configuration changes sent to the forwarding process.
  • Capture a crash report with enough detail to investigate the failure.
  • Test closely spaced updates; if they cause the crash, queue or combine them safely.
  • Assess whether a single forwarding-process crash should interrupt DNS on the host and record the availability follow-up.

Related work

Parent: Keep Private DNS working through updates and failures.

Original report and engineering evidence are preserved in the discussion.

Activity

  1. added theissue type on Oct 29, 2026
  2. scotwells commented on Oct 29, 2026

    @scotwells
    ContributorAuthor

    The description now explains the problem and expected outcome in plain language. The original report is preserved below for the observations, diagnostics, and implementation details behind this work. It describes the situation when the issue was reported; later comments and the issue state record subsequent progress.

    Original report and engineering evidence

    What happened

    In the us-central-1 staging lab, the DNS forwarder on an internal DNS node crashed once and restarted on its own. DNS lookups that went through that node failed for a few seconds while it restarted. It has been stable since.

    The crash happened about half a second after the internal DNS agent sent the forwarder two configuration updates in quick succession. We can't tell what those updates contained, because the agent doesn't log them.

    Why it matters

    Each node runs one forwarder, so a crash briefly breaks private DNS for every workload on that node. If certain updates can crash it, this could happen again whenever records change.

    What we'd like

    • Log what the agent sends to the forwarder, so the next crash can be traced to a specific update.
    • Capture a crash report or backtrace from the forwarder in staging.
    • Check whether two updates sent close together can crash it, and if so, queue or combine them.
    • Consider whether a single forwarder crash should be able to interrupt DNS on a node at all.
    Details
    • When: 2026-10-22 19:21:11 UTC
    • Where: us-central-1-staging-lab, pod internal-dns-node-7b98c48f4b-68jfm, container dnsdist. It exited with code 139 (segfault) and restarted once.
    • The agent and serving containers in the same pod didn't restart. The regional front's dnsdist on the same node never restarted.
    • The last lines dnsdist logged before the crash were two console connections from the agent, at 19:21:10.16 and 19:21:10.63. Earlier updates at 19:02 and 19:20 didn't cause a crash.
    • Not related to the compute internal DNS address change (fix: Publish internal DNS from interface allocations), which merged 40 minutes later.
  3. changed the title [-]Private DNS forwarder crashed after a config update[/-] [+]Investigate DNS crashes after configuration changes[/+] on Oct 29, 2026
  4. scotwells commented on Nov 4, 2026

    @scotwells
    ContributorAuthor

    Updates are now serialized and logged (#266), and the crash hasn't recurred. Recording exit details from any future crash is tracked in #402.

  5. self-assigned this
    on Nov 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions