Dnsmasq custom configurations

Expected Behaviour:

Trying to use a custom dnsmasq configuration to push my second pi-hole setup to specific clients only. I'm using the following "05-bypass.conf" file to test this out.:

## The contents here bypass pihole by mac address

## This will send Pihole-Heavy DNS IP.
dhcp-option=tag:piholehvy,6,192.168.26.19

## Other tags removed to make the log smaller

########################################################################

## Instructions
## First set your tag, and dns server.
## dhcp-option=tag:YOURTAGHERE,6,IPADDRESSOFDNSSERVER
## You then simply need to replace MA:CA:DD:R:ES:SS
## I have set up the standard DNS servertags above.
## Below are examples of how to set a mac address to bypass pihole.

## Your Device that goes to Google DNS
#dhcp-host=MA:CA:DD:R:ES:SS,set:googlesdns1

## Your Device that goes to OpenDNS
#dhcp-host=MA:CA:DD:R:ES:SS,set:opendns1

## JakePhone
dhcp-host=AC:5F:3E:28:41:F9,set:piholehvy,JakePhone

## Roku - MediaRunner
dhcp-host=AC:3A:7A:0D:6B:15,set:piholehvy,Roku

## Smart Things Hub
dhcp-host=28:6D:97:73:F5:CD,set:piholehvy,STHubv3

## Jake Desktop
dhcp-host=62:89:D4:CF:25:A0,set:piholehvy,JakeW10

Actual Behaviour:

Nothing happens nor do any of the new DNS server settings get pushed to the clients. I've tried a few different suggestions to make it work but in the end the syntax tests out good but never goes in to play or sent to any of the clients.

I am running the Pi-Hole as my DHCP server as well. I was able to accomplish this through my router and dnsmasq set there but here something is different.

Debug Token:

https://tricorder.pi-hole.net/euwfz8c770

What is the full path to this file?

/etc/dnsmasq.d/05-bypass.conf

Turns out there isn't anything wrong with it at all. I was also wanting to set a static IP address with these clients as well. Setting the static IP in the webui and not in this dsnmasq config file is the wrong way to go. I need to include the static assignment into the config file for it to all work out. Otherwise without assigning static addresses, this config file works perfectly.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.