Add Static DHCP Option to Allow Specific Clients to Bypass Pi-hole

I have a few devices on my network that do not function properly while using the Pi-hole for DNS. These devices do not allow manual IP configuration. I've tried using the Whitelist to no avail.
It would be nice to be able to set an alternate DNS server per device via the Pi-hole static DHCP options.

This feature does exist, but not as a web GUI option. The entries are made in a dnsmasq configuration file as described here:

Thanks jfb, that did the trick, and thanks to deathbybandaid for his hard work.

Hello,

in the syntax what is the "6"

for example :
dhcp-option = tag: googlesdns1, "6", 8.8.8.8.8

it works perfectly with the "6".

if I do not put the "6" it does not work

I want to understand.

sorry for my little english i'm french

Here is the documentation on dnsmasq config options: http://www.thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html

A post was split to a new topic: Allow temporarily disabling Pi-Hole by device

I'm closing this FR.

The part "Allow Specific Clients to Bypass Pi-hole" is possible since v5.0 with the introduction of the group management function.


For the part:

Please vote for one of the following FR that best suits your needs: