2016-01-30 21:12:40 +01: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 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 #
|
|
|
|
# #
|
|
|
|
# ANY OTHER CHANGES SHOULD BE MADE IN A SEPERATE CONFIG FILE #
|
|
|
|
# OR IN /etc/dnsmasq.conf #
|
2016-10-18 11:05:10 +02:00
|
|
|
###############################################################################
|
2015-12-03 10:29:26 +01:00
|
|
|
|
2016-10-25 15:54:10 +02:00
|
|
|
address=/pi.hole/@IPv4@
|
|
|
|
address=/pi.hole/@IPv6@
|
|
|
|
|
2016-10-25 16:03:49 +02:00
|
|
|
address=/@HOSTNAME@/@IPv4@
|
|
|
|
address=/@HOSTNAME@/@IPv6@
|
|
|
|
|
2016-10-18 11:05:10 +02:00
|
|
|
addn-hosts=/etc/pihole/gravity.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
|
|
|
|
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
|
|
|
|
2015-12-05 21:04:37 +01:00
|
|
|
interface=@INT@
|
2016-10-18 11:05:10 +02:00
|
|
|
|
2015-06-07 06:29:13 +02:00
|
|
|
cache-size=10000
|
2015-12-03 10:29:26 +01:00
|
|
|
|
2015-06-19 23:10:48 +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-06-19 23:10:48 +02:00
|
|
|
local-ttl=300
|
2015-12-05 21:14:34 +01:00
|
|
|
|
|
|
|
log-async
|