Skip to content

[WIP] Fix return type for record not found in CoreDNS plugin#77

Closed
Copilot wants to merge 1 commit intomainfrom
copilot/fix-nxdomain-return-behavior
Closed

[WIP] Fix return type for record not found in CoreDNS plugin#77
Copilot wants to merge 1 commit intomainfrom
copilot/fix-nxdomain-return-behavior

Conversation

Copy link
Copy Markdown

Copilot AI commented Feb 19, 2026

  • Modify omada.go: exclude file.NameError from the NextOrFailure condition so managed-zone misses return NXDOMAIN instead of SERVFAIL
  • Update omada_test.go: update the client4.omada.test. test case to expect NXDOMAIN (dns.RcodeNameError) instead of SERVFAIL
  • Run tests to validate the changes
Original prompt

this is a coredns plugin. Is it possible to return a NXDOMAIN rather than a servfail when a record is not found?

The user has attached the following file paths as relevant context:

  • omada.go

Created from VS Code.


🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

@dougbw dougbw closed this Feb 19, 2026
Copilot AI requested a review from dougbw February 19, 2026 21:59
Copilot stopped work on behalf of dougbw due to an error February 19, 2026 21:59
@dougbw dougbw deleted the copilot/fix-nxdomain-return-behavior branch February 19, 2026 22:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants