This is a difficult challenge with a DNS ad blocker like Pi-Hole. Here is a very lengthy thread on this topic: