To protect your network against DNS hijacking attacks, there is a new way to configure the firewall so DNS traffic only uses the DNS server built-in to IPFire.
This will seamlessly redirect DNS queries to IPFire. This means that you do not need to reconfigure all systems which use hard-coded DNS (such as Smartphone apps which may not use DHCP-supplied DNS servers).
IPFire will use the DNS servers provided by your ISP (if using DHCP) or what you manually configure with the Setup program.
Do you have a device on the network that doesn't behave and looks to Microsoft, Google AND Amazon, (or some far away DNS system) for DNS services? The Firewall Rule below will grab the DNS request and redirect it to the IPFire box.
Important Note: AXFR Zone transfer uses TCP 53 (or TCP 853 for XOT). Therefore any zone transfer from a client behind IPfire using above settings will fail. To allow a specific client behind IPfire to perform zone transfer you have to allow it in NAT table CUSTOMPREROUTING chain.