Assign specific DNS server to a specific host using Dnsmasq?

Started by sos_opnsense, Today at 08:03:50 AM

Previous topic - Next topic
I'm sure under the previous ISC DHCP server you could assign specific DNS servers to specific hosts.

I'm running OPNsense 26.1.8 and Dnsmasq as the DHCP server (Unbound and Technitium as my main DNS servers), but I'd like to assign a specific, separate DNS server to my Nintendo Switch 2 and there doesn't seem to be an easy way to do this under Dnsmasq (or KEA).

Am I missing something obvious?
Alder Lake N100
4 x 2.5GbE Intel NIC
16GB, 500GB nvme
OPNsense 26.1.8_5-amd64

In dnsmasq: Create a new DHCP Tag, set it inside the host reservation of the Switch. Then create a DHCP option with the DNS server you want and the same Tag assigned.

In KEA: Create a new dns server option and set it in a reservation.
Hardware:
DEC740