In case, MTs DNS is flexible enough, and you are happy with "brutal" blockage of ads, you can create
something like this:
......
zone "pagead2.googleadservices.com" { type master; notify no; file "/etc/null_zone"; };
zone "
www.google-analytics.com" { type master; notify no; file "/etc/null_zone"; };
.....
null_zone:
; NULL Zone File for Ad Servers
;
$TTL 36000
@ in soa localhost. postmaster.localhost. (
2002110101 ;serial
3600 ;refresh
1800 ;retry
604800 ;expiration
3600 ) ;minimum
;
; Zone NS records
;
@ NS localhost.
A 127.0.0.1
* IN A 127.0.0.1
Or use squid-proxy (transparent) on a small PC running linux, which also might be part of your network. Caching is additional benefit.