gaenserich / hostsblock

an ad- and malware-blocking script for Linux
https://github.com/gaenserich/hostsblock
225 stars 28 forks source link

[Conf file] question on default configuration #44

Closed tukoz closed 9 years ago

tukoz commented 9 years ago

Hi, in hostsblock.conf all DEFAULT settings are set for a NO DNS CACHER setup. But that one:

hostsfile="/etc/hosts.block"  # For use with a dnscacher, e.g dnsmasq

Of course unless I'm wrong. Please enlight me.

Sadi58 commented 9 years ago

Lines 17 & 18 here in github:

#hostsfile="/etc/hosts.block" # For use with a dnscacher, e.g dnsmasq
hostsfile="/etc/hosts" # DEFAULT. If not using a dns caching daemon
tukoz commented 9 years ago

Oops, my mistake I meant the

HEAD FILE
hostshead="0" # DEFAULT
#hostshead="/etc/hostsblock/hosts.head" # If not using dns caching.
Sadi58 commented 9 years ago

It seems you're right. I've never noticed this as I use DNS caching.

tukoz commented 9 years ago

Made me scratch my hair a bit. Alright then.