Am 07/15/15 um 23:09 schrieb Erling Westenvik:
> On Wed, Jul 15, 2015 at 08:25:03PM +0200, Stefan Wollny wrote:
>> Hi misc@!
>>
>> [Running i386/current: OpenBSD 5.8-beta (GENERIC.MP) #1026]
>>
>> I have been using adsuck for some time now - at least I thought so.
>> Today I dared to read /usr/local/share/doc/pkg-readmes/adsuck-2.5.0p
>> only to find out that apparently I need to add the following line to my
>> /etc/dhclient.conf:
>>     script "/usr/local/sbin/dhclient-adsuck";
>> because "this script will prevent from using /etc/resolv.conf to resolve
>> non-blacklisted entries but use /var/adsuck/files/resolv.conf instead."
> 
> I've given up on adsuck. In addition to being unusable in a DHCP
> environment, it proved useless anyway, making both firefox and chrome
> sessions crash all the time for no apparent reason.
> 
> Instead I'm using unbound(1) to block ads on both my gateway and on my
> roadwarriors. Check out unbound.conf(5) and its include: directive.
> Point it to a file with a two line format for each host/domain to
> block, similar to this:
> 
> local-zone: "adclick.com" redirect
> local-data: "adclick.com A 127.0.0.1"
> 
> (There's a script to convert yoyo.org's anti-spam list available over at
> Calomel, but I didn't say that out loud..)
> 
> Regards,
> 
> Erling
> 
Hi Erling,
thank's for the hint - will invest some time into 'unbound'.

How many entries for crap-sites do you have? My /etc/hosts has some 15k+
and the system doesn't really feel 'slow'.

Tonight I activated 'dnscrypt_proxy' pointing at OpenDNS. Maybe I am
just lucky at present but for a 'real-life' experience the speed seems
to be pretty good. But this needs some more observation to make a
statement...

Best,
STEFAN

Reply via email to