mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-12-25 06:10:20 +00:00
b88510d89a
* Update 01-pihole.conf Signed-off-by: DoubleOhmSeven <57564379+DoubleOhmSeven@users.noreply.github.com> * Update basic-install.sh Signed-off-by: DoubleOhmSeven <57564379+DoubleOhmSeven@users.noreply.github.com> Co-authored-by: DoubleOhmSeven <57564379+DoubleOhmSeven@users.noreply.github.com>
44 lines
1.4 KiB
Text
44 lines
1.4 KiB
Text
# 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.
|
|
#
|
|
# 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.
|
|
|
|
###############################################################################
|
|
# 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 #
|
|
###############################################################################
|
|
|
|
addn-hosts=/etc/pihole/local.list
|
|
addn-hosts=/etc/pihole/custom.list
|
|
|
|
domain-needed
|
|
|
|
localise-queries
|
|
|
|
bogus-priv
|
|
|
|
no-resolv
|
|
|
|
server=@DNS1@
|
|
server=@DNS2@
|
|
|
|
interface=@INT@
|
|
|
|
cache-size=@CACHE_SIZE@
|
|
|
|
log-queries
|
|
log-facility=/var/log/pihole.log
|
|
|
|
local-ttl=2
|
|
|
|
log-async
|