Simple DNS query test

I want a simple test that will enable me to test if the Pi-hole installation can get external lookups correctly (I am fiddling with Firewalls).

I am guessing dig is the tool, but can I force it to not pick up a cached response from Pi-hole?

You could set dnsmasq cache-size to 0 (this will prevent any caching, so best to restore it later) and restart dnsmasq (kill -HUP won't reread the config files).

2 Likes