2024.03.24 22:29 hopefully_unique Pihole in docker cannot update Gravity (DNS resolution is not available)
2024.03.24 21:16 hopefully_unique Cannot update Gravity (DNS resolution is not available)
2024.01.09 19:11 Local_Ad7792 pihole docker doesn't want to start
2023.11.13 16:11 luciano_mr Proxmox benefits over Ubuntu server bare metal
Hello submitted by luciano_mr to homelab [link] [comments] I've seen many videos and posts that mentions the usage of Proxmox in their homelab setup, and I've been wanting to try it. I have two servers running at my homelab: an OrangePi 5 for HA AdGuard, Omada Controller, HomeAssistant; a Dell Inspiron 3268 repurposed as a server. The latter is which I'm considering Promox. What is the server config?
What is the server currently run and what is used for? (see outputs below)
Why I'm considering Proxmox :
I did install Proxmox but think I used it wrong or was unable to realize all the benefits:
Given my opportunities and challenges, what you would all suggest for me? Keep running on baremetal as is or change to Proxmox? me@jupiter:~$ lsblk -o MODEL,SERIAL,SIZE,STATE --nodeps MODEL SERIAL SIZE STATE 73.9M 152.1M 40.9M CT250MX500SSD1 2219E6302473 232.9G running P3-1TB 0010159006480 953.9G running P3-1TB 0010159006489 953.9G running NX-2TB 2280 0010174003295 1.9T live me@jupiter:~$ zfs list NAME USED AVAIL REFER MOUNTPOINT backup-pool 291G 631G 26K /backup-pool backup-pool/computers 121G 631G 121G /backup-pool/computers backup-pool/documents 24K 631G 24K /backup-pool/documents backup-pool/photos 166G 631G 166G /backup-pool/photos backup-pool/servers 4.36G 631G 4.36G /backup-pool/servers data-pool 520G 1.29T 26K /data-pool data-pool/apps 6.90G 1.29T 6.90G /data-pool/apps data-pool/home 27.6G 1.29T 27.6G /home data-pool/media 486G 1.29T 486G /data-pool/media me@jupiter:~$ docker ps --format "table {{.ID}}\t{{.Image}}\t{{.Size}}" CONTAINER ID IMAGE SIZE 46ffbe41beee ghcr.io/flaresolverflaresolverr:latest 16.1MB (virtual 618MB) 9c6eb995b729 lscr.io/linuxservejackett:latest 106MB (virtual 277MB) ffe5ccd4aae1 portaineportainer-ce:latest 0B (virtual 294MB) b28afe33a106 lscr.io/linuxserveradarr:latest 23.6kB (virtual 196MB) 0f7744daf9d6 lscr.io/linuxservesonarr:latest 35.6MB (virtual 335MB) 574c625933b1 binhex/arch-delugevpn:latest 16.5MB (virtual 1.29GB) 8a7f84e40f84 lscr.io/linuxserveplex:latest 24.3kB (virtual 340MB) 37e8580600ef lscr.io/linuxservebazarr:latest 23.2kB (virtual 422MB)Picture of the rack.. very cheap 8U rack, depth is just 350mm in depth. GPON and ER-605 at the top. Unloaded patch panel, TL-SG2210MP switch, orange pi 5, Dell server https://preview.redd.it/dxtgq5czp40c1.png?width=1063&format=png&auto=webp&s=5f82cd6d88fcdebc733ff40150c14ea04fe4c8d9 |
2023.10.24 16:04 iTim314 DataTables warning on most pages when behind Nginx proxy
DataTables warning: table id=customDNSTable - Invalid JSON response. For more information about this error, please see http://datatables.net/tn/1In searching for a solution, I read a lot of suggestions to clear my browser cache. This did not work, and the issue exists in a brand new browser having never visited the Pi-Hole admin console.
setenv.add-environment = ( "VIRTUAL_HOST" => "pihole.mydomain.foo" )But this also did not work. No change.
2023.10.14 16:00 beautifulmind8494 Top 5 Alternatives To Apache HTTP Server on Linux
Top 5 Alternatives To Apache HTTP Server on Linuxhttps://preview.redd.it/z1u9qx9va6ub1.png?width=696&format=png&auto=webp&s=62ca2dfc1c9a84b2b682c9d88b4a438e593db650 In this guide, we want to discuss on Top 5 Alternatives To Apache HTTP Server on Linux. As you must know, Apache is the most popular web server in the world of Linux. Apache is a free and open-source web server and it also has amazing features that make it a popular web server including:
Discuss Top 5 Alternatives To Apache HTTP Server on LinuxIf you are looking for alternatives and similar Apps like Apache on Linux, you can follow the steps below to get familiar with the top 5 web servers that you can use instead of Apache on Linux.Number 1 – Nginx HTTP Server – Top Alternative To Apache HTTP ServerThe best alternative to Apache is Nginx. Nginx is a free, lightweight, portable, and open-source HTTP and Reverse proxy server. Also, it can be used for caching, load balancing media streaming, and more. It is a popular web server for its high performance and stability. Nginx is as highly configurable as Apache, but it consumes fewer resources. https://preview.redd.it/ovr1tyl1b6ub1.png?width=1024&format=png&auto=webp&s=408c57afcd7a445188c9461b929ece86c9576e41 Nginx can be easily installed and configured on Linux distributions. You can configure it as a reverse proxy, load balancing, caching, and more. To get Nginx guides and configurations, you can visit the Nginx Webserver Tutorials. Number 2 – Caddy Web ServerAnother alternative to Apache is the Caddy web server. It is an open-source and HTTP/2 web server that is written in Go. Caddy is a simple, efficient, and portable web server. Also, it aims to be easy to use and automatic SSL using Let’s Encrypt.Most Linux users think that Caddy is a great alternative server to Apache. Because it consumes fewer device resources compared to similar apps, can be used from a USB stick or similar with no prior installation, and supports MarkDown for document formatting. Nginx can be easily installed and configured on Linux distributions. You can configure it as a reverse proxy, load balancing, caching, and more. To get Nginx guides and configurations, you can visit the Nginx Webserver Tutorials. Number 2 – Caddy Web ServerAnother alternative to Apache is the Caddy web server. It is an open-source and HTTP/2 web server that is written in Go. Caddy is a simple, efficient, and portable web server. Also, it aims to be easy to use and automatic SSL using Let’s Encrypt.Most Linux users think that Caddy is a great alternative server to Apache. Because it consumes fewer device resources compared to similar apps, can be used from a USB stick or similar with no prior installation, and supports MarkDown for document formatting. https://preview.redd.it/lllkgcjab6ub1.png?width=1024&format=png&auto=webp&s=059cc7f1e77960151c285849e446029131de95f2 Caddy has a very simple installation on Linux distros. As an example, Debian 12 Bookworm is the new version of Debian, you can see the Caddy installation steps and configurations on this distro with the following guide: Install Caddy Web Server on Debian 12 Number 3 – Lighttpd Web ServerLighttpd is a secure, fast, and flexible web server that can be an alternative to Apache. It is designed to be a lightweight web server. It can support many things that you want in a web server including:
https://preview.redd.it/486g6mjfb6ub1.png?width=1024&format=png&auto=webp&s=78cbaf50a39ebe376d37fc5007c8f6a69173641a Also, Lighttpd can be installed and configured easily on Linux distros. As an example, you can check the installation guide on an Ubuntu server by visiting this guide on Install and Configure Lighttpd on Ubuntu 22.04. Number 4 – OpenLiteSpeed HTTP Server on LinuxOpenLiteSpeed is one of the top 5 web servers in Linux. It is an open-source, high-performance, and lightweight HTTP server. Also, it has a user-friendly web interface with many features that are a good choice for web hosting.Compared to Apache, it offers unique strengths such as excellent performance, scalability, and user-friendly configuration. It is free to download, use, and modify. Also, its web admin console features make it a good alternative to Apache. These features include:
https://preview.redd.it/67zfgoxkb6ub1.png?width=1024&format=png&auto=webp&s=1bbcd173e7cc7d2acdbdc5876d0e7806df10e10e Like the other web servers, it can be easily installed and configured. As an example, you can visit the installation guide and access the admin console on AlmaLinux 9 by visiting this guide on Install OpenLiteSpeed on AlmaLinux 9. Number 5 – LiteSpeed Web ServerAs described on the official LiteSpeed site, it is a high-performance Apache drop-in replacement. It can be a good alternative to the Apache HTTP server. LiteSpeed has all popular Apache features. Also, it can interact with many control panels such as cPanel, Plesk, DirectAdmin, and more. For example, you can easily install LiteSpeed on DirectAdmin and cPanel by visiting the following guides:Install LiteSpeed on DirectAdmin Set up LiteSpeed in cPanel and WHM With LiteSpeed, you can improve your server performance and decrease your costs. https://preview.redd.it/nw06517qb6ub1.png?width=1024&format=png&auto=webp&s=ccd62bb730788b2078e8a8116deb6f614893c1c5 What is the most commonly used web server on Linux systems?There are many useful web servers that you can use on your Linux distros. But Nginx and Apache are the two most used web servers worldwide.What is the alternative to the Apache server?As you know there are so many servers that you can use instead of Apache. The most widely used web servers include Nginx, Caddy, Lighttpd, OpenLiteSpeed, and LiteSpeed.ConclusionAt this point, you have learned that you can use so many web servers instead of Apache. Here we show you the Top 5 Alternatives To Apache HTTP Server on Linux Distributions. Each of them has unique features that you can use according to your needs.So what do you think? Which one will you choose? Do you know a better web server? Please comment for us and share your opinions. |
2023.08.12 16:27 weendigo666 Pihole container on RB5009 extremely slow with very low CPU load
/container mounts add dst=/etc/pihole name=etc_pihole src=/usb1/mounts/pihole/etc add dst=/etc/dnsmasq.d name=dnsmasq_pihole src=/usb1/mounts/pihole/dnsmasq.d /container add envlist=pihole_envs interface=veth1-pihole logging=yes mounts=etc_pihole,dnsmasq_pihole root-dir=usb1/pihole start-on-boot=yes /container config set ram-high=512 registry-url=https://registry-1.docker.io tmpdir=usb1/pull /container envs add key=WEBPASSWORD name=pihole_envs value=mysecurepassword add key=DNSMASQ_USER name=pihole_envs value=root add key=TZ name=pihole_envs value=Europe/Prague add key=PIHOLE_DOCKER_TAG name=pihole_envs value=latesExample log:
12:22:47 container,info,debug s6-rc: info: service s6rc-oneshot-runner: starting 12:22:55 container,info,debug s6-rc: info: service s6rc-oneshot-runner successfully started 12:22:55 container,info,debug s6-rc: info: service fix-attrs: starting 12:23:03 container,info,debug s6-rc: info: service fix-attrs successfully started 12:23:03 container,info,debug s6-rc: info: service legacy-cont-init: starting 12:23:14 container,info,debug s6-rc: info: service legacy-cont-init successfully started 12:23:14 container,info,debug s6-rc: info: service cron: starting 12:23:18 container,info,debug s6-rc: info: service cron successfully started 12:23:18 container,info,debug s6-rc: info: service _uid-gid-changer: starting 12:23:28 container,info,debug s6-rc: info: service _uid-gid-changer successfully started 12:23:28 container,info,debug s6-rc: info: service _startup: starting 12:23:49 container,info,debug [i] Starting docker specific checks & setup for docker pihole/pihole 12:23:49 container,info,debug [i] Setting capabilities on pihole-FTL where possible 12:24:02 container,info,debug [i] Applying the following caps to pihole-FTL: 12:24:04 container,info,debug * CAP_CHOWN 12:24:04 container,info,debug * CAP_NET_BIND_SERVICE 12:24:04 container,info,debug * CAP_NET_RAW 12:24:04 container,info,debug * CAP_NET_ADMIN 12:24:04 container,info,debug * CAP_SYS_NICE 12:24:14 container,info,debug [i] Ensuring basic configuration by re-running select functions from basic-install.sh 12:24:14 container,info,debug 12:24:14 container,info,debug [i] Installing configs from /etc/.pihole... 12:24:20 container,info,debug [i] Existing dnsmasq.conf found... it is not a Pi-hole file, leaving alone! 12:24:27 container,info,debug [i] Installing /etc/dnsmasq.d/01-pihole.conf...r1B[K [E29C93] Installed /etc/dnsmasq.d/01-pihole.conf 12:24:43 container,info,debug [i] Installing /etc/.pihole/advanced/06-rfc6761.conf...r1B[K [E29C93] Installed /etc/dnsmasq.d/06-rfc6761.conf 12:26:07 container,info,debug 12:26:13 container,info,debug [i] Installing latest logrotate script... 12:26:13 container,info,debug t[i] Existing logrotate file found. No changes made. 12:26:50 container,info,debug [i] Assigning password defined by Environment Variable 12:27:28 container,info,debug [E29C93] New password set 12:28:18 container,info,debug [i] Added ENV to php: 12:28:20 container,info,debug "TZ" => "Europe/Prague", 12:28:20 container,info,debug "PIHOLE_DOCKER_TAG" => "latest", 12:28:20 container,info,debug "PHP_ERROR_LOG" => "/valog/lighttpd/error-pihole.log", 12:28:20 container,info,debug "CORS_HOSTS" => "", 12:28:20 container,info,debug "VIRTUAL_HOST" => "RB5009UPrS", 12:28:30 container,info,debug [i] Using IPv4 and IPv6 12:28:34 container,info,debug 12:28:47 container,info,debug [i] Installing latest Cron script...r1B[K [E29C93] Installing latest Cron script 12:28:47 container,info,debug [i] Preexisting ad list /etc/pihole/adlists.list detected (exiting setup_blocklists early) 12:28:59 container,info,debug [i] Existing DNS servers detected in setupVars.conf. Leaving them alone 12:29:07 container,info,debug [i] Applying pihole-FTL.conf setting LOCAL_IPV4=0.0.0.0 12:29:47 container,info,debug [i] FTL binding to default interface: eth0 12:30:16 container,info,debug [i] Enabling Query Logging 12:39:01 container,info,debug [i] Testing lighttpd config: Syntax OK 12:39:05 container,info,debug [i] All config checks passed, cleared for startup ... 12:39:07 container,info,debug [i] Docker start setup complete 12:39:07 container,info,debug 12:39:07 container,info,debug [i] pihole-FTL (no-daemon) will be started as root 12:39:07 container,info,debug 12:39:07 container,info,debug s6-rc: info: service _startup successfully started 12:39:07 container,info,debug s6-rc: info: service pihole-FTL: starting 12:39:09 container,info,debug s6-rc: info: service pihole-FTL successfully started 12:39:09 container,info,debug s6-rc: info: service lighttpd: starting 12:39:15 container,info,debug s6-rc: info: service lighttpd successfully started 12:39:15 container,info,debug s6-rc: info: service _postFTL: starting 12:39:17 container,info,debug s6-rc: info: service _postFTL successfully started 12:39:17 container,info,debug s6-rc: info: service legacy-services: starting 12:39:17 container,info,debug Checking if custom gravity.db is set in /etc/pihole/pihole-FTL.conf 12:39:34 container,info,debug s6-rc: info: service legacy-services successfully started 12:40:13 container,info,debug [i] Neutrino emissions detected... 12:40:40 container,info,debug r1B[K [E29C93] Pulling blocklist source list into range 12:40:40 container,info,debug 12:40:57 container,info,debug [i] Preparing new gravity database...r1B[K [E29C93] Preparing new gravity database 12:41:06 netwatch,info event up [ type: tcp_conn, host: 172.17.0.2 ] 12:41:06 system,info dns changed 12:41:06 system,info nat rule changed 12:41:06 script,info set DNS to PiHole, because it came up 12:41:10 container,info,debug [i] Creating new gravity databases...r1B[K [E29C93] Creating new gravity databases 12:43:14 container,info,debug [i] Using libz compression 12:43:14 container,info,debug 12:43:14 container,info,debug [i] Target: https://raw.githubusercontent.com/StevenBlack/hosts/mastehosts
2023.06.22 03:55 Ramias1 Ubuntu changed name of ethernet adapter; FTL wouldn't start
services: pihole: cpus: 4 container_name: pihole image: pihole/pihole:latest network_mode: host environment: TZ: 'America/New_York' PIHOLE_DNS_: x.x.x.x WEBPASSWORD: '' FTLCONF_LOCAL_IPV6: fd53::1 FTLCONF_LOCAL_IPV4: 10.0.0.53 WEBTHEME: default-auto VIRTUAL_HOST: ubuntu DNS_BOGUS_PRIV: "false" DNS_FQDN_REQUIRED: "false" DNSMASQ_LISTENING: single FTLCONF_BLOCK_ICLOUD_PR: "false" DNSMASQ_USER: root FTLCONF_DBFILE: /valog/pihole-FTL.db INTERFACE: enp4s0f0 volumes: - '/share/Dockepihole/etc-pihole/:/etc/pihole/' - '/share/Dockepihole/etc-dnsmasq.d/:/etc/dnsmasq.d/' - type: tmpfs target: /valog/lighttpd tmpfs: size: 10000000 mode: 750 - type: tmpfs target: /valog tmpfs: size: 100000000 dns: - 127.0.0.1 restart: always
2023.02.19 08:10 MrXirtam PiHole on Docker Help
s6-rc: info: service s6rc-oneshot-runner: starting 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] Pre existing WEBPASSWORD found [i] Added ENV to php: "TZ" => "America/Boise", "PIHOLE_DOCKER_TAG" => "", "PHP_ERROR_LOG" => "/valog/lighttpd/error-pihole.log", "CORS_HOSTS" => "", "VIRTUAL_HOST" => "ce5347e30171", [i] Using IPv4 [i] Preexisting ad list /etc/pihole/adlists.list detected (exiting setup_blocklists early) [i] Existing DNS servers detected in setupVars.conf. Leaving them alone [i] Applying pihole-FTL.conf setting LOCAL_IPV4=10.5.21.252 [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 [✗] DNS resolution is currently unavailableThe "DNS resolution is currently unavailable" is what I'm met with each time. Searches for this turn up a few solutions, all of them I performed above and do not change the outcome. I even tried to make the container using a macvlan network to bridge through my host adapter and utilize one of my LAN network addresses, but that container won't even initialize period. I get an error 403 when I try to deploy it.
2023.02.06 22:31 GmgPulse Lighthttpd duplicate config variable error (docker)
[RESOLVED] submitted by GmgPulse to pihole [link] [comments] Hi, I was using pihole in docker for the past few weeks and everything was running fine. I had to reboot my NAS and I realized after it that the pihole configuration was gone. I had a backup of the config so I restored it and then it broke pihole entirely. For example, the bind volume seems to be broken, no files are in the host folder anymore after deleting the said folder and container and recreating it. lighthttp can't seem to start because of a duplication in configuration, I couldn't find where it's wrong, looks good to me, but I don't know much about lighthttp. It might come from somewhere else tho.It just loop on this error : (Duplicate config variable in conditional 3 global / $HTTP["url"] == "/" / $HTTP["host"] == "192.168.1.10": url.redirect 2023-02-06 20:26:01: configfile.c.1970) source: /etc/lighttpd/conf-enabled/15-pihole-admin-redirect-docker.conf line: 7 pos: 9 parser failed somehow near here: (EOL) 2023-02-06 20:26:01: configfile.c.1970) source: /etc/lighttpd/lighttpd.conf line: 51 pos: 15 parser failed somehow near here: (EOL) Stopping lighttpd lighttpd: no process foundMy intent is to make the pihole container my dns provider on the adress 192.168.1.16 on my nas (192.168..1.10). Logs files, configuration and more informations below : docker compose : version: "3" services: pihole: image: pihole/pihole:latest container_name: pihole hostname: nas-pihole restart: always ports: - "53:53/tcp" - "53:53/udp" - "67:67/udp" - "80:80/tcp" environment: TZ: $TZ WEBPASSWORD: $PIHOLE_PASSWORD FTLCONF_REPLY_ADDR4: $SERVER_ADDRESS VIRTUAL_HOST: $SERVER_ADDRESS PIHOLE_DNS_: 1.1.1.1;1.0.0.1;9.9.9.9;9.9.9.11;149.112.112.112;149.112.112.11 networks: qnet-static-eth1-79e6cc: ipv4_address: $PIHOLE_ADDRESS volumes: - $MOUNT_POINT_CONFIG/pihole:/etc/pihole - $MOUNT_POINT_CONFIG/pihole/dnsmasq:/etc/dnsmasq.d dns: - 127.0.0.1 - 1.1.1.1 cap_add: - NET_ADMIN networks: qnet-static-eth1-79e6cc: external: trueSome more informations :
log of the pihole at start : https://pastebin.com/mXYd8Je0 lighthttpd conf : https://pastebin.com/AxEeAjHv lighthttpd docker redirect : $HTTP["url"] == "/" { $HTTP["host"] == "192.168.1.10" { url.redirect = ("" => "/admin/") } $HTTP["host"] == "192.168.1.10" { url.redirect = ("" => "/admin/") } }Things I tried :
Edit : Resolved For anyone having the same issue, I used an older image of pihole. Looks like I'll stop using watchtower on pihole too and do manual upgrades. Using a 15 day old image solved my problem, so it's probably a specific build error on the current latest image. |
2022.11.08 13:18 SmokingSnakeBRA pihole-FTL keeps stopping on docker
version: "3" # More info at https://github.com/pi-hole/docker-pi-hole/ and https://docs.pi-hole.net/ services: pihole: container_name: pihole image: pihole/pihole:latest # For DHCP it is recommended to remove these ports and instead add: #network_mode: "host" ports: - "53:53/tcp" - "53:53/udp" - "67:67/udp" # Only required if you are using Pi-hole as your DHCP server - "8008:80/tcp" environment: TZ: 'America/Sao_Paulo' WEBPASSWORD: 'my-password' # Volumes store your data between container upgrades volumes: - './etc-pihole:/etc/pihole' - './etc-dnsmasq.d:/etc/dnsmasq.d' # https://github.com/pi-hole/docker-pi-hole#note-on-capabilities cap_add: - NET_ADMIN # Required if you are using Pi-hole as your DHCP server, else not needed restart: unless-stoppedcontainer log with timestamp :
orangepi3-lts:~:% docker logs --follow pihole s6-rc: info: service s6rc-oneshot-runner: starting 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 * CAP_NET_ADMIN [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! [✓] Installed /etc/dnsmasq.d/01-pihole.conf [✓] Installed /etc/dnsmasq.d/06-rfc6761.conf [✓] Installing latest logrotate script [i] Creating empty /etc/pihole/setupVars.conf file. [i] Assigning password defined by Environment Variable [✓] New password set [i] Added ENV to php: "TZ" => "America/Sao_Paulo", "PIHOLE_DOCKER_TAG" => "", "PHP_ERROR_LOG" => "/valog/lighttpd/error-pihole.log", "CORS_HOSTS" => "", "VIRTUAL_HOST" => "0.0.0.0", [i] Using IPv4 and IPv6 [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/mastehosts [i] Configuring default DNS servers: 8.8.8.8, 8.8.4.4 [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 Pi-hole version is v5.13 (Latest: v5.13) AdminLTE version is v5.16 (Latest: v5.16) FTL version is v5.18.2 (Latest: v5.18.2) Container tag is: [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 _gravityonboot: starting s6-rc: info: service _gravityonboot 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] Creating new gravity database [i] Migrating content of /etc/pihole/adlists.list into new database [i] Neutrino emissions detected... [✓] Pulling blocklist source list into range [✓] Preparing new gravity database [i] Using libz compression [i] Target: https://raw.githubusercontent.com/StevenBlack/hosts/mastehosts [✓] Status: Retrieval successful [i] Analyzed 159591 domains [✓] Creating new gravity databases [✓] Storing downloaded domains in new gravity database [✓] Building tree [✓] Swapping databases [✓] The old database remains available. [i] Number of gravity domains: 159591 (159591 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 [✓] 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 2022-11-08T00:46:21.802844464Z Stopping pihole-FTL 2022-11-08T00:59:04.523516933Z Stopping pihole-FTL 2022-11-08T01:08:17.666724676Z Stopping pihole-FTL 2022-11-08T01:08:35.735864305Z Stopping pihole-FTL 2022-11-08T01:08:51.689637873Z Stopping pihole-FTL 2022-11-08T01:09:03.965183690Z Stopping pihole-FTL 2022-11-08T01:16:57.869213747Z Stopping pihole-FTL 2022-11-08T01:17:14.231555164Z Stopping pihole-FTL 2022-11-08T01:49:34.148447075Z Stopping pihole-FTL 2022-11-08T01:49:52.781461089Z Stopping pihole-FTL 2022-11-08T02:01:04.232287807Z Stopping pihole-FTL 2022-11-08T02:01:22.533014533Z Stopping pihole-FTL 2022-11-08T02:01:49.945796609Z Stopping pihole-FTL 2022-11-08T02:02:14.359106019Z Stopping pihole-FTL 2022-11-08T02:03:02.383652632Z Stopping pihole-FTL 2022-11-08T02:03:33.119317140Z Stopping pihole-FTL 2022-11-08T02:03:53.235973154Z Stopping pihole-FTL
2022.07.29 22:35 GerDelta07 Query log empty after moving server
pi.hole: container_name: pihole.home image: pihole/pihole:2022.02.1 hostname: pihole domainname: pihole.home # <-- Update mac_address: d0:ca:ab:cd:ef:80 cap_add: - NET_ADMIN volumes: - C:\Docker\Data\PiHole\etc:/etc/pihole/:rw - C:\Docker\Data\PiHole\dnsmasq:/etc/dnsmasq.d/:rw environment: ServerIP: 192.168.***.** # <-- Update (match ipv4_address) VIRTUAL_HOST: pihole.home # <-- Update (match hostname + domainname) WEBPASSWORD: "" # <-- Add password (if required) restart: unless-stopped networks: - home_network - ReverseProxyNetwork
[s6-init] making user provided files available at /varun/s6/etc...exited 0. [s6-init] ensuring user provided files have correct perms...exited 0. [fix-attrs.d] applying ownership & permissions fixes... [fix-attrs.d] 01-resolver-resolv: applying... [fix-attrs.d] 01-resolver-resolv: exited 0. [fix-attrs.d] done. [cont-init.d] executing container initialization scripts... [cont-init.d] 05-changer-uid-gid.sh: executing... [cont-init.d] 05-changer-uid-gid.sh: exited 0. [cont-init.d] 20-start.sh: executing... ::: Starting docker specific checks & setup for docker pihole/pihole [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 Existing DNS servers detected in setupVars.conf. Leaving them alone ::: Pre existing WEBPASSWORD found DNSMasq binding to default interface: eth0 Added ENV to php: "TZ" => "", "PIHOLE_DOCKER_TAG" => "2022.02.1", "PHP_ERROR_LOG" => "/valog/lighttpd/error.log", "ServerIP" => "192.168.***.**", "CORS_HOSTS" => "", "VIRTUAL_HOST" => "pihole.home", Using IPv4 and IPv6 ::: Preexisting ad list /etc/pihole/adlists.list detected ((exiting setup_blocklists early)) https://raw.githubusercontent.com/StevenBlack/hosts/mastehosts ::: Testing lighttpd config: Syntax OK ::: All config checks passed, cleared for startup ... ::: Enabling Query Logging [i] Enabling logging... [✓] Logging has been enabled! ::: Docker start setup complete Checking if custom gravity.db is set in /etc/pihole/pihole-FTL.conf Pi-hole version is v5.9 (Latest: v5.11.4) AdminLTE version is v5.11 (Latest: v5.13) FTL version is v5.14 (Latest: v5.16.1) Container tag is: 2022.02.1 [cont-init.d] 20-start.sh: exited 0. [cont-init.d] done. [services.d] starting services Starting pihole-FTL (no-daemon) as pihole Starting crond Starting lighttpd [services.d] done.
2022.07.24 01:04 michaelbierman Can't load pihole on Synology
docker run --name=pihole --hostname=pihole --env=PATH=/opt/pihole:/uslocal/sbin:/uslocal/bin:/ussbin:/usbin:/sbin:/bin --env=phpver=php --env=PIHOLE_DOCKER_TAG=2022.07.1 --env=S6_OVERLAY_VERSION=v2.1.0.2 --env='PIHOLE_INSTALL=/etc/.pihole/automated install/basic-install.sh' --env=PHP_ENV_CONFIG=/etc/lighttpd/conf-enabled/15-fastcgi-php.conf --env=PHP_ERROR_LOG=/valog/lighttpd/error-pihole.log --env=IPv6=True --env=S6_LOGGING=0 --env=S6_KEEP_ENV=1 --env=S6_BEHAVIOUR_IF_STAGE2_FAILS=2 --env=ServerIP=192.168.179.2 --env=FTL_CMD=no-daemon --env=DNSMASQ_USER=root --env=WEBPASSWORD=redacted --env=TZ=America/Los_Angeles --env=DNSMASQ_LISTENING=local --volume=/volume1/dockepihole/pihole:/etc/pihole:rw --volume=/volume1/dockepihole/dnsmasq.d:/etc/dnsmasq.d:rw --network=PurplePi -p 53 -p 53/udp -p 67/udp -p 80 --restart=always --label='org.opencontainers.image.version=2022.07.1' --label='org.opencontainers.image.created=2022-07-10T13:08:55.626Z' --label='org.opencontainers.image.description=Pi-hole in a docker container' --label='org.opencontainers.image.revision=7e69551be1b76d175fffc1b8c53733e74ee82520' --label='org.opencontainers.image.source=https://github.com/pi-hole/docker-pi-hole' --label='org.opencontainers.image.licenses=' --label='org.opencontainers.image.title=docker-pi-hole' --label='org.opencontainers.image.url=https://github.com/pi-hole/docker-pi-hole' --log-driver=db --runtime=runc --detach=true -t pihole/pihole:latestLog file
2022-07-23 22:40:21stdoutStarting lighttpd2022-07-23 22:40:21stdoutStarting crond2022-07-23 22:40:21stdoutStarting pihole-FTL (no-daemon) as root2022-07-23 22:40:21stdout[services.d] done.2022-07-23 22:40:21stdout[services.d] starting services2022-07-23 22:40:21stdout[cont-init.d] done.2022-07-23 22:40:21stdout[cont-init.d] 20-start.sh: exited 0.2022-07-23 22:40:21stdout Container tag is: 2022.07.12022-07-23 22:40:20stdout FTL version is v5.16.1 (Latest: v5.16.1)2022-07-23 22:40:20stdout AdminLTE version is v5.13 (Latest: v5.13)2022-07-23 22:40:18stdout Pi-hole version is v5.11.4 (Latest: v5.11.4)2022-07-23 22:40:09stdout Checking if custom gravity.db is set in /etc/pihole/pihole-FTL.conf2022-07-23 22:40:09stdout ::: Docker start setup complete2022-07-23 22:40:09stdout[K [[32m✓[0m] Logging has been enabled!2022-07-23 22:40:09stdout [i] Restarting DNS server... [K [[32m✓[0m] Restarting DNS server2022-07-23 22:40:08stdout [i] Enabling logging...2022-07-23 22:40:08stdout::: Enabling Query Logging2022-07-23 22:40:07stdout::: All config checks passed, cleared for startup ...2022-07-23 22:40:07stdout::: Testing lighttpd config: Syntax OK2022-07-23 22:40:05stdouthttps://raw.githubusercontent.com/StevenBlack/hosts/mastehosts2022-07-23 22:40:05stdout::: Blocklists (/etc/pihole/adlists.list) now set to:2022-07-23 22:40:05stdout::: TIP: Use a docker volume for /etc/pihole/adlists.list if you want to customize for first boot2022-07-23 22:40:05stdout::: setup_blocklists now setting default blocklists up: 2022-07-23 22:40:05stdoutUsing IPv4 and IPv62022-07-23 22:40:05stdout"VIRTUAL_HOST" => "192.168.179.2",2022-07-23 22:40:05stdout"CORS_HOSTS" => "",2022-07-23 22:40:05stdout"ServerIP" => "192.168.179.2",2022-07-23 22:40:05stdout"PHP_ERROR_LOG" => "/valog/lighttpd/error-pihole.log",2022-07-23 22:40:05stdout"PIHOLE_DOCKER_TAG" => "2022.07.1",2022-07-23 22:40:05stdout"TZ" => "America/Los_Angeles",2022-07-23 22:40:05stdoutAdded ENV to php:2022-07-23 22:40:01stdoutDNSMasq binding to default interface: eth02022-07-23 22:40:01stdout [[32m✓[0m] New password set2022-07-23 22:40:01stdout::: Assigning password defined by Environment Variable2022-07-23 22:40:00stdoutConfiguring default DNS servers: 8.8.8.8, 8.8.4.42022-07-23 22:39:56stdoutCreating empty /etc/pihole/setupVars.conf file.2022-07-23 22:39:55stdout [i] Installing /etc/.pihole/advanced/06-rfc6761.conf... [K [[32m✓[0m] Installed /etc/dnsmasq.d/06-rfc6761.conf2022-07-23 22:39:54stdout [i] Installing /etc/dnsmasq.d/01-pihole.conf... [K [[32m✓[0m] Installed /etc/dnsmasq.d/01-pihole.conf2022-07-23 22:39:54stdout [i] Existing dnsmasq.conf found... it is not a Pi-hole file, leaving alone!2022-07-23 22:39:54stdout [i] Installing configs from /etc/.pihole...2022-07-23 22:39:54stdout2022-07-23 22:39:54stdoutThe value of the capability argument is not permitted for a file. Or the file is not a regular (non-symlink) file2022-07-23 22:39:54stdoutFailed to set capabilities on file `/usbin/pihole-FTL' (Operation not supported)2022-07-23 22:39:53stdout ::: Starting docker specific checks & setup for docker pihole/pihole2022-07-23 22:39:52stdout[cont-init.d] 20-start.sh: executing... 2022-07-23 22:39:52stdout[cont-init.d] 05-changer-uid-gid.sh: exited 0.2022-07-23 22:39:51stdout[cont-init.d] 05-changer-uid-gid.sh: executing... 2022-07-23 22:39:51stdout[cont-init.d] executing container initialization scripts...2022-07-23 22:39:51stdout[fix-attrs.d] done.2022-07-23 22:39:51stdout[fix-attrs.d] 01-resolver-resolv: exited 0.2022-07-23 22:39:51stdout[fix-attrs.d] 01-resolver-resolv: applying... 2022-07-23 22:39:51stdout[fix-attrs.d] applying ownership & permissions fixes...2022-07-23 22:39:51stdout[s6-init] ensuring user provided files have correct perms...exited 0.2022-07-23 22:39:50stdout[s6-init] making user provided files available at /varun/s6/etc...exited 0.2022-07-23 22:37:59stdout[cont-init.d] 05-changer-uid-gid.sh: executing... 2022-07-23 22:37:59stdout[cont-init.d] executing container initialization scripts...2022-07-23 22:37:59stdout[fix-attrs.d] done.2022-07-23 22:37:58stdout[fix-attrs.d] 01-resolver-resolv: exited 0.2022-07-23 22:37:58stdout[fix-attrs.d] 01-resolver-resolv: applying... 2022-07-23 22:37:58stdout[fix-attrs.d] applying ownership & permissions fixes...2022-07-23 22:37:58stdout[s6-init] ensuring user provided files have correct perms...exited 0.2022-07-23 22:37:57stdout[s6-init] making user provided files available at /varun/s6/etc...exited 0.2022-07-23 22:37:35stdout[s6-finish] sending all processes the KILL signal and exiting.2022-07-23 22:37:32stdout[s6-finish] sending all processes the TERM signal.2022-07-23 22:37:32stdout[s6-finish] waiting for services.2022-07-23 22:37:32stdout[cont-finish.d] done.2022-07-23 22:37:32stdout[cont-finish.d] executing container finish scripts...2022-07-23 22:37:32stdout[cont-init.d] 20-start.sh: exited 1.2022-07-23 22:37:32stdout If you are seeing this error, please set the environment variable 'DNSMASQ_USER' to the value 'root'2022-07-23 22:37:32stdoutERROR: Unable to set capabilities for pihole-FTL. Cannot run as non-root.2022-07-23 22:37:32stdoutThe value of the capability argument is not permitted for a file. Or the file is not a regular (non-symlink) file2022-07-23 22:37:32stdoutFailed to set capabilities on file `/usbin/pihole-FTL' (Operation not supported)2022-07-23 22:37:32stdout ::: Starting docker specific checks & setup for docker pihole/pihole2022-07-23 22:37:31stdout[cont-init.d] 20-start.sh: executing... 2022-07-23 22:37:31stdout[cont-init.d] 05-changer-uid-gid.sh: exited 0.2022-07-23 22:37:31stdout[cont-init.d] 05-changer-uid-gid.sh: executing... 2022-07-23 22:37:31stdout[cont-init.d] executing container initialization scripts...2022-07-23 22:37:31stdout[fix-attrs.d] done.2022-07-23 22:37:31stdout[fix-attrs.d] 01-resolver-resolv: exited 0.2022-07-23 22:37:31stdout[fix-attrs.d] 01-resolver-resolv: applying... 2022-07-23 22:37:31stdout[fix-attrs.d] applying ownership & permissions fixes...2022-07-23 22:37:30stdout[s6-init] ensuring user provided files have correct perms...exited 0.2022-07-23 22:37:30stdout[s6-init] making user provided files available at /varun/s6/etc...exited 0.2022-07-23 22:37:04stdout[s6-finish] sending all processes the KILL signal and exiting.2022-07-23 22:37:01stdout[s6-finish] sending all processes the TERM signal.2022-07-23 22:37:01stdout[s6-finish] waiting for services.2022-07-23 22:37:01stdout[cont-finish.d] done.2022-07-23 22:37:01stdout[cont-finish.d] executing container finish scripts...2022-07-23 22:37:01stdout[cont-init.d] 20-start.sh: exited 1.2022-07-23 22:37:01stdout If you are seeing this error, please set the environment variable 'DNSMASQ_USER' to the value 'root'2022-07-23 22:37:01stdoutERROR: Unable to set capabilities for pihole-FTL. Cannot run as non-root.2022-07-23 22:37:01stdoutThe value of the capability argument is not permitted for a file. Or the file is not a regular (non-symlink) file2022-07-23 22:37:01stdoutFailed to set capabilities on file `/usbin/pihole-FTL' (Operation not supported)2022-07-23 22:37:00stdout ::: Starting docker specific checks & setup for docker pihole/pihole2022-07-23 22:37:00stdout[cont-init.d] 20-start.sh: executing... 2022-07-23 22:37:00stdout[cont-init.d] 05-changer-uid-gid.sh: exited 0.2022-07-23 22:36:59stdout[cont-init.d] 05-changer-uid-gid.sh: executing... 2022-07-23 22:36:59stdout[cont-init.d] executing container initialization scripts...2022-07-23 22:36:59stdout[fix-attrs.d] done.2022-07-23 22:36:59stdout[fix-attrs.d] 01-resolver-resolv: exited 0.2022-07-23 22:36:59stdout[fix-attrs.d] 01-resolver-resolv: applying... 2022-07-23 22:36:59stdout[fix-attrs.d] applying ownership & permissions fixes...2022-07-23 22:36:59stdout[s6-init] ensuring user provided files have correct perms...exited 0.2022-07-23 22:36:59stdout[s6-init] making user provided files available at /varun/s6/etc...exited 0.2022-07-23 22:36:37stdout[s6-finish] sending all processes the KILL signal and exiting.2022-07-23 22:36:34stdout[s6-finish] sending all processes the TERM signal.2022-07-23 22:36:34stdout[s6-finish] waiting for services.2022-07-23 22:36:34stdout[cont-finish.d] done.2022-07-23 22:36:34stdout[cont-finish.d] executing container finish scripts...2022-07-23 22:36:34stdout[cont-init.d] 20-start.sh: exited 1.2022-07-23 22:36:34stdout If you are seeing this error, please set the environment variable 'DNSMASQ_USER' to the value 'root'2022-07-23 22:36:34stdoutERROR: Unable to set capabilities for pihole-FTL. Cannot run as non-root.2022-07-23 22:36:34stdoutThe value of the capability argument is not permitted for a file. Or the file is not a regular (non-symlink) file2022-07-23 22:36:34stdoutFailed to set capabilities on file `/usbin/pihole-FTL' (Operation not supported)2022-07-23 22:36:33stdout ::: Starting docker specific checks & setup for docker pihole/pihole2022-07-23 22:36:32stdout[cont-init.d] 20-start.sh: executing... 2022-07-23 22:36:32stdout[cont-init.d] 05-changer-uid-gid.sh: exited 0.2022-07-23 22:36:31stdout[cont-init.d] 05-changer-uid-gid.sh: executing... 2022-07-23 22:36:31stdout[cont-init.d] executing container initialization scripts...2022-07-23 22:36:31stdout[fix-attrs.d] done.2022-07-23 22:36:31stdout[fix-attrs.d] 01-resolver-resolv: exited 0.2022-07-23 22:36:30stdout[fix-attrs.d] 01-resolver-resolv: applying... 2022-07-23 22:36:30stdout[fix-attrs.d] applying ownership & permissions fixes...2022-07-23 22:36:30stdout[s6-init] ensuring user provided files have correct perms...exited 0.2022-07-23 22:36:30stdout[s6-init] making user provided files available at /varun/s6/etc...exited 0.
2022.06.15 19:21 DGenerateKane Tried updating pihole in a Docker for first time, it didn't seem to finish?
[s6-init] making user provided files available at /varun/s6/etc...exited 0. [s6-init] ensuring user provided files have correct perms...exited 0. [fix-attrs.d] applying ownership & permissions fixes... [fix-attrs.d] 01-resolver-resolv: applying... [fix-attrs.d] 01-resolver-resolv: exited 0. [fix-attrs.d] done. [cont-init.d] executing container initialization scripts... [cont-init.d] 05-changer-uid-gid.sh: executing... [cont-init.d] 05-changer-uid-gid.sh: exited 0. [cont-init.d] 20-start.sh: executing... ::: Starting docker specific checks & setup for docker pihole/pihole cap[cap_net_admin] not permitted cap[cap_sys_nice] not permitted Assigning random password: [i] Installing configs from /etc/.pihole... [i] Existing dnsmasq.conf found... it is not a Pi-hole file, leaving alone! [✓] Installed /etc/dnsmasq.d/01-pihole.conf [✓] Installed /etc/dnsmasq.d/06-rfc6761.conf Existing DNS servers detected in setupVars.conf. Leaving them alone [✓] New password set DNSMasq binding to default interface: eth0 Added ENV to php: "TZ" => "", "PIHOLE_DOCKER_TAG" => "2022.05", "PHP_ERROR_LOG" => "/valog/lighttpd/error.log", "ServerIP" => "0.0.0.0", "CORS_HOSTS" => "", "VIRTUAL_HOST" => "0.0.0.0", Using IPv4 and IPv6 ::: setup_blocklists now setting default blocklists up: ::: TIP: Use a docker volume for /etc/pihole/adlists.list if you want to customize for first boot ::: Blocklists (/etc/pihole/adlists.list) now set to: https://raw.githubusercontent.com/StevenBlack/hosts/mastehosts ::: Testing lighttpd config: Syntax OK ::: All config checks passed, cleared for startup ... ::: Enabling Query Logging [i] Enabling logging... [✓] Logging has been enabled! ::: Docker start setup complete Checking if custom gravity.db is set in /etc/pihole/pihole-FTL.conf Pi-hole version is v5.10 (Latest: v5.10) AdminLTE version is v5.12 (Latest: v5.12) FTL version is v5.15 (Latest: v5.15) Container tag is: 2022.05 [cont-init.d] 20-start.sh: exited 0. [cont-init.d] done. [services.d] starting services Starting crond Starting pihole-FTL (no-daemon) as pihole Starting lighttpd [services.d] done.It's been sitting like that for 20 minutes now. I can't access the webui not surprisingly. What do I do? I've never been comfortable with command line interfaces.
2022.05.09 21:56 AtlasLVI [FIX] Pi-hole Behind Proxy Error - Invalid JSON response - Docker
2022.03.30 12:50 SaiBork pihole-FTL no longer starting on Raspberry Pi 400 / Docker
version: "3" services: pihole: container_name: pihole2basic image: pihole/pihole:latest network_mode: "host" environment: TZ: 'Europe/London' volumes: - '/dockepihole2basic/config:/etc/pihole' - '/dockepihole2basic/dnsmasq.d:/etc/dnsmasq.d' cap_add: - NET_ADMIN restart: unless-stoppedLogs from docker shows FTL having problems
[s6-init] making user provided files available at /varun/s6/etc...exited 0. [s6-init] ensuring user provided files have correct perms...exited 0. [fix-attrs.d] applying ownership & permissions fixes... [fix-attrs.d] 01-resolver-resolv: applying... [fix-attrs.d] 01-resolver-resolv: exited 0. [fix-attrs.d] done. [cont-init.d] executing container initialization scripts... [cont-init.d] 05-changer-uid-gid.sh: executing... [cont-init.d] 05-changer-uid-gid.sh: exited 0. [cont-init.d] 20-start.sh: executing... ::: Starting docker specific checks & setup for docker pihole/pihole Assigning random password: Vy3QxonJ [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 Configuring default DNS servers: 8.8.8.8, 8.8.4.4 [✓] New password set DNSMasq binding to default interface: eth0 Added ENV to php: "TZ" => "Europe/London", "PIHOLE_DOCKER_TAG" => "2022.02.1", "PHP_ERROR_LOG" => "/valog/lighttpd/error.log", "ServerIP" => "0.0.0.0", "CORS_HOSTS" => "", "VIRTUAL_HOST" => "0.0.0.0", Using IPv4 and IPv6 ::: setup_blocklists now setting default blocklists up: ::: TIP: Use a docker volume for /etc/pihole/adlists.list if you want to customize for first boot ::: Blocklists (/etc/pihole/adlists.list) now set to: https://raw.githubusercontent.com/StevenBlack/hosts/mastehosts ::: Testing lighttpd config: Syntax OK ::: All config checks passed, cleared for startup ... ::: Enabling Query Logging [i] Enabling logging... [✓] Logging has been enabled! ::: Docker start setup complete Checking if custom gravity.db is set in /etc/pihole/pihole-FTL.conf Pi-hole version is v5.9 (Latest: v5.9) AdminLTE version is v5.11 (Latest: v5.11) FTL version is v5.14 (Latest: v5.14) Container tag is: 2022.02.1 [cont-init.d] 20-start.sh: exited 0. [cont-init.d] done. [services.d] starting services Starting crond Starting pihole-FTL (no-daemon) as pihole Starting lighttpd [services.d] done. Stopping pihole-FTL pihole-FTL: no process found Starting pihole-FTL (no-daemon) as pihole Stopping pihole-FTL pihole-FTL: no process found Starting pihole-FTL (no-daemon) as pihole Stopping pihole-FTL Starting pihole-FTL (no-daemon) as pihole Stopping pihole-FTL pihole-FTL: no process found Starting pihole-FTL (no-daemon) as pihole Stopping pihole-FTL pihole-FTL: no process found Starting pihole-FTL (no-daemon) as pihole Stopping pihole-FTL pihole-FTL: no process found Starting pihole-FTL (no-daemon) as pihole Stopping pihole-FTL pihole-FTL: no process found Starting pihole-FTL (no-daemon) as pihole Stopping pihole-FTL pihole-FTL: no process found Starting pihole-FTL (no-daemon) as pihole Stopping pihole-FTL pihole-FTL: no process found
2022.03.05 20:27 seodefteriorg Ağ Web Sunucusu Nedir? İnternet Sunucuları Nelerdir?
2022.02.14 15:08 thebronway Issue when pulling latest docker release
[s6-init] making user provided files available at /varun/s6/etc...exited 0. [s6-init] ensuring user provided files have correct perms...exited 0. [fix-attrs.d] applying ownership & permissions fixes... [fix-attrs.d] 01-resolver-resolv: applying... [fix-attrs.d] 01-resolver-resolv: exited 0. [fix-attrs.d] done. [cont-init.d] executing container initialization scripts... [cont-init.d] 05-changer-uid-gid.sh: executing... [cont-init.d] 05-changer-uid-gid.sh: exited 0. [cont-init.d] 20-start.sh: executing... ::: Starting docker specific checks & setup for docker pihole/pihole [i] Installing configs from /etc/.pihole... [i] Existing dnsmasq.conf found... it is not a Pi-hole file, leaving alone! [✓] Installed /etc/dnsmasq.d/01-pihole.conf [✓] Installed /etc/dnsmasq.d/06-rfc6761.conf Converting DNS1 to PIHOLE_DNS_ Converting DNS2 to PIHOLE_DNS_ Setting DNS servers based on PIHOLE_DNS_ variable ::: Pre existing WEBPASSWORD found DNSMasq binding to default interface: eth0 Added ENV to php: "TZ" => ""America/New_York"", "PIHOLE_DOCKER_TAG" => "2022.02.1", "PHP_ERROR_LOG" => "/valog/lighttpd/error.log", "ServerIP" => "10.0.0.25", "CORS_HOSTS" => "", "VIRTUAL_HOST" => "pihole", Using IPv4 and IPv6 ::: Preexisting ad list /etc/pihole/adlists.list detected ((exiting setup_blocklists early)) https://raw.githubusercontent.com/StevenBlack/hosts/mastehosts https://mirror1.malwaredomains.com/files/justdomains ::: Testing lighttpd config: 2022-02-14 13:46:06: (configfile.c.1238) source: /etc/lighttpd/conf-enabled/15-fastcgi-php.conf line: 12 pos: 19 invalid character in variable name 2022-02-14 13:46:06: (configfile.c.1293) configfile parser failed at: America 2022-02-14 13:46:06: (configfile.c.1296) source: find /etc/lighttpd/conf-enabled -name '*.conf' -a ! -name 'letsencrypt.conf' -printf 'include "%p"\n' 2>/dev/null line: 3 pos: 8 parser failed somehow near here: (EOL) 2022-02-14 13:46:06: (configfile.c.1296) source: /etc/lighttpd/lighttpd.conf line: 75 pos: 1 parser failed somehow near here: (EOL) [cont-init.d] 20-start.sh: exited 1. [cont-finish.d] executing container finish scripts... [cont-finish.d] done. [s6-finish] waiting for services. [s6-finish] sending all processes the TERM signal. [s6-finish] sending all processes the KILL signal and exiting.I temporarily fixed the issue by manually pulling and using 2022.01.1
2022.02.14 04:38 DevinCampbell DNS Queries From Containers Using Docker Embedded DNS Do Not Receive Responses
$ sudo ufw status numbered Status: active To Action From -- ------ ---- [ 1] 22/tcp ALLOW IN Anywhere [ 2] 192.168.1.10 53 ALLOW IN 192.168.0.0/23 [ 3] 192.168.1.10 53 ALLOW IN 172.16.0.0/12 [ 4] 22/tcp (v6) ALLOW IN Anywhere (v6)If I disable ufw there is no change in behavior:
$ sudo ufw disable [sudo] password for user: Firewall stopped and disabled on system startup user@host:/directory/$ docker exec -it pihole bash root@270330f4cca6:/# nslookup abc.com ;; connection timed out; no servers could be reached
sudo sed -r -i.orig 's/#?DNSStubListener=yes/DNSStubListener=no/g' /etc/systemd/resolved.conf sudo sh -c 'rm /etc/resolv.conf && ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf' systemctl restart systemd-resolvedAnd also configured pihole's upstream DNS to 192.168.1.1 and my UDM-PRO's DHCP Name Server to 192.168.1.10 per their other documentation.
networks: br0: driver: bridge services: ddclient: container_name: ddclient environment: - PUID=1001 - PGID=1002 - TZ=America/Chicago image: lscr.io/linuxserveddclient networks: - br0 restart: unless-stopped volumes: - '/directory/:/config' pihole: cap_add: - CAP_NET_BIND_SERVICE container_name: pihole env_file: /directory/pihole.env image: pihole/pihole:latest networks: - br0 ports: - "53:53/tcp" - "53:53/udp" - "80:80/tcp" restart: unless-stopped volumes: - '/directory/etc-pihole:/etc/pihole/' - '/directory/etc-dnsmasq:/etc/dnsmasq.d/'
$ docker logs -f ddclient [s6-init] making user provided files available at /varun/s6/etc...exited 0. [s6-init] ensuring user provided files have correct perms...exited 0. [fix-attrs.d] applying ownership & permissions fixes... [fix-attrs.d] done. [cont-init.d] executing container initialization scripts... [cont-init.d] 01-envfile: executing... [cont-init.d] 01-envfile: exited 0. [cont-init.d] 01-migrations: executing... [migrations] started [migrations] no migrations found [cont-init.d] 01-migrations: exited 0. [cont-init.d] 02-tamper-check: executing... [cont-init.d] 02-tamper-check: exited 0. [cont-init.d] 10-adduser: executing... ------------------------------------- _ () ___ _ __ / __ / \ \__ \ () _ ___/ _ \__/ Brought to you by linuxserver.io ------------------------------------- To support LSIO projects visit: https://www.linuxserver.io/donate/ ------------------------------------- GID/UID ------------------------------------- User uid: 1001 User gid: 1002 ------------------------------------- [cont-init.d] 10-adduser: exited 0. [cont-init.d] 30-config: executing... [cont-init.d] 30-config: exited 0. [cont-init.d] 90-custom-folders: executing... [cont-init.d] 90-custom-folders: exited 0. [cont-init.d] 99-custom-files: executing... [custom-init] no custom files found exiting... [cont-init.d] 99-custom-files: exited 0. [cont-init.d] done. [services.d] starting services [services.d] done. Setting up watches. Watches established. CONNECT: ipinfo.io WARNING: cannot connect to ipinfo.io:80 socket: IO::Socket::INET: Bad hostname 'ipinfo.io' WARNING: found neither ipv4 nor ipv6 address WARNING: unable to determine IP address WARNING: file /vacache/ddclient/ddclient.cache, line 3: Invalid Value for keyword 'ip' = ''
$ docker logs -f pihole [s6-init] making user provided files available at /varun/s6/etc...exited 0. [s6-init] ensuring user provided files have correct perms...exited 0. [fix-attrs.d] applying ownership & permissions fixes... [fix-attrs.d] 01-resolver-resolv: applying... [fix-attrs.d] 01-resolver-resolv: exited 1. [fix-attrs.d] done. [cont-init.d] executing container initialization scripts... [cont-init.d] 20-start.sh: executing... ::: Starting docker specific checks & setup for docker pihole/pihole [i] Installing configs from /etc/.pihole... [i] Existing dnsmasq.conf found... it is not a Pi-hole file, leaving alone! [✓] Installed /etc/dnsmasq.d/01-pihole.conf [✓] Installed /etc/dnsmasq.d/06-rfc6761.conf chmod: cannot access '/etc/pihole/pihole-FTL.db': No such file or directory Setting DNS servers based on PIHOLE_DNS_ variable Setting Web Theme based on WEBTHEME variable, using value default-dark [✓] New password set [✓] Set temperature unit to F DNSMasq binding to default interface: eth0 Added ENV to php: "PIHOLE_DOCKER_TAG" => "2022.01.1", "PHP_ERROR_LOG" => "/valog/lighttpd/error.log", "ServerIP" => "192.168.1.10", "CORS_HOSTS" => "", "VIRTUAL_HOST" => "192.168.1.10", Using IPv4 and IPv6 ::: setup_blocklists now setting default blocklists up: ::: TIP: Use a docker volume for /etc/pihole/adlists.list if you want to customize for first boot ::: Blocklists (/etc/pihole/adlists.list) now set to: https://raw.githubusercontent.com/StevenBlack/hosts/mastehosts ::: Testing pihole-FTL DNS: FTL started! ::: Testing lighttpd config: Syntax OK ::: All config checks passed, cleared for startup ... ::: Enabling Query Logging [i] Enabling logging... [✓] Logging has been enabled! ::: Docker start setup complete Checking if custom gravity.db is set in /etc/pihole/pihole-FTL.conf Pi-hole version is v5.8.1 (Latest: ERROR) AdminLTE version is v5.10.1 (Latest: ERROR) FTL version is v5.13 (Latest: ERROR) Container tag is: 2022.01.1 [cont-init.d] 20-start.sh: exited 0. [cont-init.d] done. [services.d] starting services Starting pihole-FTL (no-daemon) as pihole Starting lighttpd Starting crond [services.d] done.
user@host:/directory/$ docker exec -it ddclient bash root@ede82f10c712:/# ping pihole PING pihole (172.18.0.3): 56 data bytes 64 bytes from 172.18.0.3: seq=0 ttl=64 time=0.181 ms 64 bytes from 172.18.0.3: seq=1 ttl=64 time=0.087 ms ^C --- pihole ping statistics --- 2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max = 0.087/0.134/0.181 ms root@ede82f10c712:/# nslookup ipinfo.io ;; connection timed out; no servers could be reached root@ede82f10c712:/# cat /etc/resolv.conf search localdomain nameserver 127.0.0.11 options ndots:0
user@host:/directory/$ docker exec -it pihole bash root@270330f4cca6:/# ping ddclient PING ddclient (172.18.0.2) 56(84) bytes of data. 64 bytes from ddclient.homelab_br0 (172.18.0.2): icmp_seq=1 ttl=64 time=0.148 ms 64 bytes from ddclient.homelab_br0 (172.18.0.2): icmp_seq=2 ttl=64 time=0.053 ms 64 bytes from ddclient.homelab_br0 (172.18.0.2): icmp_seq=3 ttl=64 time=0.067 ms ^C --- ddclient ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 48ms rtt min/avg/max/mdev = 0.053/0.089/0.148/0.042 ms root@270330f4cca6:/# nslookup ipinfo.io ;; connection timed out; no servers could be reached root@270330f4cca6:/# cat /etc/resolv.conf search localdomain nameserver 127.0.0.11 options ndots:0
2022.02.07 12:47 A_Random_Lantern Can't use specific port on pihole docker container despite it being open, although I was able to use it previously for the same container.
Using port 81:80 in yml file, pihole web interface works Switches to network_mode: host on the yml file to enable dchp on pihole Realize network_mode doesn't support Windows, open ports back to what it was before which was 81:80 Realize I suddenly can't access web interface, but pihole still is running Set port to 82:80 in yml file, now can access web interface.Whenever I connect to pihole interface with port 81, I get an error in all my browsers saying ERR_SSL_PROTOCOL_ERROR.
version: "3" # More info at https://github.com/pi-hole/docker-pi-hole/ and https://docs.pi-hole.net/ services: pihole: container_name: pihole image: pihole/pihole:latest ports: - "53:53/tcp" - "53:53/udp" - "67:67/udp" - "82:80/tcp" environment: ServerIP: '192.168.0.25' TZ: 'America/New_York' WEBPASSWORD: 'lol no' # Volumes store your data between container upgrades volumes: - './etc-pihole/:/etc/pihole/' - './etc-dnsmasq.d/:/etc/dnsmasq.d/' # Recommended but not required (DHCP needs NET_ADMIN) # https://github.com/pi-hole/docker-pi-hole#note-on-capabilities cap_add: - NET_ADMIN restart: unless-stopped
[s6-init] making user provided files available at /varun/s6/etc...exited 0. [s6-init] ensuring user provided files have correct perms...exited 0. [fix-attrs.d] applying ownership & permissions fixes... [fix-attrs.d] 01-resolver-resolv: applying... [fix-attrs.d] 01-resolver-resolv: exited 1. [fix-attrs.d] done. [cont-init.d] executing container initialization scripts... [cont-init.d] 20-start.sh: executing... ::: Starting docker specific checks & setup for docker pihole/pihole [i] Installing configs from /etc/.pihole... [i] Existing dnsmasq.conf found... it is not a Pi-hole file, leaving alone! [✓] Installed /etc/dnsmasq.d/01-pihole.conf [✓] Installed /etc/dnsmasq.d/06-rfc6761.conf Existing DNS servers detected in setupVars.conf. Leaving them alone ::: Pre existing WEBPASSWORD found DNSMasq binding to default interface: eth0 Added ENV to php: "PIHOLE_DOCKER_TAG" => "2022.01.1", "PHP_ERROR_LOG" => "/valog/lighttpd/error.log", "ServerIP" => "192.168.0.25", "CORS_HOSTS" => "", "VIRTUAL_HOST" => "192.168.0.25", Using IPv4 and IPv6 ::: Preexisting ad list /etc/pihole/adlists.list detected ((exiting setup_blocklists early)) https://raw.githubusercontent.com/StevenBlack/hosts/mastehosts ::: Testing pihole-FTL DNS: FTL started! ::: Testing lighttpd config: Syntax OK ::: All config checks passed, cleared for startup ... ::: Enabling Query Logging [i] Enabling logging... [✓] Logging has been enabled! ::: Docker start setup complete Checking if custom gravity.db is set in /etc/pihole/pihole-FTL.conf Pi-hole version is v5.8.1 (Latest: v5.8.1) AdminLTE version is v5.10.1 (Latest: v5.10.1) FTL version is v5.13 (Latest: v5.13) Container tag is: 2022.01.1 [cont-init.d] 20-start.sh: exited 0. [cont-init.d] done. [services.d] starting services Starting lighttpd Starting crond Starting pihole-FTL (no-daemon) as pihole [services.d] done. Stopping pihole-FTL kill: usage: kill [-s sigspec -n signum -sigspec] pid jobspec ... or kill -l [sigspec] Starting pihole-FTL (no-daemon) as pihole
2022.02.04 11:33 m4lvo PiHole Docker parse_ini_file(/etc/pihole/setupVars.conf): failed to open stream: Permission denied
pihole: container_name: pihole image: pihole/pihole:latest ports: - "53:53/tcp" - "53:53/udp" - "67:67/udp" - "83:80/tcp" environment: - PUID=0 - PGID=0 - TZ=${TZ} - WEBPASSWORD=${PIHOLE_WEBPASSWORD} volumes: - ${config_storage_path}pihole/etc-pihole/:/etc/pihole/ - ${config_storage_path}pihole/etc-dnsmasq.d/:/etc/dnsmasq.d/ - ${config_storage_path}pihole/var-log/pihole.log:/valog/pihole.log networks: - infrastructure_default cap_add: - NET_ADMIN restart: unless-stoppedStarting the container is working fine:
2022-02-04T10:27:47.615889685Z Stopping cron 2022-02-04T10:27:47.615940525Z Stopping pihole-FTL 2022-02-04T10:27:47.616013726Z Stopping lighttpd 2022-02-04T10:27:47.621227944Z [cont-finish.d] executing container finish scripts... 2022-02-04T10:27:47.621677634Z [cont-finish.d] done. 2022-02-04T10:27:47.621909625Z [s6-finish] waiting for services. 2022-02-04T10:27:47.827837594Z [s6-finish] sending all processes the TERM signal. 2022-02-04T10:27:50.841922516Z [s6-finish] sending all processes the KILL signal and exiting. 2022-02-04T10:27:51.663657512Z [s6-init] making user provided files available at /varun/s6/etc...exited 0. 2022-02-04T10:27:51.681753435Z [s6-init] ensuring user provided files have correct perms...exited 0. 2022-02-04T10:27:51.682584459Z [fix-attrs.d] applying ownership & permissions fixes... 2022-02-04T10:27:51.683495139Z [fix-attrs.d] 01-resolver-resolv: applying... 2022-02-04T10:27:51.684227453Z [fix-attrs.d] 01-resolver-resolv: exited 1. 2022-02-04T10:27:51.684675796Z [fix-attrs.d] done. 2022-02-04T10:27:51.685253695Z [cont-init.d] executing container initialization scripts... 2022-02-04T10:27:51.686113540Z [cont-init.d] 20-start.sh: executing... 2022-02-04T10:27:51.715317210Z ::: Starting docker specific checks & setup for docker pihole/pihole 2022-02-04T10:27:51.724937180Z 2022-02-04T10:27:51.724944793Z [i] Installing configs from /etc/.pihole... 2022-02-04T10:27:51.726098647Z [i] Existing dnsmasq.conf found... it is not a Pi-hole file, leaving alone! 2022-02-04T10:27:51.726689083Z [i] Installing /etc/dnsmasq.d/01-pihole.conf... [✓] Installed /etc/dnsmasq.d/01-pihole.conf 2022-02-04T10:27:51.759143051Z [i] Installing /etc/.pihole/advanced/06-rfc6761.conf... [✓] Installed /etc/dnsmasq.d/06-rfc6761.conf 2022-02-04T10:27:51.791543926Z Existing DNS servers detected in setupVars.conf. Leaving them alone 2022-02-04T10:27:51.792209537Z ::: Pre existing WEBPASSWORD found 2022-02-04T10:27:51.792324118Z DNSMasq binding to default interface: eth0 2022-02-04T10:27:51.811588148Z Added ENV to php: 2022-02-04T10:27:51.812127278Z "PIHOLE_DOCKER_TAG" => "2022.01.1", 2022-02-04T10:27:51.812134525Z "PHP_ERROR_LOG" => "/valog/lighttpd/error.log", 2022-02-04T10:27:51.812136682Z "ServerIP" => "0.0.0.0", 2022-02-04T10:27:51.812138414Z "CORS_HOSTS" => "", 2022-02-04T10:27:51.812140020Z "VIRTUAL_HOST" => "0.0.0.0", 2022-02-04T10:27:51.815555598Z Using IPv4 and IPv6 2022-02-04T10:27:51.816300337Z ::: Preexisting ad list /etc/pihole/adlists.list detected ((exiting setup_blocklists early)) 2022-02-04T10:27:51.816669050Z https://raw.githubusercontent.com/StevenBlack/hosts/mastehosts 2022-02-04T10:27:51.986691983Z ::: Testing pihole-FTL DNS: FTL started! 2022-02-04T10:27:51.997300220Z ::: Testing lighttpd config: Syntax OK 2022-02-04T10:27:51.997483252Z ::: All config checks passed, cleared for startup ... 2022-02-04T10:27:51.998509643Z ::: Enabling Query Logging 2022-02-04T10:27:52.001949308Z [i] Enabling logging... 2022-02-04T10:27:52.003066307Z [✓] Logging has been enabled! 2022-02-04T10:27:52.003186207Z ::: Docker start setup complete 2022-02-04T10:27:52.003493142Z Checking if custom gravity.db is set in /etc/pihole/pihole-FTL.conf 2022-02-04T10:27:52.010743967Z Pi-hole version is v5.8.1 (Latest: v5.8.1) 2022-02-04T10:27:52.014076873Z AdminLTE version is v5.10.1 (Latest: v5.10.1) 2022-02-04T10:27:52.016491012Z FTL version is v5.13 (Latest: v5.13) 2022-02-04T10:27:52.016628811Z Container tag is: 2022.01.1 2022-02-04T10:27:52.017062880Z [cont-init.d] 20-start.sh: exited 0. 2022-02-04T10:27:52.017586991Z [cont-init.d] done. 2022-02-04T10:27:52.018285739Z [services.d] starting services 2022-02-04T10:27:52.021548317Z Starting lighttpd 2022-02-04T10:27:52.021554872Z Starting pihole-FTL (no-daemon) as pihole 2022-02-04T10:27:52.021578763Z Starting crond 2022-02-04T10:27:52.022984996Z [services.d] done. 2022-02-04T10:27:52.251999907Z Stopping pihole-FTL 2022-02-04T10:27:53.022840014Z Starting pihole-FTL (no-daemon) as piholeWhile accessing the WebInterface there is no passward check and when i go to setting i find a red banner on top with the message:
Error There was a problem applying your settings. Debugging information: PHP error (2): parse_ini_file(/etc/pihole/setupVars.conf): failed to open stream: Permission denied in /vawww/html/admin/settings.php:12I've tried to re-install with a completly empty mount, during container startup all files are recreating but issue persists.
2022.01.03 23:50 vitachaos Why can I not use DNS service from pihole but I see port 5300 forwarded is open
pihole: image: pihole/pihole:latest hostname: "pihole" user: "root:root" ports: - target: 53 published: 5300 mode: host protocol: udp - target: 80 published: 8085 mode: host volumes: - /etc/pihole:/etc/pihole - "/home/ansible/stacks/lighttpd/external.conf:/etc/lighttpd/external.conf" - dnsmasq:/etc/dnsmasq.d depends_on: - cloudflared - dnsmasq environment: - "DNS1=1.1.1.1" - "DNS2=8.8.4.4" - "REV_SERVER=true" - "REV_SERVER_CIDR=192.168.1.0/24" #Update these fields to match your environment - "REV_SERVER_TARGET=192.168.1.1" - "REV_SERVER_DOMAIN=home.local" - "WEBPASSWORD=secret" networks: - web deploy: labels: - "traefik.http.routers.pihole-http.rule=Host(`pihole.home.local`)" - "traefik.http.routers.pihole-http.entrypoints=web" - "traefik.http.middlewares.add-admin-prefix.addprefix.prefix=/admin" - "traefik.http.routers.pihole-http.middlewares=add-admin-prefix" - "traefik.http.services.pihole-http.loadbalancer.server.port=80" - "traefik.http.services.pihole-http.loadbalancer.passhostheader=true" - "traefik.http.services.pihole-http.loadbalancer.healthcheck.scheme=http" mode: replicated replicas: 1 placement: constraints: - "node.hostname==swarm-master"it runs fine, and if I use nmap I can see port 5300 is open:
$ sudo nmap -sU -p5300 10.100.192.200 Starting Nmap 7.01 ( https://nmap.org ) at 2022-01-03 22:34 UTC Nmap scan report for 10.100.192.200 Host is up (0.0021s latency). PORT STATE SERVICE 5300/udp openfiltered hacl-hb MAC Address: 08:00:27:AF:61:D3 (Oracle VirtualBox virtual NIC) Nmap done: 1 IP address (1 host up) scanned in 0.52 secondsBut if I try nslookup on pihole server at port 5300 O get
$ nslookup google.com -port=5300 10.100.192.200 ;; connection timed out; no servers could be reachedI can even ping from the swarm-node-1 which is running DNSMasq which has the pihole as first priority
$ ping 10.100.192.200 PING 10.100.192.200 (10.100.192.200) 56(84) bytes of data. 64 bytes from 10.100.192.200: icmp_seq=1 ttl=64 time=3.00 ms 64 bytes from 10.100.192.200: icmp_seq=2 ttl=64 time=1.19 ms ^C --- 10.100.192.200 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1003ms rtt min/avg/max/mdev = 1.199/2.100/3.002/0.902 msI don't understand what has gone wrong here, that it cannot use the DNS service of this pihole running on 10.100.192.200
# cat /etc/pihole/setupVars.conf BLOCKING_ENABLED=true INSTALL_WEB_SERVER=true INSTALL_WEB_INTERFACE=true REV_SERVER=true REV_SERVER_DOMAIN=home.local REV_SERVER_TARGET=192.168.1.1 REV_SERVER_CIDR=192.168.1.0/24 PIHOLE_DNS_1=1.1.1.1 PIHOLE_DNS_2=8.8.4.4 PIHOLE_INTERFACE=eth0 QUERY_LOGGING=trueand
# cat pihole-FTL.conf REPLY_ADDR4=0.0.0.0any help will be greatly appreciated with awards.