Use the nslookup
tool on a client PC (Windows/Linux/MacOS) to test connectivity:
nslookup <DOMAIN> <DNS_SERVER_IP_ADDRESS>
Eg:
C:\>nslookup pi.hole
Server: ph5.dehakkelaar.nl
Address: 10.0.0.4
Name: pi.hole
Address: 10.0.0.4
C:\>nslookup pi.hole 8.8.8.8
Server: dns.google
Address: 8.8.8.8
*** dns.google can't find pi.hole: Non-existent domain
C:\>nslookup pi-hole.net 8.8.8.8
Server: dns.google
Address: 8.8.8.8
Non-authoritative answer:
Name: pi-hole.net
Address: 192.124.249.118
Maybe your router does rebind protection: