OPNSense, Proxmox and Technitium DNS...
Hello!
I guess I've begun my homelab journey and I'm seeking help from you all if you have done this before....
Before I start...Yes I am aware of the downsides of a virtual firewall. Please do not give me crap about "ohhh it should run on a separate bare metal system" or "you should invest in a real firewall"....give me the money to purchase a hardware firewall then...
Now...I have a Dell Precision T5500 that has basically assumed the role of my home server....it will be utilized as a local NAS, Firewall, DHCP and encrypted DNS server. It has three NICs....one for WAN, another for trusted LAN devices and a third for Guest/Untrusted/Cameras. I've set up proxmox on it with OPNsense as a VM and Technitium DNS in a container as the DNS server. OPNsense also behaves as the DHCP server for all devices connecting to the network. It works...my router that is in AP mode issues the IP addresses from OPNsense perfectly. The problem is getting the OPNSense DHCP server to use the DNS IP of the Technitium DNS container. Basically, I can't get my devices to use the Technitium DNS resolver without manually adding that IP in on EACH DEVICE. They just go back to using the WAN DNS which I do not want. How can I get OPNsense's DHCP server to point the DNS IPs to the Technitium DNS container, so all devices can use it without manual config and I can block ads/trackers network wide?