2016-01-30 21:12:40 +01:00
|
|
|
# Pi-hole: A black hole for Internet advertisements
|
2018-10-17 02:01:28 +02:00
|
|
|
# (c) 2017 Pi-hole, LLC (https://pi-hole.net)
|
|
|
|
# Network-wide ad blocking via your own hardware.
|
2016-01-30 21:12:40 +01:00
|
|
|
#
|
2018-10-17 02:01:28 +02: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 21:12:40 +01:00
|
|
|
|
2016-10-18 11:05:10 +02: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 #
|
2016-10-18 11:34:05 +02:00
|
|
|
# #
|
|
|
|
# IF YOU WISH TO CHANGE THE UPSTREAM SERVERS, CHANGE THEM IN: #
|
|
|
|
# /etc/pihole/setupVars.conf #
|
|
|
|
# #
|
2018-10-17 02:01:28 +02:00
|
|
|
# ANY OTHER CHANGES SHOULD BE MADE IN A SEPARATE CONFIG FILE #
|
|
|
|
# WITHIN /etc/dnsmasq.d/yourname.conf #
|
2016-10-18 11:05:10 +02:00
|
|
|
###############################################################################
|
2015-12-03 10:29:26 +01:00
|
|
|
|
2017-06-25 18:18:09 +02:00
|
|
|
addn-hosts=/etc/pihole/local.list
|
2019-10-27 02:09:29 +02:00
|
|
|
addn-hosts=/etc/pihole/custom.list
|
2015-12-03 10:29:26 +01:00
|
|
|
|
2015-06-07 06:29:13 +02:00
|
|
|
domain-needed
|
2016-10-18 11:05:10 +02:00
|
|
|
|
2017-04-30 13:47:07 +02:00
|
|
|
localise-queries
|
|
|
|
|
2015-06-07 06:29:13 +02:00
|
|
|
bogus-priv
|
2015-12-03 10:29:26 +01:00
|
|
|
|
2015-06-07 06:29:13 +02:00
|
|
|
no-resolv
|
2015-12-03 10:29:26 +01:00
|
|
|
|
2016-01-25 06:05:17 +01:00
|
|
|
server=@DNS1@
|
|
|
|
server=@DNS2@
|
2015-12-03 10:29:26 +01:00
|
|
|
|
2017-03-03 23:14:12 +01:00
|
|
|
interface=@INT@
|
|
|
|
|
2020-09-17 23:13:40 +02:00
|
|
|
cache-size=@CACHE_SIZE@
|
2015-12-03 10:29:26 +01:00
|
|
|
|
2018-08-20 23:11:23 +02:00
|
|
|
log-queries
|
2015-07-29 13:20:39 +02:00
|
|
|
log-facility=/var/log/pihole.log
|
2015-12-03 10:29:26 +01:00
|
|
|
|
2015-12-05 21:14:34 +01:00
|
|
|
log-async
|