Is there a possibility to configure 172.16.1.1 as DNS for every VLAN/ DHCP at one point or do I have to enter it in every single VLAN/ DHCP setting?
I have port forwarding set for every port 53 dns request from any VLAN to be routed to 172.16.1.1:53 (Unbound DNS), is it true that Unbound DNS will see the client ip as the requesting ip, instead of the opnsense ip (which is port forwarding the request)?
do I have to enter it in every single VLAN/ DHCP setting?
Under System>Settings>General>Networking
As long as Unbound is enabled, the DHCPv4 server will advertise the interface IP address as the DNS server, even if Unbound is not listening on that interface. The DNS servers from the global settings are only advertised if Unbound is disabled. At least that's how it worked last time I tried it; maybe this has changed?
Network Interfaces: Interface IP addresses used for responding to queries from clients. If an interface has both IPv4 and IPv6 IPs, both are used. Queries to other interface IPs not selected below are discarded. The default behavior is to respond to queries on every available IPv4 and IPv6 address.