| giolekva | 24616af | 2020-05-07 10:23:22 +0400 | [diff] [blame^] | 1 | # Pi-hole: A black hole for Internet advertisements |
| 2 | # (c) 2017 Pi-hole, LLC (https://pi-hole.net) |
| 3 | # Network-wide ad blocking via your own hardware. |
| 4 | # |
| 5 | # Dnsmasq config for Pi-hole's FTLDNS |
| 6 | # |
| 7 | # This file is copyright under the latest version of the EUPL. |
| 8 | # Please see LICENSE file for your rights under this license. |
| 9 | |
| 10 | ############################################################################### |
| 11 | # FILE AUTOMATICALLY POPULATED BY PI-HOLE INSTALL/UPDATE PROCEDURE. # |
| 12 | # ANY CHANGES MADE TO THIS FILE AFTER INSTALL WILL BE LOST ON THE NEXT UPDATE # |
| 13 | # # |
| 14 | # IF YOU WISH TO CHANGE THE UPSTREAM SERVERS, CHANGE THEM IN: # |
| 15 | # /etc/pihole/setupVars.conf # |
| 16 | # # |
| 17 | # ANY OTHER CHANGES SHOULD BE MADE IN A SEPARATE CONFIG FILE # |
| 18 | # WITHIN /etc/dnsmasq.d/yourname.conf # |
| 19 | ############################################################################### |
| 20 | |
| 21 | addn-hosts=/etc/pihole/gravity.list |
| 22 | addn-hosts=/etc/pihole/black.list |
| 23 | addn-hosts=/etc/pihole/local.list |
| 24 | |
| 25 | |
| 26 | localise-queries |
| 27 | |
| 28 | |
| 29 | no-resolv |
| 30 | |
| 31 | |
| 32 | |
| 33 | cache-size=10000 |
| 34 | |
| 35 | log-queries |
| 36 | log-facility=/var/log/pihole.log |
| 37 | |
| 38 | local-ttl=2 |
| 39 | |
| 40 | log-async |
| 41 | server=8.8.8.8 |
| 42 | server=8.8.4.4 |
| 43 | interface=eth0 |
| 44 | server=/use-application-dns.net/ |