Replies: 2 comments 2 replies
-
You can setup more than one forwarder. One is filtering, and is a regular recursor (or a public recursive service like quad9).
This recursor then does not do much else than forwarding (and caching), so a similar config can be setup using dnsdist forwarding to two (sets of) recursors. Moving this to a discussion, as I don't think the feature is very useful in the recursor and it would add substantial complexity to already quite complex code. |
Beta Was this translation helpful? Give feedback.
1 reply
-
I'm note sure why you would need two dnsdist instances. Can you eloborate on that? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Short description
Among other settings (mostly RPZs) I got
forward_zones_recurse
directing everything to other resolver:Now, however, I'd like to undo this forwarding for specific (sub)domains and made them resolve using "natural" recursive way by itself, i.e. using root hints and following down the path. I'm struggling to find any option that could make that possible.
Usecase
The
A.B.C.D
upstream resolver is external filtering service. I want to not use it's filtering capabilities for some domains (and save it some queries at the same time). The domains I don't want to filter are not mine, therefore I don't control their authoritative servers - they need to be queried based on "classic" resolution mechanisms (NS records etc.). The closest I could think of was:but this obviously doesn't work as
recursor
expects root-server to return final answer (therecurse
flag AFAIK only sets the RA flag, doesn't switch entire stanza to recursive). I also tried using emptyforwarders
but such configuration is forbidden.As an extra this could enable QName minimization for such sub-zone, which is not used during forwarding.
Can I make such exception from
zone: .
directly?in-addr.arpa.
is another example of zone that could be opted-out from forwarding (back to recursion).I know I can run separate
recursor
and use it as forwarder from the master, but this seems an overkill and I'd like to avoid running more instances only for this scenario.Beta Was this translation helpful? Give feedback.
All reactions