How to set DNS forward by condition in DNS resolver
jam-s last edited by jam-s
I have simple DNS resolver and ipsec tunnel to AWS network. I want to forward some DNS queries by condition. For example all lookup to *.abc.com should be forwarded to custom DNS server. I ve configured resolver :
... forward-zone: name: abc.com forward-addr: 18.104.22.168 ...
I checked resolve and it works only fro Pfsense, when i try to resolve abc.com from my PC it use wrong DNS server
Why do you configure it manually and don't just use the domain override section at the bottom of the configuration?
And do your PCs even use pfSense as DNS server so they get the override?
jam-s last edited by
I need to use forwarding because ip of requested domain can be changed. Yes i using DNS of pfsense.