No internet on OSMC after installing Pi-hole (also using the Pi-hole as DHCP server)

PiHole and OSMC do not sit well together, as you’ve found. The “only for a few seconds” problem is very likely to do with connman and dhcpcd battling for control of your system.

The bottom line is that you should place PiHole on another device.