T
T
Thug2015-11-25 23:44:00
Domain Name System
Thug, 2015-11-25 23:44:00

We cut ads centrally, how can we improve the scheme?

I implemented ad blocking at the DNS level. The question is who fights with ads, Raised SQUID I think how else can SQUID block ads
that are already there:
my script
wget winhelp2002.mvps.org/hosts.txt -O /etc/adblock
/etc/init.d/dnsmasq restart
script running service
/etc/systemd/system/adblock.service
[Unit]
Description=Download adblock list into /etc/adblock file
[Service]
Type=oneshot
ExecStart=/bin/bash /home/oleh/adblock.sh start
User=root
[ Install]
WantedBy=multi-user.target
timer
[Unit]
Description=automaticalu run adblocker
[Timer]
OnBootSec=10min
OnUnitActiveSec=100h
[Install]
WantedBy=multi-user.target
what else can I do?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikita Parfenovich, 2015-11-26
@Thug

Here is always a fresh list of regexps for Squid. Smoke the dstdom_regex directive

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question