Blocking sub domains

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.

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...)

https://discourse.pi-hole.net/t/how-do-i-add-wildcard-sites-to-the-blacklist/337

1 Like

okay thanks for the link and have a nice day.

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!

1 Like

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