Raw packet relay feature (performance)
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.
I've begun working on this.
Awesome. :+1:
@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
Noted, thanks.