pi-hole/advanced/01-pihole.conf

51 lines
1.6 KiB
Text
Raw Normal View History

2016-01-30 20:12:40 +00:00
# Pi-hole: A black hole for Internet advertisements
# (c) 2017 Pi-hole, LLC (https://pi-hole.net)
# Network-wide ad blocking via your own hardware.
2016-01-30 20:12:40 +00:00
#
# Dnsmasq config for Pi-hole's FTLDNS
#
# This file is copyright under the latest version of the EUPL.
# Please see LICENSE file for your rights under this license.
2016-01-30 20:12:40 +00:00
###############################################################################
# FILE AUTOMATICALLY POPULATED BY PI-HOLE INSTALL/UPDATE PROCEDURE. #
# ANY CHANGES MADE TO THIS FILE AFTER INSTALL WILL BE LOST ON THE NEXT UPDATE #
# #
# IF YOU WISH TO CHANGE THE UPSTREAM SERVERS, CHANGE THEM IN: #
# /etc/pihole/setupVars.conf #
# #
# ANY OTHER CHANGES SHOULD BE MADE IN A SEPARATE CONFIG FILE #
# WITHIN /etc/dnsmasq.d/yourname.conf #
###############################################################################
2015-12-03 09:29:26 +00:00
addn-hosts=/etc/pihole/gravity.list
addn-hosts=/etc/pihole/black.list
addn-hosts=/etc/pihole/local.list
2015-12-03 09:29:26 +00:00
domain-needed
localise-queries
bogus-priv
2015-12-03 09:29:26 +00:00
no-resolv
2015-12-03 09:29:26 +00:00
server=@DNS1@
server=@DNS2@
2015-12-03 09:29:26 +00:00
2017-03-03 22:14:12 +00:00
interface=@INT@
cache-size=10000
2015-12-03 09:29:26 +00:00
log-queries
2015-07-29 11:20:39 +00:00
log-facility=/var/log/pihole.log
2015-12-03 09:29:26 +00:00
local-ttl=2
log-async
# If a DHCP client claims that its name is "wpad", ignore that.
# This fixes a security hole. see CERT Vulnerability VU#598349
dhcp-name-match=set:wpad-ignore,wpad
dhcp-ignore-names=tag:wpad-ignore