LLT-7053: Integrate DNS forwarder#1765
Open
tomasz-grz wants to merge 1 commit intoLLT-7053_raw_forwarderfrom
Open
LLT-7053: Integrate DNS forwarder#1765tomasz-grz wants to merge 1 commit intoLLT-7053_raw_forwarderfrom
tomasz-grz wants to merge 1 commit intoLLT-7053_raw_forwarderfrom
Conversation
52c8993 to
714dd91
Compare
714dd91 to
7188885
Compare
Integrate RawForwarder into LocalNameServer as an alternative to hickory-based zone forwarding. When `use_raw_forwarder` is enabled, non-.nord queries are forwarded as raw UDP packets to upstream nameservers. The hickory-server forwarder remains the default.
7188885 to
2828781
Compare
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.
Problem
Non
.nordDNS queries are forwarded through hickory-server's ForwardAuthority zone. We want to removehickorydependencies as it adds unnecessary overhead, requires additional maintenance and was a source of bugs.Solution
Integrate
RawForwarderintoLocalNameServerbehind a newuse_raw_forwarderfeature flag.use_raw_forwarder: Option<bool>toFeatureDns(default: None, uses hickory-server)use_raw_forwarderis true,LocalNameServerroutes non.nordqueries throughRawForwarderinstead of hickoryResolverandClonableZones::lookup().☑️ Definition of Done checklist