Strange, I do that at my webbrowser without requiring any DNS manipulation and/or other administrative tasks, without clooging the logfile of my webserver running at 127.0.0.1, and due to regular expressions it's surely more effective. Even further, other applications are not influenced.
BTW, it doesn't work well for ads for the same reason why it doesn't work for malware: DNS wildcards.