feat: Add comprehensive DNS import debugging with dnsprovejs patch#279
Open
storywithoutend wants to merge 3 commits intomainfrom
Open
feat: Add comprehensive DNS import debugging with dnsprovejs patch#279storywithoutend wants to merge 3 commits intomainfrom
storywithoutend wants to merge 3 commits intomainfrom
Conversation
Add comprehensive design for debugging DNS import functionality by adding logging to both ensjs and dnsprovejs. Outlines checkpoint-based implementation plan using pnpm patch for dnsprovejs instrumentation. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Add detailed console logging to both getDnsImportData.ts and dnsprovejs (via pnpm patch) to trace DNS query execution and data flow. This enables debugging of DNS import issues by logging: - getDnsImportData.ts: Entry parameters, DNS query results, proof assembly, on-chain verification, and serial number comparisons - dnsprovejs@0.5.2 (patched): DNS queries, proof verification, signature validation, and DNSSEC chain building The patch is applied via pnpm's patch system and will persist across package reinstalls. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
|
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.



Summary
This PR adds comprehensive debug logging to diagnose DNS import functionality issues:
Changes
Logging in getDnsImportData.ts
Added console logging at 9 key checkpoints:
dnsprovejs Patch
Applied via
pnpm patchto fix DoH query encoding:Accept: application/dns-messageheaderDocumentation
Added
docs/plans/2025-11-20-dns-provejs-debugging-design.mdoutlining:Test plan
🤖 Generated with Claude Code