Containerized Pihole times out then resolves

I have a fresh install of PiHole running in a container on a Mikrotik RB5009 router. It seems to resolve things fine but it is slow. Every resolution times out and then resolves:

Server: pi.hole

DNS request timed out.
timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.
Non-authoritative answer:
Addresses: 2607:f8b0:4009:804::200e

My LAN is on and the container bridge in the router is I can ping the PiHole's gateway ( just fine, though the debug log says it can't ping the gateway. The log also says that the container doesn't have an IP address but I think that's because in Mikrotik's implementation you just assign the address to the network interface bound to the container.

Debug log:

Thanks for any ideas

UPDATE: unchecking the "conditional forwarding" to the DHCP server seems to have fixed it. But I don't know why - can anyone explain? It should only forward requests to the router for domains ending in my LAN domain name (which is ".elbonia"), and something like "" clearly isn't.

What's the result of the following command:


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