Blocking sub domains


#1

Hi,

is there any way to block sub domains by main domain?
like i found a page that creates a sub domain for their ads:

ddb3505cca209cd71f6584548bca069cf3a50b07.2.damoh.giga.de
180fc01d02b1b0bdbe89966da18dd20e12fcb4f8.2.damoh.giga.de

each time i visit their site it will change and load their ad.


#2

Hi there!

There is a stickied post on this in the FAQ section (It was in How-to section, thought I’ve just moved it because it gets asked quite frequently…)


#3

okay thanks for the link and have a nice day.


#4

This only works for blacklisting, not whitelisting… and it’s not an officially integrated part of Pi-hole, so it may not show the domains at blocked on the Admin page…

This is just something that is possible to do!


#5

aw something like this would be awesome
(regex support).