-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathadblock.conf-sample
More file actions
43 lines (32 loc) · 1.33 KB
/
adblock.conf-sample
File metadata and controls
43 lines (32 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Configuration for adblock
# path to bind configuration
NAMED_ETC="/var/named/etc"
# path to bind's adblock.conf
# touch it if installing adblock on a new system
NAMED_ADBLOCK_CONF=""
# path to adblock's zone file
ADBLOCK_ZONE_FILE=""
# command to restart named
NAMED_RESTART_CMD="rndc reload"
# for ip blocking, path to the file holding adserver ips
ADSERVERIPS="/etc/pf-tables/adservers"
# If dhclient exit hook is installed, the hook will skip local adblock and
# forward all queries to the nameservers in the below list.
# If another nameserver is active, the hook will route DNS queries through the
# local DNS serer.
#PASSTHROUGH_NAMESERVERS="10.0.0.1 10.1.0.1"
PASSTHROUGH_NAMESERVERS=""
# When connected to these wireless networks, pass through the original
# DNS servers.
#PASSTHROUGH_NAMESERVER_SSIDS="NetGear"
PASSTHROUGH_NAMESERVER_SSIDS=""
# When connected to these wireless networks, do not use the network's
# specified DNS server as forwarder.
#DIRECT_DNS_SSIDS="NetGear"
DIRECT_DNS_SSIDS=""
# export complete list of blocked zones to this file after adding new zones
DNSBLOCKLIST="/var/www/htdocs/dnsblocklist"
# create one file per blocked zone in this directory
DNSBLOCKLISTDIR="/var/dnsblocklist"
# add blocked sites to web repository as well
#WEB_REPOSITORY="http://adservers.your-site.com/add?user=adblock&password=sekrit&name="