homeserver/friedhof/mgrote_dnsmasq_adblocker/defaults/main.yml

42 lines
1.4 KiB
YAML
Raw Permalink Normal View History

---
# Welche DNS-Server soll dnsmasq anfragen?
dnsmasq_resolver:
- 9.9.9.9
- 1.1.1.1
# Soll dnsmasq alle Anfragen loggen?
dnsmasq_log_queries: false
# Wohin soll das Log geschrieben werden?
dnsmasq_logfile: /var/log/dnsmasq.log
# Welche BLocklisten sollen verwendet werden?
dnsmasq_blocklists:
- name: sysctl.org
state: present
url: http://sysctl.org/cameleon/hosts
- name: StevenBlack.1
state: present
url: https://raw.githubusercontent.com/StevenBlack/hosts/master/data/KADhosts/hosts
- name: StevenBlack.2
state: present
url: https://raw.githubusercontent.com/StevenBlack/hosts/master/data/add.Spam/hosts
- name: adaway.org
state: present
url: https://adaway.org/hosts.txt
- name: StevenBlack.3
state: present
url: https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
- name: developerdan.1
state: present
url: https://www.github.developerdan.com/hosts/lists/ads-and-tracking-extended.txt
- name: developerdan.2
state: present
url: https://www.github.developerdan.com/hosts/lists/amp-hosts-extended.txt
# Wie groß soll der Cache sein?
dnsmasq_cache_size: 10000
# Auf welchem Port soll dnsmasq laufen?
dnsmasq_port: 53
# User und Gruppe für dnsmasq
dnsmasq_user_group: dnsmasq
dnsmasq_user: dnsmasq
# Which domain should never be forwarded tor the "dnsmasq_resolvers"
dnsmasq_never_forward_domain: local.lan