No internet when DHCP is turned on

The debug log shows an error when querying (for) the gateway.

See this topic for additional info: Why is a default gateway important for Pi-hole?