block ip address range

Hello, is it possible to block an ip range in my dns, for example: 10.10.0.1/22, all this block not query my DNS?

Why are devices you don't want use your Pi-hole at all?

I'm define this ip range for blocked clients that should not have access to the Internet, for this reason I wanted to block this ranger so that they do not send requests to the DNS server

If they use Pi-hole as DNS server (e.g. you distribute Pi-hole's IP as DNS server via DHCP) they will continue to send queries to Pi-hole.

However, you can block DNS resolution for them via the Group Management. Define a new group for those devices and add a new client as 10.10.0.1/22 to this group only. Then assign an all blocking regex to this group.

1 Like

Right, they just query the DNS requests on the PIHOLE, the DHCP delivery is done by another device

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