I can't figure out how to block a website with ip as domain

Expected Behaviour:

I found this website https://134.209.250.149/_it/ that I would like to block, I added it to the domain list


I thought this would then block that website

Actual Behaviour:

But after adding that I tried navigating to that website, and it wasn't blocked

Debug Token:

(https://tricorder.pi-hole.net/SqqPB64Y/)

Will not work. If a browser receives a URL with only an IP address, it will not ask a DNS server, because it already has the IP.

If you want to block IPs than you have to do that with a firewall.

1 Like

Just complementing the correct answer:

Pi-hole is a DNS server.

A DNS server translates a domain into an IP. It is only involved when you use domains.
If you use an IP, there is no need to translate and Pi-hole will never receive a query.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.