Posted: Sun Sep 25, 2022 19:37 Post subject: [SOLVED]Specifying a specific DNS for a single device.
I'm trying to have most devices use pi-hole and standard DNS for a single device.
I decided to make my life difficult because I'm too cheap to buy additional hardware.
I have a subnet (192.168.1.0) for my home network and a wireless subnet (192.168.11.0) as an isolated/unbridged IoT netowork.
I'm running a Netgear R7000 running DD-WRT v3.0-r45493
I'm running pi-hole from a docker image on my PC on the .1 network.
All my IoT devices seem okay with the setup except my eufy doorbell. Anytime I try to use the pi-hole, it stops working. Maybe it has trouble getting across the subnet, I'm not sure. I figure the easiest way around the issue is to just have the doorbell use a regular DNS. (Or have it be the only thing on the pi-hole and see what's getting blocked). Either way, I want this one device to have a different DNS.
I tried the following, but it just broke DNS for everyone.
Code:
# un ad blocked network
dhcp-host=XX:XX:XX:XX:XX:X,no_block01,EUFY_IP,infinite,set:no_block
dhcp-option=tag:no_block,option:dns-server,1.1.1.1
The only Dnsmasq options I have enabled are: "No DNS Rebind" and "Query DNS in Strice Order"
What do I need to do to make sure a single device on an isolated network has a seperate DNS?
Thanks for all the help. I figured out my problem after determining that the dnsmasq options were setup correctly. I should have paid closer attention to the syslog. Turns out I left a static mapping of the doorbell in the table so when I tried to set the IP with the dnsmaskq options, dnsmasq saw a duplicate entry and just fell over.
I appreciate that you guys were able to convince me my issues lay elsewhere.