forked from olivier-mauras/dns-blackhole
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dns-blackhole.yml
34 lines (34 loc) · 1.37 KB
/
dns-blackhole.yml
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
dns-blackhole:
general:
whitelist:
blacklist:
blackhole_lists: &bh_lists
hosts: &bh_hosts
- https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
- http://someonewhocares.org/hosts/hosts
- https://hosts-file.net/download/hosts.txt
- http://winhelp2002.mvps.org/hosts.txt
- http://www.malwaredomainlist.com/hostslist/hosts.txt
- https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts;showintro=0
easylist: &bh_easylist
- https://easylist.to/easylist/easylist.txt
- https://raw.githubusercontent.com/paulgb/BarbBlock/master/BarbBlock.txt
disconnect: &bh_disconnect
url: https://services.disconnect.me/disconnect-plaintext.json
categories: # Advertising, Analytics, Disconnect, Social
- Advertising
- Analytics
- Disconnect
- Social
config:
zone_file: unbound-nxdomain.blacklist
zone_file_dir: './'
# {domain} will be replaced by the blackholed domain, do not change it here
zone_data: 'local-zone: "{domain}" always_nxdomain' # For Unbound
# zone_data: '{domain}=' # For PowerDNS recursor
# zone_data: 'server=/{domain}/' # For Dnsmasq
# blackhole_lists: *bh_lists
blackhole_lists:
hosts: *bh_hosts
prefix: "view:\nname: blacklistview\n" # Define the blacklist as Unbound view
suffix: