node-dns icon indicating copy to clipboard operation
node-dns copied to clipboard

Raw packet relay feature (performance)

Open taoeffect opened this issue 11 years ago • 4 comments

There are many ways to implement the following (and they should all be explored), but the main idea is that always having to parse and repack every packet creates a DNS library that unnecessarily slow when only a relay is desired.

The goal of this feature is to put as little latency on the receiving and sending of a DNS question/response when the goal is to simply act as a bridge/relay for another DNS server.

taoeffect avatar Apr 22 '14 00:04 taoeffect

I've begun working on this.

SGrondin avatar May 11 '14 16:05 SGrondin

Awesome. :+1:

taoeffect avatar May 11 '14 18:05 taoeffect

@SGrondin, please work off of the okTurtles forks, they have a lot of improvements (especially in native-dns-packet) @tjfontaine said he would review the PRs I sent him (but I'm guessing he just needs to find the time for it):

  • https://github.com/okTurtles/node-dns
  • https://github.com/okTurtles/native-dns-packet
  • And probably not necessary for this issue: https://github.com/okTurtles/native-dns-cache

taoeffect avatar May 13 '14 18:05 taoeffect

Noted, thanks.

SGrondin avatar May 13 '14 19:05 SGrondin