Use Conditional Forwarding Unifi VLANS

The issue I am facing:

I check the box "use conditional forwarding" in order that pihole will show me the name of the client instead their IP adresses. Unfortuantily, I have more DHCP servers beacause of using vlans. But I can only name one dhcp server at a time. Is there a solution/workaround to ask more than one DHCP for the name-resulotion ?

Details about my system:

I use pihole on a raspi 4 into a docker container. A udmp is installed as my router running different vlans. Every vlan - and the mgmt-lan - use my pihole as the DNS server.

What I have changed since installing Pi-hole:

nothing

Create an additional config file in /etc/dnsmasq.d/ and add rev-server= lines as you need.
https://thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html

Have a look in /etc/dnsmasq.d/01-pihole.conf for the syntax.

Restart Pi-hole by pihole restartdns

Thanks a lot! That works perfect for me and it was ez :slight_smile: