Skip to content

test(ddns): cover transient and persistent DNS update retries #7654

Description

@viniciusferrao

#7651 fixes DDNS updates that receive transient SERVFAIL responses and prevents persistent failures from being reported as success.

Current CI does not exercise this path: its ci_test coverage only checks makedns help output.

Add focused mocked-resolver coverage for send_ddns_update:

  • SERVFAIL → SERVFAIL → NOERROR retries and returns success.
  • SERVFAIL → SERVFAIL → SERVFAIL returns failure and emits the terminal error.
  • Persistent failure does not allow add_or_delete_records / makedns to emit either completion message.
  • Preserve existing NOTAUTH retry behavior.

Acceptance criteria: the tests are deterministic, do not require a running DNS server, and run in the project’s normal test workflow.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions