Skip to content

net: add experimental P2P DNS relay#958

Open
denuoweb wants to merge 1 commit into
handshake-org:masterfrom
denuoweb:feat/p2p-dns-relay
Open

net: add experimental P2P DNS relay#958
denuoweb wants to merge 1 commit into
handshake-org:masterfrom
denuoweb:feat/p2p-dns-relay

Conversation

@denuoweb

Copy link
Copy Markdown

Summary

  • add an operator-opt-in recursive DNS relay on existing Handshake peer connections
  • advertise capability dynamically only while the synced bounded backend is ready
  • enforce current-name admission, strict DNS envelopes, public authority port 53 egress, per-peer/global/per-authority rate limits, finite concurrency, deadlines, and cancellation
  • add shared wire vectors and focused responder/integration tests

The service bit and packet types are private experimental values pending the companion HIP assignments. The implementation is disabled by default.

Verification

  • focused DNS relay suite: 47 passing
  • ESLint 9 clean
  • real four-node regtest Urkel/DNSSEC/DANE acceptance with the companion browser requester

Companion requester commit: https://github.com/Denuo-Web/hns-dane-browser/tree/021bc5edfea6d250aaa3fd1796b0a1875b3f3b7c

@denuoweb
denuoweb marked this pull request as ready for review July 17, 2026 06:20
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.

1 participant