Don't use primary/secondary DNS or a backup DNS. That's why things randomly work, sometimes you are using the Pi-hole and sometimes you are using Google.
Reduced Ad Blocking Capability
The main reason you should Pi-hole as your only DNS server is that you will see increased performance in the blocking of ads.
If you have two DNS servers (Pi-hole and something else), your network clients may not always query Pi-hole for name resolution. If a query happens to be answered from a non-Pi-hole DNS server, your block lists will not apply (since that DNS server doesn't know about them).
All Queries Need To Go Through Pi-hole First
Since other DNS serv…