2016-01-30 20:12:40 +00:00
|
|
|
# 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.
|
|
|
|
|
2016-10-18 09:05:10 +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 #
|
|
|
|
###############################################################################
|
2015-12-03 09:29:26 +00:00
|
|
|
|
2016-10-18 09:05:10 +00:00
|
|
|
addn-hosts=/etc/pihole/gravity.list
|
2015-12-03 09:29:26 +00:00
|
|
|
|
2015-06-07 04:29:13 +00:00
|
|
|
domain-needed
|
2016-10-18 09:05:10 +00:00
|
|
|
|
2015-06-07 04:29:13 +00:00
|
|
|
bogus-priv
|
2015-12-03 09:29:26 +00:00
|
|
|
|
2015-06-07 04:29:13 +00:00
|
|
|
no-resolv
|
2015-12-03 09:29:26 +00:00
|
|
|
|
2016-01-25 05:05:17 +00:00
|
|
|
server=@DNS1@
|
|
|
|
server=@DNS2@
|
2015-12-03 09:29:26 +00:00
|
|
|
|
2015-12-05 20:04:37 +00:00
|
|
|
interface=@INT@
|
2016-10-18 09:05:10 +00:00
|
|
|
|
2015-06-07 04:29:13 +00:00
|
|
|
listen-address=127.0.0.1
|
2015-12-03 09:29:26 +00:00
|
|
|
|
2015-06-07 04:29:13 +00:00
|
|
|
cache-size=10000
|
2015-12-03 09:29:26 +00:00
|
|
|
|
2015-06-19 21:10:48 +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
|
|
|
|
2015-06-19 21:10:48 +00:00
|
|
|
local-ttl=300
|
2015-12-05 20:14:34 +00:00
|
|
|
|
|
|
|
log-async
|