Hi guys I'm playing around with RegEx to check out it's possibilities.
In case i wanna block everything from "tiktok" I added "tiktok.com" into the blacklist - RegEx-filter on the web interface. After that I upgraded the Gravity List but I could still open "tiktok.com".
So I looked at the RegEx blocking documentation and found the option to reload the new filters with "pihole restartdns reload-lists" and "sudo service pihole-FTL restart". But after all it doesn't work until I waited approx. 5min. Suddenly the changes have been accepted and "tiktok.com" is now blocked.
Can you tell me why updating gravity and service reloading doesn't work immediately?
it's because applications like a browser, but also the operating system, have their own DNS cache. Blocking only takes effect when entries (their TTL) in the cache have expired.
A possible workaround could be to close the browser or to clear its cache.