That's DNS-level blocking and it won't work for long, being the kind of ad-blocking that's the easiest to circumvent. Companies simply didn't bother to do it.
But as a test, try blocking ads in any social app, like Facebook, TikTok, Twitter, Reddit, see how well it works.
[1] https://support.1blocker.com/en/articles/6436221-firewall-in...