Your other devices need to reference your new Pihole as their DNS provider
If you just set it, the lease in your client devices likely hasn’t expired yet
edit: re-read your post before coffee
The Pi-hole® is a DNS sinkhole that protects your devices from unwanted content without installing any client-side software.
Your other devices need to reference your new Pihole as their DNS provider
If you just set it, the lease in your client devices likely hasn’t expired yet
edit: re-read your post before coffee
First, are you sure your Pi-hole's DNS is exposed at port 53 and accepts traffic? Try using dig from another device to see whether it works or not
dig +short @192.168.0.175 allowed-domain.tld
dig +short @192.168.0.175 blocked-domain.tld
If Pi-hole works, you should get 0.0.0.0 as an answer for any blocked domains.
my phone and other devices on my network could still visit the site
Have you tried disconnecting and reconnecting to the network in order to make sure these devices get new DHCP leases? Once it's done, which DNS servers do they say they use? Also make sure your phone and computer's browser aren't using DNS-over-HTTPS or DNS-over-TLS (I know Firefox use Cloudflare's DNS-over-HTTPS by default in some setups)
are you sure your Pi-hole’s DNS is exposed at port 53 and accepts traffic?
I think this is where I went wrong. dig shows that the connection times out. This may also explain why forcing clients to use that for DNS would cause them to lose internet access. Although I thought that port would be open because it's listed in the yaml file for docker-compose. Is there another step I need to open that from the host machine?
Thanks! It's working now. I just had to open port 53 on the host (not just the docker container).