mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-12-03 19:43:17 +00:00
300001e766
Since we declare an `interface` `dnsmasq` should ignore the `listen-address` directive thus making redundant. Removed.
49 lines
1.5 KiB
Text
49 lines
1.5 KiB
Text
# Pi-hole: A black hole for Internet advertisements
|
|
# (c) 2015, 2016 by Jacob Salmela
|
|
# Network-wide ad blocking via your Raspberry Pi
|
|
# http://pi-hole.net
|
|
# dnsmasq config for Pi-hole
|
|
#
|
|
# Pi-hole is free software: you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation, either version 2 of the License, or
|
|
# (at your option) any later version.
|
|
|
|
###############################################################################
|
|
# 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 SEPERATE CONFIG FILE #
|
|
# OR IN /etc/dnsmasq.conf #
|
|
###############################################################################
|
|
|
|
address=/pi.hole/@IPv4@
|
|
address=/pi.hole/@IPv6@
|
|
|
|
address=/@HOSTNAME@/@IPv4@
|
|
address=/@HOSTNAME@/@IPv6@
|
|
|
|
addn-hosts=/etc/pihole/gravity.list
|
|
|
|
domain-needed
|
|
|
|
bogus-priv
|
|
|
|
no-resolv
|
|
|
|
server=@DNS1@
|
|
server=@DNS2@
|
|
|
|
interface=@INT@
|
|
|
|
cache-size=10000
|
|
|
|
log-queries
|
|
log-facility=/var/log/pihole.log
|
|
|
|
local-ttl=300
|
|
|
|
log-async
|