46
22.7 Legacy Series / Re: Using manually specified DNS servers for specific devices - Unbound DNS
« on: November 01, 2022, 07:46:48 am »
I have the same requirement. For many years I have been using a NAT rule that is almost identical to yours.
The difference is that I have:
(Destination) Address: *
My rule ensures that any device in ALIAS_HOSTS_DNS_REDIR which uses the DHCP provided DNS servers will also be affected.
Your rule will not fire if a device in ALIAS_HOSTS_DNS_REDIR is using the DNS server on OpnSense (Unbound in your case).
The difference is that I have:
(Destination) Address: *
My rule ensures that any device in ALIAS_HOSTS_DNS_REDIR which uses the DHCP provided DNS servers will also be affected.
Your rule will not fire if a device in ALIAS_HOSTS_DNS_REDIR is using the DNS server on OpnSense (Unbound in your case).