When an app or site breaks behind a Pi-hole, I want to know what the client actually got back. Asking the Pi-hole directly with dig answers that in a second.
dig @192.0.2.53 doubleclick.net A +noall +answer
dig @192.0.2.53 doubleclick.net AAAA +noall +answer
Replace 192.0.2.53 with your Pi-hole’s address. In the default blocking mode, called NULL, a blocked name comes back as doubleclick.net. 2 IN A 0.0.0.0 and :: for AAAA. The TTL of 2 seconds is short on purpose, so an unblock takes effect quickly. A normal public address in the answer means Pi-hole let the query through.
The answer depends on the blocking mode in FTL’s settings. With NXDOMAIN mode you get status NXDOMAIN and no records, and other modes return the Pi-hole’s own IP or an empty NODATA answer. If the result does not match the mode you think you set, that is worth knowing too.
Run the same query against a public resolver like @9.9.9.9 to compare. And if dig without @ shows a real address on a machine where you expect blocking, that machine is not using the Pi-hole at all, perhaps because of DoH in the browser or a second DNS server in DHCP. To find which list blocks the name, pihole -q on the Pi-hole itself is the faster tool.
Further reading: Pi-hole docs: blocking mode, dig manual (BIND 9)
Going deeper: Guide: dig for beginners, look up DNS records and read the answer