diff options
| author | pants <niklasjo2004@gmail.com> | 2026-09-21 14:17:45 -0700 |
|---|---|---|
| committer | pants <niklasjo2004@gmail.com> | 2026-09-21 14:17:45 -0700 |
| commit | a33d49ac4d1ce554c72770927957a089b4023bf1 (patch) | |
| tree | 17ea036b5a0e8b488dc236f0ce48a275ecd80ef8 /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 |
