Please follow the below template, it will help us to help you!
Pi-hole to pass google DNS server to machine with static ip reservation to bypass Pi-hole.
Can either get Pi-hole to pass google DNS to machine but it will allocate a random IP from my DHCP pool, or it can assign the correct static IP from the reservation but fails to pass google DNS and uses Pi-hole for DNS resolution.
Sorry, not got access to it at the moment.
Please note, this is similar to this thread Bypassing / Excluding IP address from Pi-Hole not working but that thread was closed before a resolution was added.
So basically, by using the 04-bypass.conf from this thread Things you can do with dnsmasq! I was able to send a client the google DNS server via the pi-hole’s built in DHCP. When it does this however, it fails to use the status reservation that I had earlier specified in the web settings. If I remove the entry from the 04-bypass.conf and restart the pihole-FTL service, then it will again correctly allocate the static reservation.
It seems I can do either a dns bypass, or a static reservation but not both?
Has anyone got the two working together or are they just mutually exclusive?
I know I can use another DHCP server somewhere and split them up that way, but i’m ideally trying to get them working on the same system.
I have done this previously on an Open-WRT based system using dnsmasq so I know it can be done, i’m just unsure if it can be done using pi-hole.