PiHole stops responding

#1

Please follow the below template, it will help us to help you!

Expected Behaviour:

PiHole (Docker on MacOS Mojave) works, computer always on, serving DNS to all requests on the local network. Ads blocked per white/blacklists, gravity updates regularly, little maintenance required.

Actual Behaviour:

PiHole stops responding for 10-50 seconds regularly, stops responding entirely after some number of hours (1-8). Sometimes the web interface stays alive and shows requests being processed, but no DNS resolution happens, effectively killing all network service.
Restarting the PiHole rarely resolves the issue, a system restart is needed.
Screenshot of the dashboard showing a period overnight where it stopped working, but logged the lack of activity: https://imgur.com/a/d4M3VvP

Debug Token:

Most recent debug token is: https://tricorder.pi-hole.net/05sck0faws!

Previous debug log, taken while DNS was not working is posted here since it did not upload:
Debugging log:

This process collects information from your Pi-hole, and optionally uploads it to a unique and random directory on tricorder.pi-hole.net.
The intent of this script is to allow users to self-diagnose their installations.  This is accomplished by running tests against our software and providing the user with links to FAQ articles when a problem is detected.  Since we are a small team and Pi-hole has been growing steadily, it is our hope that this will help us spend more time on development.
NOTE: All log files auto-delete after 48 hours and ONLY the Pi-hole developers can access your data via the given token. We have taken these extra steps to secure your data and will work to further reduce any personal information gathered.
*** [ INITIALIZING ]
[i] 2019-03-06:16:50:56 debug log has been initialized.
*** [ INITIALIZING ] Sourcing setup variables
[i] Sourcing /etc/pihole/setupVars.conf...
*** [ DIAGNOSING ]: Core version
[i] Core: v4.2.2 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
[i] Branch: master
[i] Commit: v4.2.2-0-gba1e94d
*** [ DIAGNOSING ]: Web version
[i] Web: v4.2 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
[i] Branch: master
[i] Commit: v4.2-0-g347994db
*** [ DIAGNOSING ]: FTL version
[✓] FTL: v4.2.3 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
*** [ DIAGNOSING ]: lighttpd version
[i] 1.4.45
*** [ DIAGNOSING ]: php version
[i] 7.0.33
*** [ DIAGNOSING ]: Operating system
[✓] Debian GNU/Linux 9 (stretch)
*** [ DIAGNOSING ]: SELinux
[i] SELinux not detected
*** [ DIAGNOSING ]: Processor
[i] x86_64
*** [ DIAGNOSING ]: Networking
[✓] IPv4 address(es) bound to the eth0 interface:
   172.17.0.2/16 does not match the IP found in /etc/pihole/setupVars.conf (https://discourse.pi-hole.net/t/use-ipv6-ula-addresses-for-pi-hole/2127)
[✗] No IPv6 address(es) found on the eth0 interface.
[i] Default IPv4 gateway: 172.17.0.1
   * Pinging 172.17.0.1...
[✓] Gateway responded.
*** [ DIAGNOSING ]: Ports in use
[*:53] is in use by pihole-FTL
[*:53] is in use by pihole-FTL
[127.0.0.1:4711] is in use by pihole-FTL
*** [ DIAGNOSING ]: Name resolution (IPv4) using a random blocked domain and a known ad-serving domain
[✓] egjpmedics.ru is 0.0.0.0 via localhost (127.0.0.1)
[✗] Failed to resolve egjpmedics.ru via Pi-hole (192.168.1.20)
[✓] doubleclick.com is 172.217.5.78 via a remote, public DNS server (8.8.8.8)
*** [ DIAGNOSING ]: Pi-hole processes
[✗] lighttpd daemon is inactive
[✗] pihole-FTL daemon is inactive
*** [ DIAGNOSING ]: Setup variables
    BLOCKING_ENABLED=true
    QUERY_LOGGING=true
    INSTALL_WEB_SERVER=true
    INSTALL_WEB_INTERFACE=true
    LIGHTTPD_ENABLED=true
    IPV4_ADDRESS=192.168.1.20
    IPV6_ADDRESS=
    PIHOLE_INTERFACE=eth0
    DNSMASQ_LISTENING=all
    PIHOLE_DNS_1=8.8.8.8
    PIHOLE_DNS_2=8.8.4.4
    PIHOLE_DNS_3=208.67.222.222
    PIHOLE_DNS_4=208.67.220.220
    PIHOLE_DNS_5=1.1.1.1
    PIHOLE_DNS_6=1.0.0.1
    DNS_FQDN_REQUIRED=true
    DNS_BOGUS_PRIV=true
    DNSSEC=false
    CONDITIONAL_FORWARDING=false
*** [ DIAGNOSING ]: Dashboard and block page
[✓] Block page X-Header: X-Pi-hole: A black hole for Internet advertisements.
[✓] Web interface X-Header: X-Pi-hole: The Pi-hole Web interface is working!
*** [ DIAGNOSING ]: Gravity list
-rw-r--r-- 1 root root 26831359 Mar  6 16:29 /etc/pihole/gravity.list
   -----head of gravity.list------
   ${tomcat.server}
   -icloudi.com
   -id.en-restore.info
   -max.shop
   -----tail of gravity.list------
   zzzzz4.52896368.com
   zzzzzqp.com
   zzzzzz.com
   ƒluwdu.cn
*** [ DIAGNOSING ]: contents of /etc/pihole
-rw-r--r-- 1 root root 3611 Mar  6 07:05 /etc/pihole/adlists.list
   https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
   https://mirror1.malwaredomains.com/files/justdomains
   http://sysctl.org/cameleon/hosts
   https://zeustracker.abuse.ch/blocklist.php?download=domainblocklist
   https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt
   https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt
   https://hosts-file.net/ad_servers.txt
   https://phishing.army/download/phishing_army_blocklist_extended.txt
   https://tspprs.com/dl/crypto
   https://tspprs.com/dl/tracking
   https://tspprs.com/dl/spotify
   https://raw.githubusercontent.com/CHEF-KOCH/Audio-fingerprint-pages/master/AudioFp.txt
   https://raw.githubusercontent.com/CHEF-KOCH/Canvas-fingerprinting-pages/master/Canvas.txt
   https://raw.githubusercontent.com/CHEF-KOCH/WebRTC-tracking/master/WebRTC.txt
   https://raw.githubusercontent.com/CHEF-KOCH/CKs-FilterList/master/HOSTS/Game.txt
   https://raw.githubusercontent.com/CHEF-KOCH/NSABlocklist/master/HOSTS
   https://raw.githubusercontent.com/deathbybandaid/piholeparser/master/Subscribable-Lists/ParsedBlacklists/AakList.txt
   https://raw.githubusercontent.com/deathbybandaid/piholeparser/master/Subscribable-Lists/ParsedBlacklists/Prebake-Obtrusive.txt
   https://jasonhill.co.uk/pfsense/ytadblock.txt
   https://smokingwheels.github.io/Pi-hole/allhosts
   https://hosts-file.net/grm.txt
   https://reddestdream.github.io/Projects/MinimalHosts/etc/MinimalHostsBlocker/minimalhosts
   https://raw.githubusercontent.com/StevenBlack/hosts/master/data/KADhosts/hosts
   https://raw.githubusercontent.com/StevenBlack/hosts/master/data/add.Spam/hosts
   https://v.firebog.net/hosts/static/w3kbl.txt
   https://adaway.org/hosts.txt
   https://v.firebog.net/hosts/AdguardDNS.txt
   https://raw.githubusercontent.com/anudeepND/blacklist/master/adservers.txt
   https://v.firebog.net/hosts/Easylist.txt
   https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts;showintro=0
   https://raw.githubusercontent.com/StevenBlack/hosts/master/data/UncheckyAds/hosts
   https://www.squidblacklist.org/downloads/dg-ads.acl
   https://v.firebog.net/hosts/Easyprivacy.txt
   https://v.firebog.net/hosts/Prigent-Ads.txt
   https://gitlab.com/quidsup/notrack-blocklists/raw/master/notrack-blocklist.txt
   https://raw.githubusercontent.com/StevenBlack/hosts/master/data/add.2o7Net/hosts
   https://raw.githubusercontent.com/crazy-max/WindowsSpyBlocker/master/data/hosts/spy.txt
   https://s3.amazonaws.com/lists.disconnect.me/simple_malvertising.txt
   https://hosts-file.net/exp.txt
   https://hosts-file.net/emd.txt
   https://hosts-file.net/psh.txt
   https://mirror.cedia.org.ec/malwaredomains/immortal_domains.txt
   https://www.malwaredomainlist.com/hostslist/hosts.txt
   https://bitbucket.org/ethanr/dns-blacklists/raw/8575c9f96e5b4a1308f2f12394abd86d0927a4a0/bad_lists/Mandiant_APT1_Report_Appendix_D.txt
   https://v.firebog.net/hosts/Prigent-Malware.txt
   https://v.firebog.net/hosts/Prigent-Phishing.txt
   https://gitlab.com/quidsup/notrack-blocklists/raw/master/notrack-malware.txt
   https://v.firebog.net/hosts/Shalla-mal.txt
   https://raw.githubusercontent.com/StevenBlack/hosts/master/data/add.Risk/hosts
   https://www.squidblacklist.org/downloads/dg-malicious.acl
   https://zerodot1.gitlab.io/CoinBlockerLists/hosts
   https://github.com/BlackJack8/iOSAdblockList
   https://raw.githubusercontent.com/BlackJack8/iOSAdblockList/master/Hosts.txt
-rw-r--r-- 1 root root 0 Mar  5 20:24 /etc/pihole/blacklist.txt
-rw-r--r-- 1 root root 47 Mar  6 16:29 /etc/pihole/local.list
   192.168.1.20 44d7ae1634ea
   192.168.1.20 pi.hole
-rw-r--r-- 1 root root 234 Feb 27 03:44 /etc/pihole/logrotate
   /var/log/pihole.log {
        su root root
        daily
        copytruncate
        rotate 5
        compress
        delaycompress
        notifempty
        nomail
   }
   /var/log/pihole-FTL.log {
        su root root
        weekly
        copytruncate
        rotate 3
        compress
        delaycompress
        notifempty
        nomail
   }
-rw-r--r-- 1 root root 298 Mar  6 16:29 /etc/pihole/whitelist.txt
   orbilogin.net
   ax.phobos.apple.com.edgesuite.net
   ocsp.apple.com
   imgs.xkcd.com
   s.youtube.com
   video-stats.l.google.com
   itunes.apple.com
   appleid.apple.com
   api.darksky.net
   t.co
   radarsubmissions.apple.com
   iphonesubmissions.apple.com
*** [ DIAGNOSING ]: contents of /etc/dnsmasq.d
-rw-r--r-- 1 root root 1699 Mar  6 16:39 /etc/dnsmasq.d/01-pihole.conf
   addn-hosts=/etc/pihole/gravity.list
   addn-hosts=/etc/pihole/black.list
   addn-hosts=/etc/pihole/local.list
   localise-queries
   no-resolv
   cache-size=10000
   log-queries
   log-facility=/var/log/pihole.log
   local-ttl=2
   log-async
   dhcp-name-match=set:wpad-ignore,wpad
   dhcp-ignore-names=tag:wpad-ignore
   server=8.8.8.8
   server=8.8.4.4
   server=208.67.222.222
   server=208.67.220.220
   server=1.1.1.1
   server=1.0.0.1
   domain-needed
   bogus-priv
   except-interface=nonexisting
*** [ DIAGNOSING ]: contents of /etc/lighttpd
-rw-r--r-- 1 root root 3102 Mar  6 15:47 /etc/lighttpd/lighttpd.conf
   server.modules = (
        "mod_access",
        "mod_accesslog",
        "mod_auth",
        "mod_expire",
        "mod_compress",
        "mod_redirect",
        "mod_setenv",
        "mod_rewrite"
   )
   server.document-root        = "/var/www/html"
   server.error-handler-404    = "pihole/index.php"
   server.upload-dirs          = ( "/var/cache/lighttpd/uploads" )
   server.errorlog             = "/var/log/lighttpd/error.log"
   server.pid-file             = "/var/run/lighttpd.pid"
   server.username             = "www-data"
   server.groupname            = "www-data"
   server.port                 = 80
   accesslog.filename          = "/var/log/lighttpd/access.log"
   accesslog.format            = "%{%s}t|%V|%r|%s|%b"
   index-file.names            = ( "index.php", "index.html", "index.lighttpd.html" )
   url.access-deny             = ( "~", ".inc", ".md", ".yml", ".ini" )
   static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
   compress.cache-dir          = "/var/cache/lighttpd/compress/"
   compress.filetype           = ( "application/javascript", "text/css", "text/html", "text/plain" )
   include_shell "/usr/share/lighttpd/use-ipv6.pl " + server.port
   include_shell "/usr/share/lighttpd/create-mime.assign.pl"
   include_shell "find /etc/lighttpd/conf-enabled -name '*.conf' -a ! -name 'letsencrypt.conf' -printf 'include \"%p\"
' 2>/dev/null"
   $HTTP["url"] =~ "^/admin/" {
       
       setenv.add-response-header = (
           "X-Pi-hole" => "The Pi-hole Web interface is working!",
           "X-Frame-Options" => "DENY"
       )
       $HTTP["url"] =~ ".ttf$" {
           
           setenv.add-response-header = ( "Access-Control-Allow-Origin" => "*" )
       }
   }
   $HTTP["url"] =~ "^/admin/\.(.*)" {
        url.access-deny = ("")
   }
   include_shell "cat external.conf 2>/dev/null"
*** [ DIAGNOSING ]: contents of /etc/cron.d
-rw-r--r-- 1 root root 1704 Feb 27 03:44 /etc/cron.d/pihole
   53 4   * * 7   root    PATH="$PATH:/usr/local/bin/" pihole updateGravity >/var/log/pihole_updateGravity.log || cat /var/log/pihole_updateGravity.log
   00 00   * * *   root    PATH="$PATH:/usr/local/bin/" pihole flush once quiet
   @reboot root /usr/sbin/logrotate /etc/pihole/logrotate
   */10 *  * * *   root    PATH="$PATH:/usr/local/bin/" pihole updatechecker local
   43 16  * * *   root    PATH="$PATH:/usr/local/bin/" pihole updatechecker remote
   @reboot root    PATH="$PATH:/usr/local/bin/" pihole updatechecker remote reboot
*** [ DIAGNOSING ]: contents of /var/log/lighttpd
-rw-r--r-- 1 www-data www-data 14459 Mar  6 16:29 /var/log/lighttpd/error.log
   2019-03-05 20:10:48: (log.c.217) server started 
   2019-03-05 20:24:54: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined variable: api in /var/www/html/admin/scripts/pi-hole/php/add.php on line 14
   2019-03-05 20:33:56: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined variable: api in /var/www/html/admin/scripts/pi-hole/php/add.php on line 14
   2019-03-05 20:34:49: https://a.impactradius-go.com/display-ad/1733-66509 is not a valid domain
   2019-03-05 20:34:49: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined variable: api in /var/www/html/admin/scripts/pi-hole/php/add.php on line 14
   2019-03-05 20:34:56: a.impactradius-go.com/display-ad/1733-66509 is not a valid domain
   2019-03-05 20:34:56: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined variable: api in /var/www/html/admin/scripts/pi-hole/php/add.php on line 14
   2019-03-05 20:35:11: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined variable: api in /var/www/html/admin/scripts/pi-hole/php/add.php on line 14
   2019-03-05 22:06:27: (server.c.1828) server stopped by UID = 0 PID = 0 
   2019-03-05 22:07:41: (log.c.217) server started 
   2019-03-05 22:34:37: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined variable: api in /var/www/html/admin/scripts/pi-hole/php/add.php on line 14
   2019-03-05 22:34:41: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined variable: api in /var/www/html/admin/scripts/pi-hole/php/add.php on line 14
   2019-03-05 22:34:59: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined variable: api in /var/www/html/admin/scripts/pi-hole/php/add.php on line 14
   2019-03-05 22:35:04: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined variable: api in /var/www/html/admin/scripts/pi-hole/php/add.php on line 14
   2019-03-05 22:37:43: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined variable: api in /var/www/html/admin/scripts/pi-hole/php/add.php on line 14
   2019-03-05 22:37:51: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined variable: api in /var/www/html/admin/scripts/pi-hole/php/add.php on line 14
   2019-03-06 01:55:51: (server.c.1828) server stopped by UID = 0 PID = 0 
   2019-03-06 02:03:07: (log.c.217) server started 
   2019-03-06 02:50:20: (server.c.1828) server stopped by UID = 0 PID = 0 
   2019-03-06 02:51:45: (log.c.217) server started 
   2019-03-06 03:53:13: http://ax.phobos.apple.com.edgesuite.net/ is not a valid domain
   2019-03-06 03:53:13: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined variable: api in /var/www/html/admin/scripts/pi-hole/php/add.php on line 14
   2019-03-06 03:53:24: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined variable: api in /var/www/html/admin/scripts/pi-hole/php/add.php on line 14
   2019-03-06 03:54:09: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined variable: api in /var/www/html/admin/scripts/pi-hole/php/add.php on line 14
   2019-03-06 03:54:39: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined variable: api in /var/www/html/admin/scripts/pi-hole/php/add.php on line 14
*** [ DIAGNOSING ]: contents of /var/log
-rw-r--r-- 1 root root 153223 Mar  6 16:49 /var/log/pihole-FTL.log
   -----head of pihole-FTL.log------
   [2019-03-05 20:10:42.022 331] Using log file /var/log/pihole-FTL.log
   [2019-03-05 20:10:42.022 331] ########## FTL started! ##########
   [2019-03-05 20:10:42.022 331] FTL branch: master
   [2019-03-05 20:10:42.022 331] FTL version: v4.2.3
   [2019-03-05 20:10:42.022 331] FTL commit: aae487e
   [2019-03-05 20:10:42.022 331] FTL date: 2019-02-25 17:18:14 -0800
   [2019-03-05 20:10:42.022 331] FTL user: root
   [2019-03-05 20:10:42.022 331] WARNING: Starting pihole-FTL as user root is not recommended
   [2019-03-05 20:10:42.022 331] Starting config file parsing (/etc/pihole/pihole-FTL.conf)
   [2019-03-05 20:10:42.022 331]    SOCKET_LISTENING: only local
   [2019-03-05 20:10:42.022 331]    AAAA_QUERY_ANALYSIS: Show AAAA queries
   [2019-03-05 20:10:42.022 331]    MAXDBDAYS: max age for stored queries is 365 days
   [2019-03-05 20:10:42.022 331]    RESOLVE_IPV6: Resolve IPv6 addresses
   [2019-03-05 20:10:42.022 331]    RESOLVE_IPV4: Resolve IPv4 addresses
   [2019-03-05 20:10:42.022 331]    DBINTERVAL: saving to DB file every minute
   [2019-03-05 20:10:42.022 331]    DBFILE: Using /etc/pihole/pihole-FTL.db
   [2019-03-05 20:10:42.022 331]    MAXLOGAGE: Importing up to 24.0 hours of log data
   [2019-03-05 20:10:42.022 331]    PRIVACYLEVEL: Set to 0
   [2019-03-05 20:10:42.022 331]    IGNORE_LOCALHOST: Show queries from localhost
   [2019-03-05 20:10:42.022 331]    BLOCKINGMODE: Null IPs for blocked domains
   [2019-03-05 20:10:42.022 331]    REGEX_DEBUGMODE: Inactive
   [2019-03-05 20:10:42.022 331]    ANALYZE_ONLY_A_AND_AAAA: Disabled. Analyzing all queries
   [2019-03-05 20:10:42.022 331]    DBIMPORT: Importing history from database
   [2019-03-05 20:10:42.022 331]    PIDFILE: Using /var/run/pihole-FTL.pid
   [2019-03-05 20:10:42.022 331]    PORTFILE: Using /var/run/pihole-FTL.port
   [2019-03-05 20:10:42.022 331]    SOCKETFILE: Using /var/run/pihole/FTL.sock
   [2019-03-05 20:10:42.023 331]    WHITELISTFILE: Using /etc/pihole/whitelist.txt
   [2019-03-05 20:10:42.023 331]    BLACKLISTFILE: Using /etc/pihole/black.list
   [2019-03-05 20:10:42.023 331]    GRAVITYFILE: Using /etc/pihole/gravity.list
   [2019-03-05 20:10:42.023 331]    REGEXLISTFILE: Using /etc/pihole/regex.list
   [2019-03-05 20:10:42.023 331]    SETUPVARSFILE: Using /etc/pihole/setupVars.conf
   [2019-03-05 20:10:42.023 331]    AUDITLISTFILE: Using /etc/pihole/auditlog.list
   [2019-03-05 20:10:42.023 331] Finished config file parsing
   [2019-03-05 20:10:42.023 331] db_init() - Cannot open database (14): unable to open database file
   [2019-03-05 20:10:42.023 331] Creating new (empty) database
   -----tail of pihole-FTL.log------
   [2019-03-06 16:39:20.899 6543] Resizing "/FTL-strings" from 49152 to 53248
   [2019-03-06 16:39:20.907 6543] Resizing "/FTL-queries" from 2949120 to 3244032
   [2019-03-06 16:39:20.914 6543] Resizing "/FTL-queries" from 3244032 to 3538944
   [2019-03-06 16:39:20.924 6543] Resizing "/FTL-strings" from 53248 to 57344
   [2019-03-06 16:39:20.924 6543] Resizing "/FTL-queries" from 3538944 to 3833856
   [2019-03-06 16:39:20.931 6543] Resizing "/FTL-queries" from 3833856 to 4128768
   [2019-03-06 16:39:20.938 6543] Resizing "/FTL-queries" from 4128768 to 4423680
   [2019-03-06 16:39:20.944 6543] Resizing "/FTL-queries" from 4423680 to 4718592
   [2019-03-06 16:39:20.950 6543] Resizing "/FTL-queries" from 4718592 to 5013504
   [2019-03-06 16:39:20.957 6543] Resizing "/FTL-queries" from 5013504 to 5308416
   [2019-03-06 16:39:20.963 6543] Resizing "/FTL-queries" from 5308416 to 5603328
   [2019-03-06 16:39:20.970 6543] Resizing "/FTL-queries" from 5603328 to 5898240
   [2019-03-06 16:39:20.977 6543] Resizing "/FTL-queries" from 5898240 to 6193152
   [2019-03-06 16:39:20.983 6543] Resizing "/FTL-queries" from 6193152 to 6488064
   [2019-03-06 16:39:20.990 6543] Resizing "/FTL-queries" from 6488064 to 6782976
   [2019-03-06 16:39:20.996 6543] Resizing "/FTL-queries" from 6782976 to 7077888
   [2019-03-06 16:39:20.004 6543] Resizing "/FTL-strings" from 57344 to 61440
   [2019-03-06 16:39:20.004 6543] Resizing "/FTL-queries" from 7077888 to 7372800
   [2019-03-06 16:39:20.009 6543] Imported 100366 queries from the long-term database
   [2019-03-06 16:39:20.009 6543]  -> Total DNS queries: 100366
   [2019-03-06 16:39:20.009 6543]  -> Cached DNS queries: 52023
   [2019-03-06 16:39:20.009 6543]  -> Forwarded DNS queries: 33710
   [2019-03-06 16:39:20.009 6543]  -> Exactly blocked DNS queries: 14629
   [2019-03-06 16:39:20.009 6543]  -> Unknown DNS queries: 4
   [2019-03-06 16:39:20.009 6543]  -> Unique domains: 2564
   [2019-03-06 16:39:20.009 6543]  -> Unique clients: 1
   [2019-03-06 16:39:20.009 6543]  -> Known forward destinations: 6
   [2019-03-06 16:39:20.010 6543] Successfully accessed setupVars.conf
   [2019-03-06 16:39:21.427 6543] PID of FTL process: 6543
   [2019-03-06 16:39:21.427 6543] Listening on port 4711 for incoming IPv4 telnet connections
   [2019-03-06 16:39:21.428 6543] Listening on Unix socket
   [2019-03-06 16:39:21.429 6543] Compiled 2 Regex filters and 16 whitelisted domains in 0.2 msec (0 errors)
   [2019-03-06 16:39:21.429 6543] /etc/pihole/black.list: parsed 0 domains (took 0.0 ms)
   [2019-03-06 16:39:23.959 6543] /etc/pihole/gravity.list: parsed 1300948 domains (took 2529.9 ms)
   [2019-03-06 16:49:23.799 6543] Resizing "/FTL-queries" from 7372800 to 7667712
*** [ DIAGNOSING ]: contents of /dev/shm
-rw------- 1 root root 2621440 Mar  6 16:39 /dev/shm/FTL-clients
-rw------- 1 root root 108 Mar  6 16:39 /dev/shm/FTL-counters
-rw------- 1 root root 131072 Mar  6 16:39 /dev/shm/FTL-domains
-rw------- 1 root root 163840 Mar  6 16:39 /dev/shm/FTL-forwarded
-rw------- 1 root root 48 Mar  6 16:45 /dev/shm/FTL-lock
-rw------- 1 root root 12288 Mar  6 16:39 /dev/shm/FTL-overTime
-rw------- 1 root root 7667712 Mar  6 16:54 /dev/shm/FTL-queries
-rw------- 1 root root 12 Mar  6 16:39 /dev/shm/FTL-settings
-rw------- 1 root root 61440 Mar  6 16:39 /dev/shm/FTL-strings
*** [ DIAGNOSING ]: Locale
    LANG=
*** [ DIAGNOSING ]: Pi-hole log
-rw-r--r-- 1 pihole pihole 31349195 Mar  6 16:54 /var/log/pihole.log
   -----head of pihole.log------
    
   Mar  6 00:00:02 dnsmasq[1458]: query[A] czfe103-front01-iad01.transport.home.nest.com from 172.17.0.1
   Mar  6 00:00:02 dnsmasq[1458]: forwarded czfe103-front01-iad01.transport.home.nest.com to 8.8.4.4
   Mar  6 00:00:02 dnsmasq[1458]: reply czfe103-front01-iad01.transport.home.nest.com is <CNAME>
   Mar  6 00:00:02 dnsmasq[1458]: reply ec2-54-175-172-112.compute-1.amazonaws.com is 54.175.172.112
   Mar  6 00:00:03 dnsmasq[1458]: query[AAAA] czfe103-front01-iad01.transport.home.nest.com from 172.17.0.1
   Mar  6 00:00:03 dnsmasq[1458]: cached czfe103-front01-iad01.transport.home.nest.com is <CNAME>
   Mar  6 00:00:03 dnsmasq[1458]: forwarded czfe103-front01-iad01.transport.home.nest.com to 8.8.4.4
   Mar  6 00:00:03 dnsmasq[1458]: reply czfe103-front01-iad01.transport.home.nest.com is <CNAME>
   Mar  6 00:00:03 dnsmasq[1458]: reply ec2-54-175-172-112.compute-1.amazonaws.com is NODATA-IPv6
   Mar  6 00:00:05 dnsmasq[1458]: query[A] a.pub.network from 172.17.0.1
   Mar  6 00:00:05 dnsmasq[1458]: /etc/pihole/gravity.list a.pub.network is 0.0.0.0
   Mar  6 00:00:05 dnsmasq[1458]: query[A] tag.bounceexchange.com from 172.17.0.1
   Mar  6 00:00:05 dnsmasq[1458]: /etc/pihole/gravity.list tag.bounceexchange.com is 0.0.0.0
   Mar  6 00:00:05 dnsmasq[1458]: query[A] ir-na.amazon-adsystem.com from 172.17.0.1
   Mar  6 00:00:05 dnsmasq[1458]: /etc/pihole/gravity.list ir-na.amazon-adsystem.com is 0.0.0.0
   Mar  6 00:00:05 dnsmasq[1458]: query[A] s.ntv.io from 172.17.0.1
   Mar  6 00:00:05 dnsmasq[1458]: /etc/pihole/gravity.list s.ntv.io is 0.0.0.0
   Mar  6 00:00:05 dnsmasq[1458]: query[A] onesignal.com from 172.17.0.1
   Mar  6 00:00:05 dnsmasq[1458]: /etc/pihole/gravity.list onesignal.com is 0.0.0.0

********************************************
********************************************
[✓] ** FINISHED DEBUGGING! **
    * The debug log can be uploaded to tricorder.pi-hole.net for sharing with developers only.
    * For more information, see: https://pi-hole.net/2016/11/07/crack-our-medical-tricorder-win-a-raspberry-pi-3/
    * If available, we'll use openssl to upload the log, otherwise it will fall back to netcat.
[i] Debug script running in automated mode
    * Using openssl for transmission.
[✗]  There was an error uploading your debug log.
   * Please try again or contact the Pi-hole team for assistance.
   * A local copy of the debug log can be found at: /var/log/pihole_debug-sanitized.log
assigned diginc #2
#3

Given that you are running this on Docker, if the issue can only be resolved by modifying external systems, then the root issue is likely in one of those external systems.

#4

Fair enough.

I did get an rpi and am having issues with the vanilla install there, but I will troubleshoot and post a new topic as appropriate.

Just strange that pi-hole on docker goes silent for extended periods with no explanation, in an always on environment with no conflicts I have been able to suss out.

1 Like
#5

I’m seeing this exact same behavior. MacOS Mojave, latest version of Docker and pihole. It’s unusable for me at this point; I thought I was doing something wrong until I found this post via Google.

#6

I’m not skilled enough at troubleshooting the VM layer of Docker or how it sockets to the NIC to know where the problem is.

Docker is and has been running, and I can get to the Docker PiHole instance locally on the machine. But nothing outside of the host Mac can get to it. My guess is that it has to do with how docker connects to some layer of the network stack so that while the Mac host can talk to itself and resolve, traffic from the NIC can’t make its way across the VM stack to the PiHole running in Docker.

closed #7

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.