Hello,
yesterday I installed Pi-hole via portainer with the following settings:
Image: pihole/pihole:latest
Ports published (left one is host, right one is docker port):
- 53:53 TCP
- 53:53 UDP
- 8090:80 TCP
Volumes (left one is host, right one is docker path): - /var/lib/docker/Containers/pi_hole_config/_data:/etc/pihole
- /var/lib/docker/Containers/pi_hole_dnsmasq/_data:/etc/dnsmasq.d
Env: - TZ: Europe/Berlin
- WEBPASSWORD: WonTTellU
Everything else stood as is initially is.
The docker logs for Pi-hole look as follows:
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service cron: starting
s6-rc: info: service cron successfully started
s6-rc: info: service _uid-gid-changer: starting
s6-rc: info: service _uid-gid-changer successfully started
s6-rc: info: service _startup: starting
[i] Starting docker specific checks & setup for docker pihole/pihole
[i] Setting capabilities on pihole-FTL where possible
[i] Applying the following caps to pihole-FTL:
* CAP_CHOWN
* CAP_NET_BIND_SERVICE
* CAP_NET_RAW
[i] Ensuring basic configuration by re-running select functions from basic-install.sh
[i] Installing configs from /etc/.pihole...
[i] Existing dnsmasq.conf found... it is not a Pi-hole file, leaving alone!
[i] Installing /etc/dnsmasq.d/01-pihole.conf...
[β] Installed /etc/dnsmasq.d/01-pihole.conf
[i] Installing /etc/.pihole/advanced/06-rfc6761.conf...
[β] Installed /etc/dnsmasq.d/06-rfc6761.conf
[i] Installing latest logrotate script...
[i] Existing logrotate file found. No changes made.
[i] Assigning password defined by Environment Variable
[β] New password set
[i] Added ENV to php:
"TZ" => "Europe/Berlin",
"PIHOLE_DOCKER_TAG" => "",
"PHP_ERROR_LOG" => "/var/log/lighttpd/error-pihole.log",
"CORS_HOSTS" => "",
"VIRTUAL_HOST" => "b02394b4e335",
[i] Using IPv4 and IPv6
[i] Installing latest Cron script...
[β] Installing latest Cron script
[i] setup_blocklists now setting default blocklists up:
[i] TIP: Use a docker volume for /etc/pihole/adlists.list if you want to customize for first boot
[i] Blocklists (/etc/pihole/adlists.list) now set to:
https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
[i] Existing DNS servers detected in setupVars.conf. Leaving them alone
[i] Applying pihole-FTL.conf setting LOCAL_IPV4=0.0.0.0
[i] FTL binding to default interface: eth0
[i] Enabling Query Logging
[i] Testing lighttpd config: Syntax OK
[i] All config checks passed, cleared for startup ...
[i] Docker start setup complete
[i] pihole-FTL (no-daemon) will be started as pihole
s6-rc: info: service _startup successfully started
s6-rc: info: service pihole-FTL: starting
s6-rc: info: service pihole-FTL successfully started
s6-rc: info: service lighttpd: starting
s6-rc: info: service lighttpd successfully started
s6-rc: info: service _postFTL: starting
s6-rc: info: service _postFTL successfully started
s6-rc: info: service legacy-services: starting
Checking if custom gravity.db is set in /etc/pihole/pihole-FTL.conf
s6-rc: info: service legacy-services successfully started
[i] Neutrino emissions detected...[β] Pulling blocklist source list into range
[i] Preparing new gravity database...
[β] Preparing new gravity database
[i] Creating new gravity databases...
[β] Creating new gravity databases
[i] Using libz compression
[i] Target: https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
[i] Status: Pending...
[β] Status: Retrieval successful[β] Parsed 136349 exact domains and 0 ABP-style domains (ignored 1 non-domain entries)
Sample of non-domain entries:
- "0.0.0.0"
[i] List has been updated
[i] Building tree...
[β] Building tree
[i] Swapping databases...
[β] Swapping databases
[β] The old database remains available
[i] Number of gravity domains: 136349 (136349 unique domains)
[i] Number of exact blacklisted domains: 0
[i] Number of regex blacklist filters: 0
[i] Number of exact whitelisted domains: 0
[i] Number of regex whitelist filters: 0
[i] Cleaning up stray matter...
[β] Cleaning up stray matter
[β] FTL is listening on port 53
[β] UDP (IPv4)
[β] TCP (IPv4)
[β] UDP (IPv6)
[β] TCP (IPv6)
[i] Pi-hole blocking will be enabled
[i] Enabling blocking[β] Pi-hole Enabled
Pi-hole version is v5.17.1 (Latest: v5.17.1)
AdminLTE version is v5.20.1 (Latest: v5.20.1)
FTL version is v5.23 (Latest: v5.23)
Container tag is: 2023.05.2
To me it looks everything was successfully installed. The admin section is running.
When I change my network interface settings on my windows laptop to use DNS 10.50.50.115 (which is the IP of my raspberry pi), I expected to see no advertisement on several pages. Nevertheless, I see advertisment and the Pi-hole dashboard shows me no Queries, Query Types, Upstream Servers,...
Could you please help me to get it work? When it works with my laptop's network interface, I'd like to add Pi-hole as the default DNS in my OpenWrt router, but for getting it running, I would stick to the current interface only.
Thanks and kind regards,
Peter