diff options
| author | pants <niklasjo2004@gmail.com> | 2026-09-21 14:17:15 -0700 |
|---|---|---|
| committer | pants <niklasjo2004@gmail.com> | 2026-09-21 14:17:15 -0700 |
| commit | 3813621611945a0be23384c0c4d395b4c4a614ad (patch) | |
| tree | 1812fd440839272e7dd16f5635e180769a66f5f1 /docker-compose-main/pihole/etc-dnsmasq.d/01-pihole.conf | |
Diffstat (limited to 'docker-compose-main/pihole/etc-dnsmasq.d/01-pihole.conf')
| -rw-r--r-- | docker-compose-main/pihole/etc-dnsmasq.d/01-pihole.conf | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/docker-compose-main/pihole/etc-dnsmasq.d/01-pihole.conf b/docker-compose-main/pihole/etc-dnsmasq.d/01-pihole.conf new file mode 100644 index 0000000..33271c2 --- /dev/null +++ b/docker-compose-main/pihole/etc-dnsmasq.d/01-pihole.conf @@ -0,0 +1,37 @@ +# 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 + + +localise-queries + + +no-resolv + +log-queries +log-facility=/var/log/pihole/pihole.log + +log-async +cache-size=10000 +server=8.8.8.8 +server=8.8.4.4 +interface=eth0 |
