Redirect all DNS Request
-
Hi,
is it possible to create a rule that will redirect all DNS request to server only in specific ip range
this link instruction is a rule for the entire network.
https://doc.pfsense.org/index.php/Redirecting_all_DNS_Requests_to_pfSenseif possible, dont just say yes! ahaha, please write your instruction…:)
Thanks,
iamroot -
Those instructions are close. Just click advanced on the port forward and set the appropriate source addresses you want to have forwarded to that DNS server.
-
should i also check the invert match? and what source port? any or DNS?
-
If it makes sense to invert the match in your case, then I guess do so. You haven't said what "specific ip range" is so I can't really say one way or the other.
Source ports for DNS queries are random. So any there.