No DNS resolution

I Use:

Release = Debian GNU/Linux 9 (stretch)
Kernel = Linux 4.9.0-8-amd64
Platform = QEMU Standard PC (i440FX + PIIX, 1996)
CPU: 1 Cores
Memory: 2 GB

[✓] Your debug token is: fzp9g9kwlv

I have a similar problem.

 root@mvps-vm1:~ # pihole -g
>   [✗] DNS resolution is currently unavailable
>   [i] Time until retry: 120^C
> 
>   [i] User-abort detected
>   [✓] Cleaning up stray matter
> ^C  [✗] DNS service is NOT running

> root@mvps-vm1:~ # cat /etc/resolv.conf
> #' Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
> #'     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
> nameserver 127.0.0.1

i changed it like you say

> root@mvps-vm1:~ # cat /etc/resolv.conf
> #' Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
> #'     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
> nameserver 1.1.1.1
> nameserver 127.0.0.1

> root@mvps-vm1:~ # pihole -g
>   [i] Neutrino emissions detected...
>   [✓] Pulling blocklist source list into range
> 
>   [i] Target: raw.githubusercontent.com (hosts)
>   [✓] Status: Retrieval successful
> 
>   [i] Target: mirror1.malwaredomains.com (justdomains)
>   [✓] Status: No changes detected
> 
>   [i] Target: sysctl.org (hosts)
>   [✓] Status: No changes detected
> 
>   [i] Target: zeustracker.abuse.ch (blocklist.php?download=domainblocklist)
>   [✓] Status: No changes detected
> 
>   [i] Target: s3.amazonaws.com (simple_tracking.txt)
>   [✓] Status: No changes detected
> 
>   [i] Target: s3.amazonaws.com (simple_ad.txt)
>   [✓] Status: No changes detected
> 
>   [i] Target: hosts-file.net (ad_servers.txt)
>   [✓] Status: No changes detected
> 
>   [i] Target: github.com (spy.txt)
>   [✓] Status: Retrieval successful
> 
>   [i] Target: localhost (adblock.hosts)
>   [✓] Status: Retrieval successful
> 
>   [i] Target: raw.githubusercontent.com (anti-adblock-killer-filters.txt)
>   [✓] Status: Retrieval successful
>   [i] Format: Adblockcomm: file 1 is not in sorted order
>   [✓] Format: Adblock
> 
>   [i] Target: raw.githubusercontent.com (trackers.txt)
>   [✓] Status: Retrieval successful
> 
>   [✓] Consolidating blocklists
>   [✓] Extracting domains from blocklists
>   [i] Number of domains being pulled in by gravity: 178806
>   [✓] Removing duplicate domains
>   [i] Number of unique domains trapped in the Event Horizon: 153093
>   [i] Number of whitelisted domains: 10
>   [i] Number of blacklisted domains: 4
>   [i] Number of regex filters: 0
>   [✓] Parsing domains into hosts format
>   [✓] Cleaning up stray matter
> 
>   [✓] Force-reloading DNS service
>   [✗] DNS service is NOT running

> root@mvps-vm1:~ # cat /etc/resolv.conf
> #' Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
> #'     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
> nameserver 1.1.1.1
> nameserver 127.0.0.1

> root@mvps-vm1:~ # pihole restartdns
>   [✓] Restarting DNS service

> root@mvps-vm1:~ # cat /etc/resolv.conf
> #' Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
> #'     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
> nameserver 127.0.0.1

i also try "pihole checkout master".

The WebGUI says:
Status
DNS service not running

and the WebGUI is very slow.

i don't know what i can do next. at the moment i can't do an os update without changing the resolv.conf.

You don't need to run this command, since you are already on the master branch and the latest version.

What is the output of the following commands:

sudo service pihole-FTL status

tail -n 75 /var/log/pihole-FTL.log

tail -n 50 /var/log/pihole.log

Hi,
yes it was only a try...

here is the output

> root@mvps-vm1:~ # service pihole-FTL status
> ● pihole-FTL.service - LSB: pihole-FTL daemon
>    Loaded: loaded (/etc/init.d/pihole-FTL; generated; vendor preset: enabled)
>    Active: active (exited) since Tue 2018-11-27 05:40:53 GMT; 16h ago
>      Docs: man:systemd-sysv-generator(8)
>   Process: 15769 ExecStop=/etc/init.d/pihole-FTL stop (code=exited, status=0/SUCCESS)
>   Process: 15807 ExecStart=/etc/init.d/pihole-FTL start (code=exited, status=0/SUCCESS)
>     Tasks: 0 (limit: 4915)
>    CGroup: /system.slice/pihole-FTL.service
> 
> Nov 27 05:40:53 mvps-vm1 systemd[1]: Stopped LSB: pihole-FTL daemon.
> Nov 27 05:40:53 mvps-vm1 systemd[1]: Starting LSB: pihole-FTL daemon...
> Nov 27 05:40:53 mvps-vm1 pihole-FTL[15807]: Not running
> Nov 27 05:40:53 mvps-vm1 pihole-FTL[15807]: chown: Zugriff auf '/etc/pihole/dhcp.leases' nicht möglich: Datei oder Verzeichnis nicht gefunden
> Nov 27 05:40:53 mvps-vm1 su[15848]: Successful su for pihole by root
> Nov 27 05:40:53 mvps-vm1 su[15848]: + ??? root:pihole
> Nov 27 05:40:53 mvps-vm1 su[15848]: pam_unix(su:session): session opened for user pihole by (uid=0)
> Nov 27 05:40:53 mvps-vm1 pihole-FTL[15807]: FTL started!
> Nov 27 05:40:53 mvps-vm1 systemd[1]: Started LSB: pihole-FTL daemon.

> root@mvps-vm1:~ # tail -n 75 /var/log/pihole-FTL.log
> [2018-11-27 05:15:09.138] Compiled 0 Regex filters and 10 whitelisted domains in 0.1 msec (0 errors)
> [2018-11-27 05:15:09.140] Database successfully initialized
> [2018-11-27 05:15:09.140] Notice: Increasing queries struct size from 0 to 10000
> [2018-11-27 05:15:09.140] Notice: Increasing domains struct size from 0 to 1000
> [2018-11-27 05:15:09.140] Notice: Increasing clients struct size from 0 to 10
> [2018-11-27 05:15:09.140] New forward server: 8.8.4.4 (0/0)
> [2018-11-27 05:15:09.140] Notice: Increasing forwarded struct size from 0 to 4
> [2018-11-27 05:15:09.140] Notice: Increasing overTime struct size from 0 to 100
> [2018-11-27 05:15:09.140] New forward server: 8.8.8.8 (1/4)
> [2018-11-27 05:15:09.140] Imported 109 queries from the long-term database
> [2018-11-27 05:15:09.140]  -> Total DNS queries: 109
> [2018-11-27 05:15:09.140]  -> Cached DNS queries: 42
> [2018-11-27 05:15:09.140]  -> Forwarded DNS queries: 67
> [2018-11-27 05:15:09.140]  -> Exactly blocked DNS queries: 0
> [2018-11-27 05:15:09.140]  -> Unknown DNS queries: 0
> [2018-11-27 05:15:09.140]  -> Unique domains: 16
> [2018-11-27 05:15:09.140]  -> Unique clients: 2
> [2018-11-27 05:15:09.140]  -> Known forward destinations: 2
> [2018-11-27 05:15:09.140] Successfully accessed setupVars.conf
> [2018-11-27 05:15:09.146] PID of FTL process: 10022
> [2018-11-27 05:15:09.146] Listening on port 4711 for incoming IPv4 telnet connections
> [2018-11-27 05:15:09.146] Listening on port 4711 for incoming IPv6 telnet connections
> [2018-11-27 05:15:09.146] Listening on Unix socket
> [2018-11-27 05:15:09.147] Skipping empty regex filter on line 1
> [2018-11-27 05:15:09.147] Compiled 0 Regex filters and 10 whitelisted domains in 0.1 msec (0 errors)
> [2018-11-27 05:15:09.147] /etc/pihole/black.list: parsed 4 domains (took 0.0 ms)
> [2018-11-27 05:15:09.506] /etc/pihole/gravity.list: parsed 153091 domains (took 358.6 ms)
> [2018-11-27 05:40:53.680] ########## FTL started! ##########
> [2018-11-27 05:40:53.680] FTL branch:
> [2018-11-27 05:40:53.680] FTL version: v4.0
> [2018-11-27 05:40:53.680] FTL commit: 8493df4
> [2018-11-27 05:40:53.680] FTL date: 2018-08-05 13:40:30 -0700
> [2018-11-27 05:40:53.680] FTL user: pihole
> [2018-11-27 05:40:53.680] Starting config file parsing (/etc/pihole/pihole-FTL.conf)
> [2018-11-27 05:40:53.680]    SOCKET_LISTENING: only local
> [2018-11-27 05:40:53.680]    AAAA_QUERY_ANALYSIS: Show AAAA queries
> [2018-11-27 05:40:53.680]    MAXDBDAYS: max age for stored queries is 365 days
> [2018-11-27 05:40:53.680]    RESOLVE_IPV6: Resolve IPv6 addresses
> [2018-11-27 05:40:53.680]    RESOLVE_IPV4: Resolve IPv4 addresses
> [2018-11-27 05:40:53.680]    DBINTERVAL: saving to DB file every minute
> [2018-11-27 05:40:53.680]    DBFILE: Using /etc/pihole/pihole-FTL.db
> [2018-11-27 05:40:53.680]    MAXLOGAGE: Importing up to 24.0 hours of log data
> [2018-11-27 05:40:53.680]    PRIVACYLEVEL: Set to 0
> [2018-11-27 05:40:53.680]    IGNORE_LOCALHOST: Show queries from localhost
> [2018-11-27 05:40:53.680]    BLOCKINGMODE: Null IPs for blocked domains
> [2018-11-27 05:40:53.680]    REGEX_DEBUGMODE: Inactive
> [2018-11-27 05:40:53.681] Finished config file parsing
> [2018-11-27 05:40:53.681] Skipping empty regex filter on line 1
> [2018-11-27 05:40:53.681] Compiled 0 Regex filters and 10 whitelisted domains in 0.1 msec (0 errors)
> [2018-11-27 05:40:53.682] Database successfully initialized
> [2018-11-27 05:40:53.682] Notice: Increasing queries struct size from 0 to 10000
> [2018-11-27 05:40:53.682] Notice: Increasing domains struct size from 0 to 1000
> [2018-11-27 05:40:53.682] Notice: Increasing clients struct size from 0 to 10
> [2018-11-27 05:40:53.682] New forward server: 8.8.4.4 (0/0)
> [2018-11-27 05:40:53.682] Notice: Increasing forwarded struct size from 0 to 4
> [2018-11-27 05:40:53.682] Notice: Increasing overTime struct size from 0 to 100
> [2018-11-27 05:40:53.682] New forward server: 8.8.8.8 (1/4)
> [2018-11-27 05:40:53.682] Imported 109 queries from the long-term database
> [2018-11-27 05:40:53.682]  -> Total DNS queries: 109
> [2018-11-27 05:40:53.682]  -> Cached DNS queries: 42
> [2018-11-27 05:40:53.682]  -> Forwarded DNS queries: 67
> [2018-11-27 05:40:53.682]  -> Exactly blocked DNS queries: 0
> [2018-11-27 05:40:53.682]  -> Unknown DNS queries: 0
> [2018-11-27 05:40:53.682]  -> Unique domains: 16
> [2018-11-27 05:40:53.682]  -> Unique clients: 2
> [2018-11-27 05:40:53.682]  -> Known forward destinations: 2
> [2018-11-27 05:40:53.682] Successfully accessed setupVars.conf
> [2018-11-27 05:40:53.697] PID of FTL process: 15855
> [2018-11-27 05:40:53.697] Listening on port 4711 for incoming IPv4 telnet connections
> [2018-11-27 05:40:53.698] Listening on port 4711 for incoming IPv6 telnet connections
> [2018-11-27 05:40:53.698] Listening on Unix socket
> [2018-11-27 05:40:53.700] Skipping empty regex filter on line 1
> [2018-11-27 05:40:53.700] Compiled 0 Regex filters and 10 whitelisted domains in 0.1 msec (0 errors)
> [2018-11-27 05:40:53.700] /etc/pihole/black.list: parsed 4 domains (took 0.0 ms)
> [2018-11-27 05:40:54.049] /etc/pihole/gravity.list: parsed 153091 domains (took 348.9 ms)

> root@mvps-vm1:~ # tail -n 50 /var/log/pihole.log
> Nov 27 04:47:57 dnsmasq[5123]: read /etc/pihole/black.list - 8 addresses
> Nov 27 04:47:58 dnsmasq[5123]: read /etc/pihole/gravity.list - 306182 addresses
> Nov 27 04:50:14 dnsmasq[5123]: exiting on receipt of SIGTERM
> Nov 27 04:50:14 dnsmasq[6265]: started, version pi-hole-2.79 cachesize 10000
> Nov 27 04:50:14 dnsmasq[6265]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth DNSSEC loop-detect inotify
> Nov 27 04:50:14 dnsmasq[6265]: warning: failed to change owner of /var/log/pihole.log: Operation not permitted
> Nov 27 04:50:14 dnsmasq[6265]: using nameserver 8.8.4.4#53
> Nov 27 04:50:14 dnsmasq[6265]: using nameserver 8.8.8.8#53
> Nov 27 04:50:14 dnsmasq[6265]: read /etc/hosts - 3 addresses
> Nov 27 04:50:14 dnsmasq[6265]: read /etc/pihole/local.list - 2 addresses
> Nov 27 04:50:14 dnsmasq[6265]: read /etc/pihole/black.list - 8 addresses
> Nov 27 04:50:15 dnsmasq[6265]: read /etc/pihole/gravity.list - 306182 addresses
> Nov 27 04:54:33 dnsmasq[6265]: exiting on receipt of SIGTERM
> Nov 27 04:54:33 dnsmasq[7330]: started, version pi-hole-2.79 cachesize 10000
> Nov 27 04:54:33 dnsmasq[7330]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth DNSSEC loop-detect inotify
> Nov 27 04:54:33 dnsmasq[7330]: warning: failed to change owner of /var/log/pihole.log: Operation not permitted
> Nov 27 04:54:33 dnsmasq[7330]: using nameserver 8.8.4.4#53
> Nov 27 04:54:33 dnsmasq[7330]: using nameserver 8.8.8.8#53
> Nov 27 04:54:33 dnsmasq[7330]: read /etc/hosts - 3 addresses
> Nov 27 04:54:33 dnsmasq[7330]: failed to load names from /etc/pihole/local.list: No such file or directory
> Nov 27 04:54:33 dnsmasq[7330]: read /etc/pihole/black.list - 8 addresses
> Nov 27 04:54:34 dnsmasq[7330]: read /etc/pihole/gravity.list - 306182 addresses
> Nov 27 05:00:38 dnsmasq[7330]: read /etc/hosts - 3 addresses
> Nov 27 05:00:38 dnsmasq[7330]: read /etc/pihole/local.list - 2 addresses
> Nov 27 05:00:38 dnsmasq[7330]: read /etc/pihole/black.list - 8 addresses
> Nov 27 05:00:38 dnsmasq[7330]: read /etc/pihole/gravity.list - 306182 addresses
> Nov 27 05:06:22 dnsmasq[7330]: read /etc/hosts - 3 addresses
> Nov 27 05:06:22 dnsmasq[7330]: read /etc/pihole/local.list - 2 addresses
> Nov 27 05:06:22 dnsmasq[7330]: read /etc/pihole/black.list - 8 addresses
> Nov 27 05:06:22 dnsmasq[7330]: read /etc/pihole/gravity.list - 306182 addresses
> Nov 27 05:15:08 dnsmasq[7330]: exiting on receipt of SIGTERM
> Nov 27 05:15:09 dnsmasq[10022]: started, version pi-hole-2.79 cachesize 10000
> Nov 27 05:15:09 dnsmasq[10022]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth DNSSEC loop-detect inotify
> Nov 27 05:15:09 dnsmasq[10022]: warning: failed to change owner of /var/log/pihole.log: Operation not permitted
> Nov 27 05:15:09 dnsmasq[10022]: using nameserver 8.8.4.4#53
> Nov 27 05:15:09 dnsmasq[10022]: using nameserver 8.8.8.8#53
> Nov 27 05:15:09 dnsmasq[10022]: read /etc/hosts - 3 addresses
> Nov 27 05:15:09 dnsmasq[10022]: read /etc/pihole/local.list - 2 addresses
> Nov 27 05:15:09 dnsmasq[10022]: read /etc/pihole/black.list - 8 addresses
> Nov 27 05:15:09 dnsmasq[10022]: read /etc/pihole/gravity.list - 306182 addresses
> Nov 27 05:40:53 dnsmasq[10022]: exiting on receipt of SIGTERM
> Nov 27 05:40:53 dnsmasq[15855]: started, version pi-hole-2.79 cachesize 10000
> Nov 27 05:40:53 dnsmasq[15855]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth DNSSEC loop-detect inotify
> Nov 27 05:40:53 dnsmasq[15855]: warning: failed to change owner of /var/log/pihole.log: Operation not permitted
> Nov 27 05:40:53 dnsmasq[15855]: using nameserver 8.8.4.4#53
> Nov 27 05:40:53 dnsmasq[15855]: using nameserver 8.8.8.8#53
> Nov 27 05:40:53 dnsmasq[15855]: read /etc/hosts - 3 addresses
> Nov 27 05:40:53 dnsmasq[15855]: read /etc/pihole/local.list - 2 addresses
> Nov 27 05:40:53 dnsmasq[15855]: read /etc/pihole/black.list - 8 addresses
> Nov 27 05:40:54 dnsmasq[15855]: read /etc/pihole/gravity.list - 306182 addresses
> root@mvps-vm1:~ # ll /var/log/pihole*
> -rw-r--r-- 1 root   pihole  18K Nov 27 05:31 /var/log/pihole_debug.log
> -rw-r--r-- 1 root   root    18K Nov 27 05:31 /var/log/pihole_debug-sanitized.log
> -rw-r--r-- 1 pihole pihole  49K Nov 27 05:40 /var/log/pihole-FTL.log
> -rw-r--r-- 1 pihole pihole  67K Nov 27 05:40 /var/log/pihole.log
> 
> /var/log/pihole:
> insgesamt 8,0K
> drwxr-xr-x 2 pihole pihole 4,0K Nov 27 02:35 .
> drwxr-xr-x 9 root   root   4,0K Nov 27 06:25 ..

thanks for your help

I'm having a hard time seeing anything in the logs or command output that is preventing dns from resolving.

Please run pihole -r and select "repair". If that command won't run successfully, you will have to change your name server back to 1.1.1.1 again (and delete the existing 127.0.0.1 entry if you do that), and then run the repair command.

here are the result

> root@mvps-vm1:~ # pihole -r
> 
>   [✓] Root user check
> 
>         .;;,.
>         .ccccc:,.
>          :cccclll:.      ..,,
>           :ccccclll.   ;ooodc
>            'ccll:;ll .oooodc
>              .;cll.;;looo:.
>                  .. ','.
>                 .',,,,,,'.
>               .',,,,,,,,,,.
>             .',,,,,,,,,,,,....
>           ....''',,,,,,,'.......
>         .........  ....  .........
>         ..........      ..........
>         ..........      ..........
>         .........  ....  .........
>           ........,,,,,,,'......
>             ....',,,,,,,,,,,,.
>                .',,,,,,,,,'.
>                 .',,,,,,'.
>                   ..'''.
> 
>   [i] Existing PHP installation detected : PHP version 7.0.30-0+deb9u1
>   [i] Repair option selected
>   [✓] Disk space check
> 
>   [✓] Update local cache of available packages
> 
>   [✓] Checking apt-get for upgraded packages... 7 updates available
>   [i] It is recommended to update your OS after installing the Pi-hole!
> 
>   [i] Installer Dependency checks...
>   [✓] Checking for apt-utils
>   [✓] Checking for dialog
>   [✓] Checking for debconf
>   [✓] Checking for dhcpcd5
>   [✓] Checking for git
>   [✓] Checking for iproute2
>   [✓] Checking for whiptail
> 
>   [i] Performing reconfiguration, skipping download of local repos
>   [✓] Resetting repository within /etc/.pihole...
>   [✓] Resetting repository within /var/www/html/admin...
>   [i] Main Dependency checks...
>   [✓] Checking for bc
>   [✓] Checking for cron
>   [✓] Checking for curl
>   [✓] Checking for dnsutils
>   [✓] Checking for iputils-ping
>   [✓] Checking for lsof
>   [✓] Checking for netcat
>   [✓] Checking for psmisc
>   [✓] Checking for sudo
>   [✓] Checking for unzip
>   [✓] Checking for wget
>   [✓] Checking for idn2
>   [✓] Checking for sqlite3
>   [✓] Checking for libcap2-bin
>   [✓] Checking for dns-root-data
>   [✓] Checking for resolvconf
>   [✓] Checking for lighttpd
>   [✓] Checking for php7.0-common
>   [✓] Checking for php7.0-cgi
>   [✓] Checking for php7.0-sqlite3
> 
>   [✓] Enabling lighttpd service to start on reboot
>   [✓] Installing scripts from /etc/.pihole
> 
>   [i] Installing configs from /etc/.pihole...
>   [i] Existing dnsmasq.conf found... it is not a Pi-hole file, leaving alone!
>   [✓] Copying 01-pihole.conf to /etc/dnsmasq.d/01-pihole.conf
> 
>   [i] Installing blocking page...
>   [✓] Creating directory for blocking page, and copying files
>   [✗] Backing up index.lighttpd.html
>         No default index.lighttpd.html file found... not backing up
> 
>   [✓] Installing sudoer file
> 
>   [✓] Installing latest Cron script
> 
>   [✓] Installing latest logrotate script
> 
>   [i] FTL Checks...
>   [✓] Detected x86_64 architecture
>   [i] Checking for existing FTL binary...
>   [i] Latest FTL Binary already installed (v4.0). Confirming Checksum...
>   [i] Checksum correct. No need to download!
> 
>   [✓] man pages installed and database updated
>   [i] Systemd-resolved is not enabled
>   [✓] Starting lighttpd service
>   [✓] Enabling lighttpd service to start on reboot
>   [i] Restarting services...
>   [✓] Starting pihole-FTL service
>   [✓] Enabling pihole-FTL service to start on reboot
>   [✓] Deleting existing list cache
>   [✗] DNS resolution is currently unavailable
>   [✗] DNS resolution is not available

> root@mvps-vm1:~ # cat /etc/resolv.conf
> #' Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
> #'     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
> nameserver 127.0.0.1
> nameserver 8.8.8.8
> nameserver 8.8.4.4

> root@mvps-vm1:~ # echo "nameserver 1.1.1.1" > /etc/resolv.conf

> root@mvps-vm1:~ # cat /etc/resolv.conf
> nameserver 1.1.1.1

> root@mvps-vm1:~ # pihole -r
> 
>   [✓] Root user check
> 
>         .;;,.
>         .ccccc:,.
>          :cccclll:.      ..,,
>           :ccccclll.   ;ooodc
>            'ccll:;ll .oooodc
>              .;cll.;;looo:.
>                  .. ','.
>                 .',,,,,,'.
>               .',,,,,,,,,,.
>             .',,,,,,,,,,,,....
>           ....''',,,,,,,'.......
>         .........  ....  .........
>         ..........      ..........
>         ..........      ..........
>         .........  ....  .........
>           ........,,,,,,,'......
>             ....',,,,,,,,,,,,.
>                .',,,,,,,,,'.
>                 .',,,,,,'.
>                   ..'''.
> 
>   [i] Existing PHP installation detected : PHP version 7.0.30-0+deb9u1
>   [i] Repair option selected
>   [✓] Disk space check
> 
>   [✓] Update local cache of available packages
> 
>   [✓] Checking apt-get for upgraded packages... 7 updates available
>   [i] It is recommended to update your OS after installing the Pi-hole!
> 
>   [i] Installer Dependency checks...
>   [✓] Checking for apt-utils
>   [✓] Checking for dialog
>   [✓] Checking for debconf
>   [✓] Checking for dhcpcd5
>   [✓] Checking for git
>   [✓] Checking for iproute2
>   [✓] Checking for whiptail
> 
>   [i] Performing reconfiguration, skipping download of local repos
>   [✓] Resetting repository within /etc/.pihole...
>   [✓] Resetting repository within /var/www/html/admin...
>   [i] Main Dependency checks...
>   [✓] Checking for bc
>   [✓] Checking for cron
>   [✓] Checking for curl
>   [✓] Checking for dnsutils
>   [✓] Checking for iputils-ping
>   [✓] Checking for lsof
>   [✓] Checking for netcat
>   [✓] Checking for psmisc
>   [✓] Checking for sudo
>   [✓] Checking for unzip
>   [✓] Checking for wget
>   [✓] Checking for idn2
>   [✓] Checking for sqlite3
>   [✓] Checking for libcap2-bin
>   [✓] Checking for dns-root-data
>   [✓] Checking for resolvconf
>   [✓] Checking for lighttpd
>   [✓] Checking for php7.0-common
>   [✓] Checking for php7.0-cgi
>   [✓] Checking for php7.0-sqlite3
> 
>   [✓] Enabling lighttpd service to start on reboot
>   [✓] Installing scripts from /etc/.pihole
> 
>   [i] Installing configs from /etc/.pihole...
>   [i] Existing dnsmasq.conf found... it is not a Pi-hole file, leaving alone!
>   [✓] Copying 01-pihole.conf to /etc/dnsmasq.d/01-pihole.conf
> 
>   [i] Installing blocking page...
>   [✓] Creating directory for blocking page, and copying files
>   [✗] Backing up index.lighttpd.html
>         No default index.lighttpd.html file found... not backing up
> 
>   [✓] Installing sudoer file
> 
>   [✓] Installing latest Cron script
> 
>   [✓] Installing latest logrotate script
> 
>   [i] FTL Checks...
>   [✓] Detected x86_64 architecture
>   [i] Checking for existing FTL binary...
>   [i] Latest FTL Binary already installed (v4.0). Confirming Checksum...
>   [i] Checksum correct. No need to download!
> 
>   [✓] man pages installed and database updated
>   [i] Systemd-resolved is not enabled
>   [✓] Starting lighttpd service
>   [✓] Enabling lighttpd service to start on reboot
>   [i] Restarting services...
>   [✓] Starting pihole-FTL service
>   [✓] Enabling pihole-FTL service to start on reboot
>   [✓] Deleting existing list cache
>   [✗] DNS resolution is currently unavailable
>   [✗] DNS resolution is not available

> root@mvps-vm1:~ # service pihole-FTL status
> ● pihole-FTL.service - LSB: pihole-FTL daemon
>    Loaded: loaded (/etc/init.d/pihole-FTL; generated; vendor preset: enabled)
>    Active: active (exited) since Wed 2018-11-28 00:50:41 GMT; 4min 32s ago
>      Docs: man:systemd-sysv-generator(8)
> 
> Nov 28 00:50:41 mvps-vm1 systemd[1]: Stopped LSB: pihole-FTL daemon.
> Nov 28 00:50:41 mvps-vm1 systemd[1]: Starting LSB: pihole-FTL daemon...
> Nov 28 00:50:41 mvps-vm1 pihole-FTL[12993]: Not running
> Nov 28 00:50:41 mvps-vm1 pihole-FTL[12993]: chown: Zugriff auf '/etc/pihole/dhcp.leases' nicht möglich: Datei oder Verzeichnis nicht gefunden
> Nov 28 00:50:41 mvps-vm1 su[13034]: Successful su for pihole by root
> Nov 28 00:50:41 mvps-vm1 su[13034]: + ??? root:pihole
> Nov 28 00:50:41 mvps-vm1 su[13034]: pam_unix(su:session): session opened for user pihole by (uid=0)
> Nov 28 00:50:41 mvps-vm1 pihole-FTL[12993]: FTL started!
> Nov 28 00:50:41 mvps-vm1 systemd[1]: Started LSB: pihole-FTL daemon.

> root@mvps-vm1:~ # tail -n 75 /var/log/pihole-FTL.log
> [2018-11-28 00:45:38.334] Compiled 0 Regex filters and 10 whitelisted domains in 0.1 msec (0 errors)
> [2018-11-28 00:45:38.335] Database successfully initialized
> [2018-11-28 00:45:38.335] Notice: Increasing queries struct size from 0 to 10000
> [2018-11-28 00:45:38.335] Notice: Increasing domains struct size from 0 to 1000
> [2018-11-28 00:45:38.335] Notice: Increasing clients struct size from 0 to 10
> [2018-11-28 00:45:38.335] New forward server: 8.8.4.4 (0/0)
> [2018-11-28 00:45:38.335] Notice: Increasing forwarded struct size from 0 to 4
> [2018-11-28 00:45:38.335] Notice: Increasing overTime struct size from 0 to 100
> [2018-11-28 00:45:38.335] New forward server: 8.8.8.8 (1/4)
> [2018-11-28 00:45:38.335] Imported 109 queries from the long-term database
> [2018-11-28 00:45:38.335]  -> Total DNS queries: 109
> [2018-11-28 00:45:38.335]  -> Cached DNS queries: 42
> [2018-11-28 00:45:38.335]  -> Forwarded DNS queries: 67
> [2018-11-28 00:45:38.335]  -> Exactly blocked DNS queries: 0
> [2018-11-28 00:45:38.335]  -> Unknown DNS queries: 0
> [2018-11-28 00:45:38.335]  -> Unique domains: 16
> [2018-11-28 00:45:38.335]  -> Unique clients: 2
> [2018-11-28 00:45:38.335]  -> Known forward destinations: 2
> [2018-11-28 00:45:38.336] Successfully accessed setupVars.conf
> [2018-11-28 00:45:38.359] PID of FTL process: 11379
> [2018-11-28 00:45:38.359] Listening on port 4711 for incoming IPv4 telnet connections
> [2018-11-28 00:45:38.359] Listening on port 4711 for incoming IPv6 telnet connections
> [2018-11-28 00:45:38.359] Listening on Unix socket
> [2018-11-28 00:45:38.361] Skipping empty regex filter on line 1
> [2018-11-28 00:45:38.361] Compiled 0 Regex filters and 10 whitelisted domains in 0.1 msec (0 errors)
> [2018-11-28 00:45:38.362] /etc/pihole/black.list: parsed 4 domains (took 0.0 ms)
> [2018-11-28 00:45:39.182] /etc/pihole/gravity.list: parsed 153091 domains (took 820.1 ms)
> [2018-11-28 00:50:41.207] ########## FTL started! ##########
> [2018-11-28 00:50:41.207] FTL branch:
> [2018-11-28 00:50:41.207] FTL version: v4.0
> [2018-11-28 00:50:41.207] FTL commit: 8493df4
> [2018-11-28 00:50:41.207] FTL date: 2018-08-05 13:40:30 -0700
> [2018-11-28 00:50:41.207] FTL user: pihole
> [2018-11-28 00:50:41.207] Starting config file parsing (/etc/pihole/pihole-FTL.conf)
> [2018-11-28 00:50:41.207]    SOCKET_LISTENING: only local
> [2018-11-28 00:50:41.207]    AAAA_QUERY_ANALYSIS: Show AAAA queries
> [2018-11-28 00:50:41.207]    MAXDBDAYS: max age for stored queries is 365 days
> [2018-11-28 00:50:41.207]    RESOLVE_IPV6: Resolve IPv6 addresses
> [2018-11-28 00:50:41.207]    RESOLVE_IPV4: Resolve IPv4 addresses
> [2018-11-28 00:50:41.207]    DBINTERVAL: saving to DB file every minute
> [2018-11-28 00:50:41.207]    DBFILE: Using /etc/pihole/pihole-FTL.db
> [2018-11-28 00:50:41.207]    MAXLOGAGE: Importing up to 24.0 hours of log data
> [2018-11-28 00:50:41.207]    PRIVACYLEVEL: Set to 0
> [2018-11-28 00:50:41.207]    IGNORE_LOCALHOST: Show queries from localhost
> [2018-11-28 00:50:41.207]    BLOCKINGMODE: Null IPs for blocked domains
> [2018-11-28 00:50:41.207]    REGEX_DEBUGMODE: Inactive
> [2018-11-28 00:50:41.207] Finished config file parsing
> [2018-11-28 00:50:41.207] Skipping empty regex filter on line 1
> [2018-11-28 00:50:41.208] Compiled 0 Regex filters and 10 whitelisted domains in 0.1 msec (0 errors)
> [2018-11-28 00:50:41.212] Database successfully initialized
> [2018-11-28 00:50:41.212] Notice: Increasing queries struct size from 0 to 10000
> [2018-11-28 00:50:41.212] Notice: Increasing domains struct size from 0 to 1000
> [2018-11-28 00:50:41.212] Notice: Increasing clients struct size from 0 to 10
> [2018-11-28 00:50:41.212] New forward server: 8.8.4.4 (0/0)
> [2018-11-28 00:50:41.212] Notice: Increasing forwarded struct size from 0 to 4
> [2018-11-28 00:50:41.212] Notice: Increasing overTime struct size from 0 to 100
> [2018-11-28 00:50:41.212] New forward server: 8.8.8.8 (1/4)
> [2018-11-28 00:50:41.212] Imported 109 queries from the long-term database
> [2018-11-28 00:50:41.212]  -> Total DNS queries: 109
> [2018-11-28 00:50:41.212]  -> Cached DNS queries: 42
> [2018-11-28 00:50:41.212]  -> Forwarded DNS queries: 67
> [2018-11-28 00:50:41.212]  -> Exactly blocked DNS queries: 0
> [2018-11-28 00:50:41.212]  -> Unknown DNS queries: 0
> [2018-11-28 00:50:41.212]  -> Unique domains: 16
> [2018-11-28 00:50:41.212]  -> Unique clients: 2
> [2018-11-28 00:50:41.212]  -> Known forward destinations: 2
> [2018-11-28 00:50:41.212] Successfully accessed setupVars.conf
> [2018-11-28 00:50:41.223] PID of FTL process: 13041
> [2018-11-28 00:50:41.223] Listening on port 4711 for incoming IPv4 telnet connections
> [2018-11-28 00:50:41.223] Listening on port 4711 for incoming IPv6 telnet connections
> [2018-11-28 00:50:41.223] Listening on Unix socket
> [2018-11-28 00:50:41.224] Skipping empty regex filter on line 1
> [2018-11-28 00:50:41.224] Compiled 0 Regex filters and 10 whitelisted domains in 0.1 msec (0 errors)
> [2018-11-28 00:50:41.224] /etc/pihole/black.list: parsed 4 domains (took 0.0 ms)
> [2018-11-28 00:50:42.175] /etc/pihole/gravity.list: parsed 153091 domains (took 951.1 ms)

> root@mvps-vm1:~ # tail -n 50 /var/log/pihole.log
> Nov 28 00:45:38 dnsmasq[15855]: exiting on receipt of SIGTERM
> Nov 28 00:45:38 dnsmasq[11379]: started, version pi-hole-2.79 cachesize 10000
> Nov 28 00:45:38 dnsmasq[11379]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth DNSSEC loop-detect inotify
> Nov 28 00:45:38 dnsmasq[11379]: warning: failed to change owner of /var/log/pihole.log: Operation not permitted
> Nov 28 00:45:38 dnsmasq[11379]: using nameserver 8.8.4.4#53
> Nov 28 00:45:38 dnsmasq[11379]: using nameserver 8.8.8.8#53
> Nov 28 00:45:38 dnsmasq[11379]: read /etc/hosts - 3 addresses
> Nov 28 00:45:38 dnsmasq[11379]: read /etc/pihole/local.list - 2 addresses
> Nov 28 00:45:38 dnsmasq[11379]: read /etc/pihole/black.list - 8 addresses
> Nov 28 00:45:39 dnsmasq[11379]: read /etc/pihole/gravity.list - 306182 addresses
> Nov 28 00:50:40 dnsmasq[11379]: exiting on receipt of SIGTERM
> Nov 28 00:50:41 dnsmasq[13041]: started, version pi-hole-2.79 cachesize 10000
> Nov 28 00:50:41 dnsmasq[13041]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth DNSSEC loop-detect inotify
> Nov 28 00:50:41 dnsmasq[13041]: warning: failed to change owner of /var/log/pihole.log: Operation not permitted
> Nov 28 00:50:41 dnsmasq[13041]: using nameserver 8.8.4.4#53
> Nov 28 00:50:41 dnsmasq[13041]: using nameserver 8.8.8.8#53
> Nov 28 00:50:41 dnsmasq[13041]: read /etc/hosts - 3 addresses
> Nov 28 00:50:41 dnsmasq[13041]: read /etc/pihole/local.list - 2 addresses
> Nov 28 00:50:41 dnsmasq[13041]: read /etc/pihole/black.list - 8 addresses
> Nov 28 00:50:42 dnsmasq[13041]: read /etc/pihole/gravity.list - 306182 addresses

[✓] Your debug token is: husjuv22ye

Please post the output of this command:

sudo bash -x /opt/pihole/gravity.sh

i have done it two time. one time with the set resolv and one time with the 1.1.1.1 resolv

> root@mvps-vm1:~ # cat /etc/resolv.conf
> #' Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
> #'     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
> nameserver 127.0.0.1
> nameserver 8.8.8.8
> nameserver 8.8.4.4

> root@mvps-vm1:~ # bash -x /opt/pihole/gravity.sh
> + export LC_ALL=C
> + LC_ALL=C
> + coltable=/opt/pihole/COL_TABLE
> + source /opt/pihole/COL_TABLE
> ++ [[ -t 1 ]]
> +++ tput colors
> ++ [[ 8 -ge 8 ]]
> ++ COL_BOLD=''
> ++ COL_ULINE=''
> ++ COL_NC=''
> ++ COL_GRAY=''
> ++ COL_RED=''
> ++ COL_GREEN=''
> ++ COL_YELLOW=''
> ++ COL_BLUE=''
> ++ COL_PURPLE=''
> ++ COL_CYAN=''
> ++ COL_WHITE=''
> ++ COL_BLACK=''
> ++ COL_LIGHT_BLUE=''
> ++ COL_LIGHT_GREEN=''
> ++ COL_LIGHT_CYAN=''
> ++ COL_LIGHT_RED=''
> ++ COL_URG_RED=''
> ++ COL_LIGHT_PURPLE=''
> ++ COL_BROWN=''
> ++ COL_LIGHT_GRAY=''
> ++ COL_DARK_GRAY=''
> ++ TICK='[✓]'
> ++ CROSS='[✗]'
> ++ INFO='[i]'
> ++ QST='[?]'
> ++ DONE=' done!'
> ++ OVER='\r'
> + regexconverter=/opt/pihole/wildcard_regex_converter.sh
> + source /opt/pihole/wildcard_regex_converter.sh
> ++ wildcardFile=/etc/dnsmasq.d/03-pihole-wildcard.conf
> + basename=pihole
> + PIHOLE_COMMAND=/usr/local/bin/pihole
> + piholeDir=/etc/pihole
> + adListFile=/etc/pihole/adlists.list
> + adListDefault=/etc/pihole/adlists.default
> + whitelistFile=/etc/pihole/whitelist.txt
> + blacklistFile=/etc/pihole/blacklist.txt
> + regexFile=/etc/pihole/regex.list
> + adList=/etc/pihole/gravity.list
> + blackList=/etc/pihole/black.list
> + localList=/etc/pihole/local.list
> + VPNList=/etc/openvpn/ipp.txt
> + domainsExtension=domains
> + matterAndLight=pihole.0.matterandlight.txt
> + parsedMatter=pihole.1.parsedmatter.txt
> + whitelistMatter=pihole.2.whitelistmatter.txt
> + accretionDisc=pihole.3.accretionDisc.txt
> + preEventHorizon=list.preEventHorizon
> + skipDownload=false
> + resolver=pihole-FTL
> + haveSourceUrls=true
> + setupVars=/etc/pihole/setupVars.conf
> + [[ -f /etc/pihole/setupVars.conf ]]
> + source /etc/pihole/setupVars.conf
> ++ WEBPASSWORD=cfec63566437fbea2e233fb7f093843087cab31ed11a31bd68b7c035f8c23d88
> ++ PIHOLE_INTERFACE=eth0
> ++ IPV4_ADDRESS=194.99.21.232/24
> ++ IPV6_ADDRESS=
> ++ PIHOLE_DNS_1=8.8.8.8
> ++ PIHOLE_DNS_2=8.8.4.4
> ++ QUERY_LOGGING=true
> ++ INSTALL_WEB_SERVER=true
> ++ INSTALL_WEB_INTERFACE=true
> ++ LIGHTTPD_ENABLED=true
> + IPV4_ADDRESS=194.99.21.232
> + IPV6_ADDRESS=
> + [[ -z 194.99.21.232 ]]
> + [[ -r /etc/pihole/pihole.conf ]]
> + gravity_Trap
> + trap '{ echo -e "\\n\\n  ${INFO} ${COL_LIGHT_RED}User-abort detected${COL_NC}"; gravity_Cleanup "error"; }' INT
> + [[ '' == true ]]
> + [[ false == false ]]
> + gravity_CheckDNSResolutionAvailable
> + local lookupDomain=pi.hole
> + [[ ! -e /etc/pihole/local.list ]]
> + timeout 1 getent hosts pi.hole
> + [[ -n '' ]]
> + timeout 1 dig +short pi.hole
> + [[ -n '' ]]
> + pidof pihole-FTL
> + echo -e '  [✗] DNS resolution is currently unavailable'
>   [✗] DNS resolution is currently unavailable
> + secs=120
> + echo -ne '  [i] Time until retry: 120'
>   [i] Time until retry: 120+ timeout 1 getent hosts pi.hole
> + [[ 120 -eq 0 ]]
> + echo -ne '\r  [i] Time until retry: 120'
>   [i] Time until retry: 120+ : 120
> + sleep 1
> + timeout 1 getent hosts pi.hole
> + [[ 119 -eq 0 ]]
> + echo -ne '\r  [i] Time until retry: 119'
>   [i] Time until retry: 119+ : 119
> + sleep 1
> + timeout 1 getent hosts pi.hole
> [...]
> [...]
> + echo -ne '\r  [i] Time until retry: 2'
>   [i] Time until retry: 2+ : 2
> + sleep 1
> + timeout 1 getent hosts pi.hole
> + [[ 1 -eq 0 ]]
> + echo -ne '\r  [i] Time until retry: 1'
>   [i] Time until retry: 1+ : 1
> + sleep 1
> + timeout 1 getent hosts pi.hole
> + [[ 0 -eq 0 ]]
> + break
> + gravity_CheckDNSResolutionAvailable
> + local lookupDomain=pi.hole
> + [[ ! -e /etc/pihole/local.list ]]
> + timeout 1 getent hosts pi.hole
> + [[ -n 0 ]]
> + echo -e '\r  [✗] DNS resolution is not available'
>   [✗] DNS resolution is not available
> + exit 1

Body is limited to 40000 characters; you entered 51726.

> root@mvps-vm1:~ # echo "nameserver 1.1.1.1" > /etc/resolv.conf

> root@mvps-vm1:~ # cat /etc/resolv.conf
> nameserver 1.1.1.1

> root@mvps-vm1:~ # bash -x /opt/pihole/gravity.sh
> + export LC_ALL=C
> + LC_ALL=C
> + coltable=/opt/pihole/COL_TABLE
> + source /opt/pihole/COL_TABLE
> ++ [[ -t 1 ]]
> +++ tput colors
> ++ [[ 8 -ge 8 ]]
> ++ COL_BOLD=''
> ++ COL_ULINE=''
> ++ COL_NC=''
> ++ COL_GRAY=''
> ++ COL_RED=''
> ++ COL_GREEN=''
> ++ COL_YELLOW=''
> ++ COL_BLUE=''
> ++ COL_PURPLE=''
> ++ COL_CYAN=''
> ++ COL_WHITE=''
> ++ COL_BLACK=''
> ++ COL_LIGHT_BLUE=''
> ++ COL_LIGHT_GREEN=''
> ++ COL_LIGHT_CYAN=''
> ++ COL_LIGHT_RED=''
> ++ COL_URG_RED=''
> ++ COL_LIGHT_PURPLE=''
> ++ COL_BROWN=''
> ++ COL_LIGHT_GRAY=''
> ++ COL_DARK_GRAY=''
> ++ TICK='[✓]'
> ++ CROSS='[✗]'
> ++ INFO='[i]'
> ++ QST='[?]'
> ++ DONE=' done!'
> ++ OVER='\r'
> + regexconverter=/opt/pihole/wildcard_regex_converter.sh
> + source /opt/pihole/wildcard_regex_converter.sh
> ++ wildcardFile=/etc/dnsmasq.d/03-pihole-wildcard.conf
> + basename=pihole
> + PIHOLE_COMMAND=/usr/local/bin/pihole
> + piholeDir=/etc/pihole
> + adListFile=/etc/pihole/adlists.list
> + adListDefault=/etc/pihole/adlists.default
> + whitelistFile=/etc/pihole/whitelist.txt
> + blacklistFile=/etc/pihole/blacklist.txt
> + regexFile=/etc/pihole/regex.list
> + adList=/etc/pihole/gravity.list
> + blackList=/etc/pihole/black.list
> + localList=/etc/pihole/local.list
> + VPNList=/etc/openvpn/ipp.txt
> + domainsExtension=domains
> + matterAndLight=pihole.0.matterandlight.txt
> + parsedMatter=pihole.1.parsedmatter.txt
> + whitelistMatter=pihole.2.whitelistmatter.txt
> + accretionDisc=pihole.3.accretionDisc.txt
> + preEventHorizon=list.preEventHorizon
> + skipDownload=false
> + resolver=pihole-FTL
> + haveSourceUrls=true
> + setupVars=/etc/pihole/setupVars.conf
> + [[ -f /etc/pihole/setupVars.conf ]]
> + source /etc/pihole/setupVars.conf
> ++ WEBPASSWORD=cfec63566437fbea2e233fb7f093843087cab31ed11a31bd68b7c035f8c23d88
> ++ PIHOLE_INTERFACE=eth0
> ++ IPV4_ADDRESS=194.99.21.232/24
> ++ IPV6_ADDRESS=
> ++ PIHOLE_DNS_1=8.8.8.8
> ++ PIHOLE_DNS_2=8.8.4.4
> ++ QUERY_LOGGING=true
> ++ INSTALL_WEB_SERVER=true
> ++ INSTALL_WEB_INTERFACE=true
> ++ LIGHTTPD_ENABLED=true
> + IPV4_ADDRESS=194.99.21.232
> + IPV6_ADDRESS=
> + [[ -z 194.99.21.232 ]]
> + [[ -r /etc/pihole/pihole.conf ]]
> + gravity_Trap
> + trap '{ echo -e "\\n\\n  ${INFO} ${COL_LIGHT_RED}User-abort detected${COL_NC}"; gravity_Cleanup "error"; }' INT
> + [[ '' == true ]]
> + [[ false == false ]]
> + gravity_CheckDNSResolutionAvailable
> + local lookupDomain=pi.hole
> + [[ ! -e /etc/pihole/local.list ]]
> + timeout 1 getent hosts pi.hole
> + [[ -n '' ]]
> + return 0
> + gravity_GetBlocklistUrls
> + echo -e '  [i] Neutrino emissions detected...'
>   [i] Neutrino emissions detected...
> + [[ -f /etc/pihole/adlists.default ]]
> + mapfile -t sources
> ++ grep -v -E '^(#|$)' /etc/pihole/adlists.list
> + mapfile -t sourceDomains
> ++ awk -F '[/:]' '{
>       # Remove URL protocol & optional username:password@
>       gsub(/(.*:\/\/|.*:.*@)/, "", $0)
>       if(length($1)>0){print $1}
>       else {print "local"}
>     }'
> +++ printf '%s\n' 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://github.com/crazy-max/WindowsSpyBlocker/blob/master/data/hosts/spy.txt http://localhost/adblock.hosts https://raw.githubusercontent.com/reek/anti-adblock-killer/master/anti-adblock-killer-filters.txt https://raw.githubusercontent.com/quidsup/notrack/master/trackers.txt
> + local 'str=Pulling blocklist source list into range'
> + [[ -n 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://github.com/crazy-max/WindowsSpyBlocker/blob/master/data/hosts/spy.txt http://localhost/adblock.hosts https://raw.githubusercontent.com/reek/anti-adblock-killer/master/anti-adblock-killer-filters.txt https://raw.githubusercontent.com/quidsup/notrack/master/trackers.txt ]]
> + [[ -n raw.githubusercontent.com mirror1.malwaredomains.com sysctl.org zeustracker.abuse.ch s3.amazonaws.com s3.amazonaws.com hosts-file.net github.com localhost raw.githubusercontent.com raw.githubusercontent.com ]]
> + echo -e '\r  [✓] Pulling blocklist source list into range'
>   [✓] Pulling blocklist source list into range
> + [[ true == true ]]
> + gravity_SetDownloadOptions
> + local url domain agent cmd_ext str
> + echo ''
> 
> + (( i = 0 ))
> + (( i < 11 ))
> + url=https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
> + domain=raw.githubusercontent.com
> + saveLocation=/etc/pihole/list.0.raw.githubusercontent.com.domains
> + activeDomains[$i]=/etc/pihole/list.0.raw.githubusercontent.com.domains
> + agent='Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2227.0 Safari/537.36'
> + case "${domain}" in
> + cmd_ext=
> + [[ false == false ]]
> + echo -e '  [i] Target: raw.githubusercontent.com (hosts)'
>   [i] Target: raw.githubusercontent.com (hosts)
> + gravity_DownloadBlocklistFromUrl https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts '' 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2227.0 Safari/537.36'
> + local url=https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts cmd_ext= 'agent=Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2227.0 Safari/537.36' heisenbergCompensator= patternBuffer str httpCode success=
> ++ mktemp -p /tmp --suffix=.phgpb
> + patternBuffer=/tmp/tmp.idK8IX3Khy.phgpb
> + [[ -r /etc/pihole/list.0.raw.githubusercontent.com.domains ]]
> + str=Status:
> + echo -ne '  [i] Status: Pending...'
>   [i] Status: Pending...++ curl -s -L -w '%{http_code}' -A 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2227.0 Safari/537.36' https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts -o /tmp/tmp.idK8IX3Khy.phgpb
> + httpCode=200
> + case $url in
> + case "${httpCode}" in
> + echo -e '\r  [✓] Status: Retrieval successful'
>   [✓] Status: Retrieval successful
> + success=true
> + [[ true == true ]]
> + [[ 200 == \3\0\4 ]]
> + [[ -s /tmp/tmp.idK8IX3Khy.phgpb ]]
> + gravity_ParseFileIntoDomains /tmp/tmp.idK8IX3Khy.phgpb /etc/pihole/list.0.raw.githubusercontent.com.domains
> + local source=/tmp/tmp.idK8IX3Khy.phgpb destination=/etc/pihole/list.0.raw.githubusercontent.com.domains firstLine abpFilter
> + [[ /tmp/tmp.idK8IX3Khy.phgpb == \/\e\t\c\/\p\i\h\o\l\e\/\p\i\h\o\l\e\.\0\.\m\a\t\t\e\r\a\n\d\l\i\g\h\t\.\t\x\t ]]
> + read -r firstLine
> + [[ # this hosts file is a merged collection of hosts from reputable sources, =~ (adblock|ublock|^!) ]]
> + grep -q '^address=/' /tmp/tmp.idK8IX3Khy.phgpb
> + grep -q -E '^https?://' /tmp/tmp.idK8IX3Khy.phgpb
> + output='++ mv /tmp/tmp.idK8IX3Khy.phgpb /etc/pihole/list.0.raw.githubusercontent.com.domains'
> + [[ ! -e /etc/pihole/list.0.raw.githubusercontent.com.domains ]]
> + echo ''
> 
> + (( i++ ))
> + (( i < 11 ))
> + url=https://mirror1.malwaredomains.com/files/justdomains
> + domain=mirror1.malwaredomains.com
> + saveLocation=/etc/pihole/list.1.mirror1.malwaredomains.com.domains
> + activeDomains[$i]=/etc/pihole/list.1.mirror1.malwaredomains.com.domains
> + agent='Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2227.0 Safari/537.36'
> + case "${domain}" in
> + cmd_ext=
> + [[ false == false ]]
> + echo -e '  [i] Target: mirror1.malwaredomains.com (justdomains)'
>   [i] Target: mirror1.malwaredomains.com (justdomains)
> + gravity_DownloadBlocklistFromUrl https://mirror1.malwaredomains.com/files/justdomains '' 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2227.0 Safari/537.36'
> + local url=https://mirror1.malwaredomains.com/files/justdomains cmd_ext= 'agent=Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2227.0 Safari/537.36' heisenbergCompensator= patternBuffer str httpCode success=
> ++ mktemp -p /tmp --suffix=.phgpb
> + patternBuffer=/tmp/tmp.aIGcUlCwym.phgpb
> + [[ -r /etc/pihole/list.1.mirror1.malwaredomains.com.domains ]]
> + str=Status:
> + echo -ne '  [i] Status: Pending...'
>   [i] Status: Pending...++ curl -s -L -w '%{http_code}' -A 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2227.0 Safari/537.36' https://mirror1.malwaredomains.com/files/justdomains -o /tmp/tmp.aIGcUlCwym.phgpb
> + httpCode=200
> + case $url in
> + case "${httpCode}" in
> + echo -e '\r  [✓] Status: Retrieval successful'
>   [✓] Status: Retrieval successful
> + success=true
> + [[ true == true ]]
> + [[ 200 == \3\0\4 ]]
> + [[ -s /tmp/tmp.aIGcUlCwym.phgpb ]]
> + gravity_ParseFileIntoDomains /tmp/tmp.aIGcUlCwym.phgpb /etc/pihole/list.1.mirror1.malwaredomains.com.domains
> + local source=/tmp/tmp.aIGcUlCwym.phgpb destination=/etc/pihole/list.1.mirror1.malwaredomains.com.domains firstLine abpFilter
> + [[ /tmp/tmp.aIGcUlCwym.phgpb == \/\e\t\c\/\p\i\h\o\l\e\/\p\i\h\o\l\e\.\0\.\m\a\t\t\e\r\a\n\d\l\i\g\h\t\.\t\x\t ]]
> + read -r firstLine
> + [[ amazon.co.uk.security-check.ga =~ (adblock|ublock|^!) ]]
> + grep -q '^address=/' /tmp/tmp.aIGcUlCwym.phgpb
> + grep -q -E '^https?://' /tmp/tmp.aIGcUlCwym.phgpb
> + output='++ mv /tmp/tmp.aIGcUlCwym.phgpb /etc/pihole/list.1.mirror1.malwaredomains.com.domains'
> + [[ ! -e /etc/pihole/list.1.mirror1.malwaredomains.com.domains ]]
> + echo ''
> 
> + (( i++ ))
> + (( i < 11 ))
> + url=http://sysctl.org/cameleon/hosts
> + domain=sysctl.org
> + saveLocation=/etc/pihole/list.2.sysctl.org.domains
> + activeDomains[$i]=/etc/pihole/list.2.sysctl.org.domains
> + agent='Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2227.0 Safari/537.36'
> + case "${domain}" in
> + cmd_ext=
> + [[ false == false ]]
> + echo -e '  [i] Target: sysctl.org (hosts)'
>   [i] Target: sysctl.org (hosts)
> + gravity_DownloadBlocklistFromUrl http://sysctl.org/cameleon/hosts '' 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2227.0 Safari/537.36'
> + local url=http://sysctl.org/cameleon/hosts cmd_ext= 'agent=Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2227.0 Safari/537.36' heisenbergCompensator= patternBuffer str httpCode success=
> ++ mktemp -p /tmp --suffix=.phgpb
> + patternBuffer=/tmp/tmp.8HZ2HyCmUj.phgpb
> + [[ -r /etc/pihole/list.2.sysctl.org.domains ]]
> + str=Status:
> + echo -ne '  [i] Status: Pending...'
>   [i] Status: Pending...++ curl -s -L -w '%{http_code}' -A 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2227.0 Safari/537.36' http://sysctl.org/cameleon/hosts -o /tmp/tmp.8HZ2HyCmUj.phgpb
> + httpCode=200
> + case $url in
> + case "${httpCode}" in
> + echo -e '\r  [✓] Status: Retrieval successful'
>   [✓] Status: Retrieval successful
> + success=true
> + [[ true == true ]]
> + [[ 200 == \3\0\4 ]]
> + [[ -s /tmp/tmp.8HZ2HyCmUj.phgpb ]]
> + gravity_ParseFileIntoDomains /tmp/tmp.8HZ2HyCmUj.phgpb /etc/pihole/list.2.sysctl.org.domains
> + local source=/tmp/tmp.8HZ2HyCmUj.phgpb destination=/etc/pihole/list.2.sysctl.org.domains firstLine abpFilter
> + [[ /tmp/tmp.8HZ2HyCmUj.phgpb == \/\e\t\c\/\p\i\h\o\l\e\/\p\i\h\o\l\e\.\0\.\m\a\t\t\e\r\a\n\d\l\i\g\h\t\.\t\x\t ]]
> + read -r firstLine
> + [[ # last updated : 2018-03-17 =~ (adblock|ublock|^!) ]]
> + grep -q '^address=/' /tmp/tmp.8HZ2HyCmUj.phgpb
> + grep -q -E '^https?://' /tmp/tmp.8HZ2HyCmUj.phgpb
> + output='++ mv /tmp/tmp.8HZ2HyCmUj.phgpb /etc/pihole/list.2.sysctl.org.domains'
> + [[ ! -e /etc/pihole/list.2.sysctl.org.domains ]]
> + echo ''
> 
> + (( i++ ))
> + (( i < 11 ))
> + url='https://zeustracker.abuse.ch/blocklist.php?download=domainblocklist'
> + domain=zeustracker.abuse.ch
> + saveLocation=/etc/pihole/list.3.zeustracker.abuse.ch.domains
> + activeDomains[$i]=/etc/pihole/list.3.zeustracker.abuse.ch.domains
> + agent='Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2227.0 Safari/537.36'
> + case "${domain}" in
> + cmd_ext=
> + [[ false == false ]]
> + echo -e '  [i] Target: zeustracker.abuse.ch (blocklist.php?download=domainblocklist)'
>   [i] Target: zeustracker.abuse.ch (blocklist.php?download=domainblocklist)
> + gravity_DownloadBlocklistFromUrl 'https://zeustracker.abuse.ch/blocklist.php?download=domainblocklist' '' 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2227.0 Safari/537.36'
> + local 'url=https://zeustracker.abuse.ch/blocklist.php?download=domainblocklist' cmd_ext= 'agent=Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2227.0 Safari/537.36' heisenbergCompensator= patternBuffer str httpCode success=
> ++ mktemp -p /tmp --suffix=.phgpb
> + patternBuffer=/tmp/tmp.qJCStCV47f.phgpb
> + [[ -r /etc/pihole/list.3.zeustracker.abuse.ch.domains ]]
> + str=Status:
> + echo -ne '  [i] Status: Pending...'
>   [i] Status: Pending...++ curl -s -L -w '%{http_code}' -A 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2227.0 Safari/537.36' 'https://zeustracker.abuse.ch/blocklist.php?download=domainblocklist' -o /tmp/tmp.qJCStCV47f.phgpb
> + httpCode=200
> + case $url in
> + case "${httpCode}" in
> + echo -e '\r  [✓] Status: Retrieval successful'
>   [✓] Status: Retrieval successful
> + success=true
> + [[ true == true ]]
> + [[ 200 == \3\0\4 ]]
> + [[ -s /tmp/tmp.qJCStCV47f.phgpb ]]
> + gravity_ParseFileIntoDomains /tmp/tmp.qJCStCV47f.phgpb /etc/pihole/list.3.zeustracker.abuse.ch.domains
> + local source=/tmp/tmp.qJCStCV47f.phgpb destination=/etc/pihole/list.3.zeustracker.abuse.ch.domains firstLine abpFilter
> + [[ /tmp/tmp.qJCStCV47f.phgpb == \/\e\t\c\/\p\i\h\o\l\e\/\p\i\h\o\l\e\.\0\.\m\a\t\t\e\r\a\n\d\l\i\g\h\t\.\t\x\t ]]
> + read -r firstLine
> + [[ ############################################################################## =~ (adblock|ublock|^!) ]]
> + grep -q '^address=/' /tmp/tmp.qJCStCV47f.phgpb
> + grep -q -E '^https?://' /tmp/tmp.qJCStCV47f.phgpb
> + output='++ mv /tmp/tmp.qJCStCV47f.phgpb /etc/pihole/list.3.zeustracker.abuse.ch.domains'
> + [[ ! -e /etc/pihole/list.3.zeustracker.abuse.ch.domains ]]
> + echo ''
> 
> + (( i++ ))
> + (( i < 11 ))
> + url=https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt
> + domain=s3.amazonaws.com
> + saveLocation=/etc/pihole/list.4.s3.amazonaws.com.domains
> + activeDomains[$i]=/etc/pihole/list.4.s3.amazonaws.com.domains
> + agent='Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2227.0 Safari/537.36'
> + case "${domain}" in
> + cmd_ext=
> + [[ false == false ]]
> + echo -e '  [i] Target: s3.amazonaws.com (simple_tracking.txt)'
>   [i] Target: s3.amazonaws.com (simple_tracking.txt)
> + gravity_DownloadBlocklistFromUrl https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt '' 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2227.0 Safari/537.36'
> + local url=https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt cmd_ext= 'agent=Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2227.0 Safari/537.36' heisenbergCompensator= patternBuffer str httpCode success=
> ++ mktemp -p /tmp --suffix=.phgpb
> + patternBuffer=/tmp/tmp.8Ei3H377Av.phgpb
> + [[ -r /etc/pihole/list.4.s3.amazonaws.com.domains ]]
> + str=Status:
> + echo -ne '  [i] Status: Pending...'
>   [i] Status: Pending...++ curl -s -L -w '%{http_code}' -A 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2227.0 Safari/537.36' https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt -o /tmp/tmp.8Ei3H377Av.phgpb
> + httpCode=200
> + case $url in
> + case "${httpCode}" in
> + echo -e '\r  [✓] Status: Retrieval successful'
>   [✓] Status: Retrieval successful
> + success=true
> + [[ true == true ]]
> + [[ 200 == \3\0\4 ]]
> + [[ -s /tmp/tmp.8Ei3H377Av.phgpb ]]
> + gravity_ParseFileIntoDomains /tmp/tmp.8Ei3H377Av.phgpb /etc/pihole/list.4.s3.amazonaws.com.domains
> + local source=/tmp/tmp.8Ei3H377Av.phgpb destination=/etc/pihole/list.4.s3.amazonaws.com.domains firstLine abpFilter
> + [[ /tmp/tmp.8Ei3H377Av.phgpb == \/\e\t\c\/\p\i\h\o\l\e\/\p\i\h\o\l\e\.\0\.\m\a\t\t\e\r\a\n\d\l\i\g\h\t\.\t\x\t ]]
> + read -r firstLine
> + [[ # basic tracking list by disconnect =~ (adblock|ublock|^!) ]]
> + grep -q '^address=/' /tmp/tmp.8Ei3H377Av.phgpb
> + grep -q -E '^https?://' /tmp/tmp.8Ei3H377Av.phgpb
> + output='++ mv /tmp/tmp.8Ei3H377Av.phgpb /etc/pihole/list.4.s3.amazonaws.com.domains'
> + [[ ! -e /etc/pihole/list.4.s3.amazonaws.com.domains ]]
> + echo ''
> 
> + (( i++ ))
> + (( i < 11 ))
> + url=https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt
> + domain=s3.amazonaws.com
> + saveLocation=/etc/pihole/list.5.s3.amazonaws.com.domains
> + activeDomains[$i]=/etc/pihole/list.5.s3.amazonaws.com.domains
> + agent='Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2227.0 Safari/537.36'
> + case "${domain}" in
> + cmd_ext=
> + [[ false == false ]]
> + echo -e '  [i] Target: s3.amazonaws.com (simple_ad.txt)'
>   [i] Target: s3.amazonaws.com (simple_ad.txt)
> + gravity_DownloadBlocklistFromUrl https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt '' 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2227.0 Safari/537.36'
> + local url=https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt cmd_ext= 'agent=Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2227.0 Safari/537.36' heisenbergCompensator= patternBuffer str httpCode success=
> ++ mktemp -p /tmp --suffix=.phgpb
> + patternBuffer=/tmp/tmp.TPtfh2iHkB.phgpb
> + [[ -r /etc/pihole/list.5.s3.amazonaws.com.domains ]]
> + str=Status:
> + echo -ne '  [i] Status: Pending...'
>   [i] Status: Pending...++ curl -s -L -w '%{http_code}' -A 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2227.0 Safari/537.36' https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt -o /tmp/tmp.TPtfh2iHkB.phgpb
> + httpCode=200
> + case $url in
> + case "${httpCode}" in
> + echo -e '\r  [✓] Status: Retrieval successful'
>   [✓] Status: Retrieval successful
> + success=true
> + [[ true == true ]]
> + [[ 200 == \3\0\4 ]]
> + [[ -s /tmp/tmp.TPtfh2iHkB.phgpb ]]
> + gravity_ParseFileIntoDomains /tmp/tmp.TPtfh2iHkB.phgpb /etc/pihole/list.5.s3.amazonaws.com.domains
> + local source=/tmp/tmp.TPtfh2iHkB.phgpb destination=/etc/pihole/list.5.s3.amazonaws.com.domains firstLine abpFilter
> + [[ /tmp/tmp.TPtfh2iHkB.phgpb == \/\e\t\c\/\p\i\h\o\l\e\/\p\i\h\o\l\e\.\0\.\m\a\t\t\e\r\a\n\d\l\i\g\h\t\.\t\x\t ]]
> + read -r firstLine
> + [[ # ad filter list by disconnect =~ (adblock|ublock|^!) ]]
> + grep -q '^address=/' /tmp/tmp.TPtfh2iHkB.phgpb
> + grep -q -E '^https?://' /tmp/tmp.TPtfh2iHkB.phgpb
> + output='++ mv /tmp/tmp.TPtfh2iHkB.phgpb /etc/pihole/list.5.s3.amazonaws.com.domains'
> + [[ ! -e /etc/pihole/list.5.s3.amazonaws.com.domains ]]
> + echo ''
> 
> + (( i++ ))
> + (( i < 11 ))
> + url=https://hosts-file.net/ad_servers.txt
> + domain=hosts-file.net
> + saveLocation=/etc/pihole/list.6.hosts-file.net.domains
> + activeDomains[$i]=/etc/pihole/list.6.hosts-file.net.domains
> + agent='Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2227.0 Safari/537.36'
> + case "${domain}" in
> + cmd_ext=
> + [[ false == false ]]
> + echo -e '  [i] Target: hosts-file.net (ad_servers.txt)'
>   [i] Target: hosts-file.net (ad_servers.txt)
> + gravity_DownloadBlocklistFromUrl https://hosts-file.net/ad_servers.txt '' 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2227.0 Safari/537.36'
> + local url=https://hosts-file.net/ad_servers.txt cmd_ext= 'agent=Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2227.0 Safari/537.36' heisenbergCompensator= patternBuffer str httpCode success=
> ++ mktemp -p /tmp --suffix=.phgpb
> + patternBuffer=/tmp/tmp.HVPDL6lL7i.phgpb
> + [[ -r /etc/pihole/list.6.hosts-file.net.domains ]]
> + str=Status:
> + echo -ne '  [i] Status: Pending...'
>   [i] Status: Pending...++ curl -s -L -w '%{http_code}' -A 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2227.0 Safari/537.36' https://hosts-file.net/ad_servers.txt -o /tmp/tmp.HVPDL6lL7i.phgpb
> + httpCode=200
> + case $url in
> + case "${httpCode}" in
> + echo -e '\r  [✓] Status: Retrieval successful'
>   [✓] Status: Retrieval successful
> + success=true
> + [[ true == true ]]
> + [[ 200 == \3\0\4 ]]
> + [[ -s /tmp/tmp.HVPDL6lL7i.phgpb ]]
> + gravity_ParseFileIntoDomains /tmp/tmp.HVPDL6lL7i.phgpb /etc/pihole/list.6.hosts-file.net.domains
> + local source=/tmp/tmp.HVPDL6lL7i.phgpb destination=/etc/pihole/list.6.hosts-file.net.domains firstLine abpFilter
> + [[ /tmp/tmp.HVPDL6lL7i.phgpb == \/\e\t\c\/\p\i\h\o\l\e\/\p\i\h\o\l\e\.\0\.\m\a\t\t\e\r\a\n\d\l\i\g\h\t\.\t\x\t ]]
> + read -r firstLine
>  =~ (adblock|ublock|^!) ]]acking servers only
> + grep -q '^address=/' /tmp/tmp.HVPDL6lL7i.phgpb
> + grep -q -E '^https?://' /tmp/tmp.HVPDL6lL7i.phgpb
> + output='++ mv /tmp/tmp.HVPDL6lL7i.phgpb /etc/pihole/list.6.hosts-file.net.domains'
> + [[ ! -e /etc/pihole/list.6.hosts-file.net.domains ]]
> + echo ''
> 
> + (( i++ ))
> + (( i < 11 ))
> + url=https://github.com/crazy-max/WindowsSpyBlocker/blob/master/data/hosts/spy.txt
> + domain=github.com
> + saveLocation=/etc/pihole/list.7.github.com.domains
> + activeDomains[$i]=/etc/pihole/list.7.github.com.domains
> + agent='Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2227.0 Safari/537.36'
> + case "${domain}" in
> + cmd_ext=
> + [[ false == false ]]
> + echo -e '  [i] Target: github.com (spy.txt)'
>   [i] Target: github.com (spy.txt)
> + gravity_DownloadBlocklistFromUrl https://github.com/crazy-max/WindowsSpyBlocker/blob/master/data/hosts/spy.txt '' 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2227.0 Safari/537.36'
> + local url=https://github.com/crazy-max/WindowsSpyBlocker/blob/master/data/hosts/spy.txt cmd_ext= 'agent=Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2227.0 Safari/537.36' heisenbergCompensator= patternBuffer str httpCode success=
> ++ mktemp -p /tmp --suffix=.phgpb
> + patternBuffer=/tmp/tmp.CupjizWUoG.phgpb
> + [[ -r /etc/pihole/list.7.github.com.domains ]]
> + str=Status:
> + echo -ne '  [i] Status: Pending...'
>   [i] Status: Pending...++ curl -s -L -w '%{http_code}' -A 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2227.0 Safari/537.36' https://github.com/crazy-max/WindowsSpyBlocker/blob/master/data/hosts/spy.txt -o /tmp/tmp.CupjizWUoG.phgpb
> + httpCode=200
> + case $url in
> + case "${httpCode}" in
> + echo -e '\r  [✓] Status: Retrieval successful'
>   [✓] Status: Retrieval successful
> + success=true
> + [[ true == true ]]
> + [[ 200 == \3\0\4 ]]
> + [[ -s /tmp/tmp.CupjizWUoG.phgpb ]]
> + gravity_ParseFileIntoDomains /tmp/tmp.CupjizWUoG.phgpb /etc/pihole/list.7.github.com.domains
> + local source=/tmp/tmp.CupjizWUoG.phgpb destination=/etc/pihole/list.7.github.com.domains firstLine abpFilter
> + [[ /tmp/tmp.CupjizWUoG.phgpb == \/\e\t\c\/\p\i\h\o\l\e\/\p\i\h\o\l\e\.\0\.\m\a\t\t\e\r\a\n\d\l\i\g\h\t\.\t\x\t ]]
> + read -r firstLine
> + [[ '' =~ (adblock|ublock|^!) ]]
> + grep -q '^address=/' /tmp/tmp.CupjizWUoG.phgpb
> + grep -q -E '^https?://' /tmp/tmp.CupjizWUoG.phgpb
> + output='++ mv /tmp/tmp.CupjizWUoG.phgpb /etc/pihole/list.7.github.com.domains'
> + [[ ! -e /etc/pihole/list.7.github.com.domains ]]
> + echo ''

Body is limited to 40000 characters; you entered 47660.

> + (( i++ ))
> + (( i < 11 ))
> + url=http://localhost/adblock.hosts
> + domain=localhost
> + saveLocation=/etc/pihole/list.8.localhost.domains
> + activeDomains[$i]=/etc/pihole/list.8.localhost.domains
> + agent='Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2227.0 Safari/537.36'
> + case "${domain}" in
> + cmd_ext=
> + [[ false == false ]]
> + echo -e '  [i] Target: localhost (adblock.hosts)'
>   [i] Target: localhost (adblock.hosts)
> + gravity_DownloadBlocklistFromUrl http://localhost/adblock.hosts '' 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2227.0 Safari/537.36'
> + local url=http://localhost/adblock.hosts cmd_ext= 'agent=Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2227.0 Safari/537.36' heisenbergCompensator= patternBuffer str httpCode success=
> ++ mktemp -p /tmp --suffix=.phgpb
> + patternBuffer=/tmp/tmp.NoFFO8TyEk.phgpb
> + [[ -r /etc/pihole/list.8.localhost.domains ]]
> + str=Status:
> + echo -ne '  [i] Status: Pending...'
>   [i] Status: Pending...++ curl -s -L -w '%{http_code}' -A 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2227.0 Safari/537.36' http://localhost/adblock.hosts -o /tmp/tmp.NoFFO8TyEk.phgpb
> + httpCode=200
> + case $url in
> + case "${httpCode}" in
> + echo -e '\r  [✓] Status: Retrieval successful'
>   [✓] Status: Retrieval successful
> + success=true
> + [[ true == true ]]
> + [[ 200 == \3\0\4 ]]
> + [[ -s /tmp/tmp.NoFFO8TyEk.phgpb ]]
> + gravity_ParseFileIntoDomains /tmp/tmp.NoFFO8TyEk.phgpb /etc/pihole/list.8.localhost.domains
> + local source=/tmp/tmp.NoFFO8TyEk.phgpb destination=/etc/pihole/list.8.localhost.domains firstLine abpFilter
> + [[ /tmp/tmp.NoFFO8TyEk.phgpb == \/\e\t\c\/\p\i\h\o\l\e\/\p\i\h\o\l\e\.\0\.\m\a\t\t\e\r\a\n\d\l\i\g\h\t\.\t\x\t ]]
> + read -r firstLine
> + [[ 1l-hit.mail.ru =~ (adblock|ublock|^!) ]]
> + grep -q '^address=/' /tmp/tmp.NoFFO8TyEk.phgpb
> + grep -q -E '^https?://' /tmp/tmp.NoFFO8TyEk.phgpb
> + output='++ mv /tmp/tmp.NoFFO8TyEk.phgpb /etc/pihole/list.8.localhost.domains'
> + [[ ! -e /etc/pihole/list.8.localhost.domains ]]
> + echo ''
> 
> + (( i++ ))
> + (( i < 11 ))
> + url=https://raw.githubusercontent.com/reek/anti-adblock-killer/master/anti-adblock-killer-filters.txt
> + domain=raw.githubusercontent.com
> + saveLocation=/etc/pihole/list.9.raw.githubusercontent.com.domains
> + activeDomains[$i]=/etc/pihole/list.9.raw.githubusercontent.com.domains
> + agent='Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2227.0 Safari/537.36'
> + case "${domain}" in
> + cmd_ext=
> + [[ false == false ]]
> + echo -e '  [i] Target: raw.githubusercontent.com (anti-adblock-killer-filters.txt)'
>   [i] Target: raw.githubusercontent.com (anti-adblock-killer-filters.txt)
> + gravity_DownloadBlocklistFromUrl https://raw.githubusercontent.com/reek/anti-adblock-killer/master/anti-adblock-killer-filters.txt '' 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2227.0 Safari/537.36'
> + local url=https://raw.githubusercontent.com/reek/anti-adblock-killer/master/anti-adblock-killer-filters.txt cmd_ext= 'agent=Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2227.0 Safari/537.36' heisenbergCompensator= patternBuffer str httpCode success=
> ++ mktemp -p /tmp --suffix=.phgpb
> + patternBuffer=/tmp/tmp.DyXJ2BWl4Y.phgpb
> + [[ -r /etc/pihole/list.9.raw.githubusercontent.com.domains ]]
> + str=Status:
> + echo -ne '  [i] Status: Pending...'
>   [i] Status: Pending...++ curl -s -L -w '%{http_code}' -A 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2227.0 Safari/537.36' https://raw.githubusercontent.com/reek/anti-adblock-killer/master/anti-adblock-killer-filters.txt -o /tmp/tmp.DyXJ2BWl4Y.phgpb
> + httpCode=200
> + case $url in
> + case "${httpCode}" in
> + echo -e '\r  [✓] Status: Retrieval successful'
>   [✓] Status: Retrieval successful
> + success=true
> + [[ true == true ]]
> + [[ 200 == \3\0\4 ]]
> + [[ -s /tmp/tmp.DyXJ2BWl4Y.phgpb ]]
> + gravity_ParseFileIntoDomains /tmp/tmp.DyXJ2BWl4Y.phgpb /etc/pihole/list.9.raw.githubusercontent.com.domains
> + local source=/tmp/tmp.DyXJ2BWl4Y.phgpb destination=/etc/pihole/list.9.raw.githubusercontent.com.domains firstLine abpFilter
> + [[ /tmp/tmp.DyXJ2BWl4Y.phgpb == \/\e\t\c\/\p\i\h\o\l\e\/\p\i\h\o\l\e\.\0\.\m\a\t\t\e\r\a\n\d\l\i\g\h\t\.\t\x\t ]]
> + read -r firstLine
> + [[ [adblock plus 2.0] =~ (adblock|ublock|^!) ]]
> + echo -ne '  [i] Format: Adblock'
>   [i] Format: Adblock+ abpFilter='/^(\[|!)|^(\|\|.*\^)/'
> + awk '/^(\[|!)|^(\|\|.*\^)/ {
>       # Remove valid adblock type options
>       gsub(/\$?~?(important|third-party|popup|subdocument|websocket),?/, "", $0)
>       # Remove starting domain name anchor "||" and ending seperator "^"
>       gsub(/^(\|\|)|(\^)/, "", $0)
>       # Remove invalid characters (*/,=$)
>       if($0 ~ /[*\/,=\$]/) { $0="" }
>       # Remove lines which are only IPv4 addresses
>       if($0 ~ /^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$/) { $0="" }
>       if($0) { print $0 }
>     }' /tmp/tmp.DyXJ2BWl4Y.phgpb
> + grep -q '^@@||' /tmp/tmp.DyXJ2BWl4Y.phgpb
> + awk -F '[|^]' '/^@@\|\|.*\^/ {
>         # Remove valid adblock type options
>         gsub(/\$?~?(third-party)/, "", $0)
>         # Remove invalid characters (*/,=$)
>         if($0 ~ /[*\/,=\$]/) { $0="" }
>         if($3) { print $3 }
>       }' /tmp/tmp.DyXJ2BWl4Y.phgpb
> + comm -23 /etc/pihole/list.9.raw.githubusercontent.com.domains /dev/fd/63
> ++ sort /etc/pihole/list.9.raw.githubusercontent.com.domains.exceptionsFile.tmp
> comm: file 1 is not in sorted order
> + mv /tmp/tmp.DyXJ2BWl4Y.phgpb /etc/pihole/list.9.raw.githubusercontent.com.domains
> + echo -e '\r  [✓] Format: Adblock'
>   [✓] Format: Adblock
> + echo ''
> 
> + (( i++ ))
> + (( i < 11 ))
> + url=https://raw.githubusercontent.com/quidsup/notrack/master/trackers.txt
> + domain=raw.githubusercontent.com
> + saveLocation=/etc/pihole/list.10.raw.githubusercontent.com.domains
> + activeDomains[$i]=/etc/pihole/list.10.raw.githubusercontent.com.domains
> + agent='Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2227.0 Safari/537.36'
> + case "${domain}" in
> + cmd_ext=
> + [[ false == false ]]
> + echo -e '  [i] Target: raw.githubusercontent.com (trackers.txt)'
>   [i] Target: raw.githubusercontent.com (trackers.txt)
> + gravity_DownloadBlocklistFromUrl https://raw.githubusercontent.com/quidsup/notrack/master/trackers.txt '' 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2227.0 Safari/537.36'
> + local url=https://raw.githubusercontent.com/quidsup/notrack/master/trackers.txt cmd_ext= 'agent=Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2227.0 Safari/537.36' heisenbergCompensator= patternBuffer str httpCode success=
> ++ mktemp -p /tmp --suffix=.phgpb
> + patternBuffer=/tmp/tmp.7ehdGoyWLa.phgpb
> + [[ -r /etc/pihole/list.10.raw.githubusercontent.com.domains ]]
> + str=Status:
> + echo -ne '  [i] Status: Pending...'
>   [i] Status: Pending...++ curl -s -L -w '%{http_code}' -A 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2227.0 Safari/537.36' https://raw.githubusercontent.com/quidsup/notrack/master/trackers.txt -o /tmp/tmp.7ehdGoyWLa.phgpb
> + httpCode=200
> + case $url in
> + case "${httpCode}" in
> + echo -e '\r  [✓] Status: Retrieval successful'
>   [✓] Status: Retrieval successful
> + success=true
> + [[ true == true ]]
> + [[ 200 == \3\0\4 ]]
> + [[ -s /tmp/tmp.7ehdGoyWLa.phgpb ]]
> + gravity_ParseFileIntoDomains /tmp/tmp.7ehdGoyWLa.phgpb /etc/pihole/list.10.raw.githubusercontent.com.domains
> + local source=/tmp/tmp.7ehdGoyWLa.phgpb destination=/etc/pihole/list.10.raw.githubusercontent.com.domains firstLine abpFilter
> + [[ /tmp/tmp.7ehdGoyWLa.phgpb == \/\e\t\c\/\p\i\h\o\l\e\/\p\i\h\o\l\e\.\0\.\m\a\t\t\e\r\a\n\d\l\i\g\h\t\.\t\x\t ]]
> + read -r firstLine
> + [[ #title: notrack tracker blocklist =~ (adblock|ublock|^!) ]]
> + grep -q '^address=/' /tmp/tmp.7ehdGoyWLa.phgpb
> + grep -q -E '^https?://' /tmp/tmp.7ehdGoyWLa.phgpb
> + output='++ mv /tmp/tmp.7ehdGoyWLa.phgpb /etc/pihole/list.10.raw.githubusercontent.com.domains'
> + [[ ! -e /etc/pihole/list.10.raw.githubusercontent.com.domains ]]
> + echo ''
> 
> + (( i++ ))
> + (( i < 11 ))
> + gravity_Blackbody=true
> + gravity_ConsolidateDownloadedBlocklists
> + local str lastLine
> + str='Consolidating blocklists'
> + [[ true == true ]]
> + echo -ne '  [i] Consolidating blocklists...'
>   [i] Consolidating blocklists...+ :
> + for i in "${activeDomains[@]}"
> + [[ -r /etc/pihole/list.0.raw.githubusercontent.com.domains ]]
> + tr '[:upper:]' '[:lower:]'
> + tr -d '\r'
> ++ tail -1 /etc/pihole/pihole.0.matterandlight.txt
> + lastLine='# 0.0.0.0 example.com'
> + [[ 21 -gt 0 ]]
> + echo ''
> + for i in "${activeDomains[@]}"
> + [[ -r /etc/pihole/list.1.mirror1.malwaredomains.com.domains ]]
> + tr '[:upper:]' '[:lower:]'
> + tr -d '\r'
> ++ tail -1 /etc/pihole/pihole.0.matterandlight.txt
> + lastLine=winfreesupport.club
> + [[ 19 -gt 0 ]]
> + echo ''
> + for i in "${activeDomains[@]}"
> + [[ -r /etc/pihole/list.2.sysctl.org.domains ]]
> + tr '[:upper:]' '[:lower:]'
> + tr -d '\r'
> ++ tail -1 /etc/pihole/pihole.0.matterandlight.txt
> + lastLine='127.0.0.1    zzz.clickbank.net'
> + [[ 28 -gt 0 ]]
> + echo ''
> + for i in "${activeDomains[@]}"
> + [[ -r /etc/pihole/list.3.zeustracker.abuse.ch.domains ]]
> + tr '[:upper:]' '[:lower:]'
> + tr -d '\r'
> ++ tail -1 /etc/pihole/pihole.0.matterandlight.txt
> + lastLine=zetes.vdsinside.com
> + [[ 19 -gt 0 ]]
> + echo ''
> + for i in "${activeDomains[@]}"
> + [[ -r /etc/pihole/list.4.s3.amazonaws.com.domains ]]
> + tr '[:upper:]' '[:lower:]'
> + tr -d '\r'
> ++ tail -1 /etc/pihole/pihole.0.matterandlight.txt
> + lastLine=vungle.com
> + [[ 10 -gt 0 ]]
> + echo ''
> + for i in "${activeDomains[@]}"
> + [[ -r /etc/pihole/list.5.s3.amazonaws.com.domains ]]
> + tr '[:upper:]' '[:lower:]'
> + tr -d '\r'
> ++ tail -1 /etc/pihole/pihole.0.matterandlight.txt
> + lastLine=zumobi.com
> + [[ 10 -gt 0 ]]
> + echo ''
> + for i in "${activeDomains[@]}"
> + [[ -r /etc/pihole/list.6.hosts-file.net.domains ]]
> + tr '[:upper:]' '[:lower:]'
> + tr -d '\r'
> ++ tail -1 /etc/pihole/pihole.0.matterandlight.txt
> + lastLine='# hosts: 45740'
> + [[ 14 -gt 0 ]]
> + echo ''
> + for i in "${activeDomains[@]}"
> + [[ -r /etc/pihole/list.7.github.com.domains ]]
> + tr '[:upper:]' '[:lower:]'
> + tr -d '\r'
> ++ tail -1 /etc/pihole/pihole.0.matterandlight.txt
> + lastLine=
> + [[ 0 -gt 0 ]]
> + for i in "${activeDomains[@]}"
> + [[ -r /etc/pihole/list.8.localhost.domains ]]
> + tr '[:upper:]' '[:lower:]'
> + tr -d '\r'
> ++ tail -1 /etc/pihole/pihole.0.matterandlight.txt
> + lastLine=zws.avvo.com
> + [[ 12 -gt 0 ]]
> + echo ''
> + for i in "${activeDomains[@]}"
> + [[ -r /etc/pihole/list.9.raw.githubusercontent.com.domains ]]
> + tr '[:upper:]' '[:lower:]'
> + tr -d '\r'
> ++ tail -1 /etc/pihole/pihole.0.matterandlight.txt
> + lastLine='!'
> + [[ 1 -gt 0 ]]
> + echo ''
> + for i in "${activeDomains[@]}"
> + [[ -r /etc/pihole/list.10.raw.githubusercontent.com.domains ]]
> + tr '[:upper:]' '[:lower:]'
> + tr -d '\r'
> ++ tail -1 /etc/pihole/pihole.0.matterandlight.txt
> + lastLine='zzword.com #adobe'
> + [[ 17 -gt 0 ]]
> + echo ''
> + [[ true == true ]]
> + echo -e '\r  [✓] Consolidating blocklists'
>   [✓] Consolidating blocklists
> + gravity_SortAndFilterConsolidatedList
> + local str num
> + str='Extracting domains from blocklists'
> + [[ true == true ]]
> + echo -ne '  [i] Extracting domains from blocklists...'
>   [i] Extracting domains from blocklists...+ gravity_ParseFileIntoDomains /etc/pihole/pihole.0.matterandlight.txt /etc/pihole/pihole.1.parsedmatter.txt
> + local source=/etc/pihole/pihole.0.matterandlight.txt destination=/etc/pihole/pihole.1.parsedmatter.txt firstLine abpFilter
> + [[ /etc/pihole/pihole.0.matterandlight.txt == \/\e\t\c\/\p\i\h\o\l\e\/\p\i\h\o\l\e\.\0\.\m\a\t\t\e\r\a\n\d\l\i\g\h\t\.\t\x\t ]]
> + awk '($1 !~ /^#/) { if (NF>1) {print $2} else {print $1}}'
> + sed -nr -e 's/\.{2,}/./g' -e '/\./p'
> + awk -F / '{print $1}'
> + awk -F '#' '{print $1}'
> + return 0
> +++ wc -l
> ++ printf '%'\''.0f' 178814
> + num=178814
> + [[ true == true ]]
> + echo -e '\r  [✓] Extracting domains from blocklists'
>   [✓] Extracting domains from blocklists
> + echo -e '  [i] Number of domains being pulled in by gravity: 178814'
>   [i] Number of domains being pulled in by gravity: 178814
> + str='Removing duplicate domains'
> + [[ true == true ]]
> + echo -ne '  [i] Removing duplicate domains...'
>   [i] Removing duplicate domains...+ sort -u /etc/pihole/pihole.1.parsedmatter.txt
> + [[ true == true ]]
> + echo -e '\r  [✓] Removing duplicate domains'
>   [✓] Removing duplicate domains
> +++ wc -l
> ++ printf '%'\''.0f' 153099
> + num=153099
> + echo -e '  [i] Number of unique domains trapped in the Event Horizon: 153099'
>   [i] Number of unique domains trapped in the Event Horizon: 153099
> + [[ false == false ]]
> + gravity_Whitelist
> + local num str
> + [[ ! -f /etc/pihole/whitelist.txt ]]
> ++ wc -l
> + num=10
> + str='Number of whitelisted domains: 10'
> + echo -ne '  [i] Number of whitelisted domains: 10...'
>   [i] Number of whitelisted domains: 10...+ comm -23 /etc/pihole/list.preEventHorizon /dev/fd/63
> ++ sort /etc/pihole/whitelist.txt
> + echo -e '\r  [i] Number of whitelisted domains: 10'
>   [i] Number of whitelisted domains: 10
> + convert_wildcard_to_regex
> + '[' '!' -f /etc/dnsmasq.d/03-pihole-wildcard.conf ']'
> + return
> + gravity_ShowBlockCount
> + local num
> + [[ -f /etc/pihole/blacklist.txt ]]
> +++ wc -l
> ++ printf '%'\''.0f' 4
> + num=4
> + echo -e '  [i] Number of blacklisted domains: 4'
>   [i] Number of blacklisted domains: 4
> + [[ -f /etc/pihole/regex.list ]]
> ++ grep -c '^(?!#)' /etc/pihole/regex.list
> + num=0
> + echo -e '  [i] Number of regex filters: 0'
>   [i] Number of regex filters: 0
> + [[ false == false ]]
> + str='Parsing domains into hosts format'
> + echo -ne '  [i] Parsing domains into hosts format...'
>   [i] Parsing domains into hosts format...+ gravity_ParseUserDomains
> + [[ ! -f /etc/pihole/blacklist.txt ]]
> + cp /etc/pihole/blacklist.txt /etc/pihole/black.list
> + [[ ! '' == \b\l\a\c\k\l\i\s\t ]]
> + gravity_ParseLocalDomains
> + local hostname
> + [[ -s /etc/hostname ]]
> + hostname=mvps-vm1
> + echo -e 'mvps-vm1\npi.hole'
> + :
> + gravity_ParseDomainsIntoHosts /etc/pihole/local.list.tmp /etc/pihole/local.list
> + awk -v ipv4=194.99.21.232 -v ipv6= '{
>     #' Remove windows CR line endings
>     sub(/\r$/, "")
>     #' Parse each line as "ipaddr domain"
>     if(ipv6 && ipv4) {
>       print ipv4" "$0"\n"ipv6" "$0
>     } else if(!ipv6) {
>       print ipv4" "$0
>     } else {
>       print ipv6" "$0
>     }
>   }'
> + [[ -f /etc/openvpn/ipp.txt ]]
> + gravity_ParseBlacklistDomains
> + local output status
> + :
> + [[ -f /etc/pihole/pihole.2.whitelistmatter.txt ]]
> + mv /etc/pihole/pihole.2.whitelistmatter.txt /etc/pihole/pihole.3.accretionDisc.txt
> + output='++ mv /etc/pihole/pihole.3.accretionDisc.txt /etc/pihole/gravity.list'
> + status=0
> + [[ 0 -ne 0 ]]
> + echo -e '\r  [✓] Parsing domains into hosts format'
>   [✓] Parsing domains into hosts format
> + gravity_Cleanup
> + local error=
> + str='Cleaning up stray matter'
> + echo -ne '  [i] Cleaning up stray matter...'
>   [i] Cleaning up stray matter...+ rm /etc/pihole/pihole.0.matterandlight.txt /etc/pihole/pihole.1.parsedmatter.txt
> + rm /etc/pihole/list.9.raw.githubusercontent.com.domains.exceptionsFile.tmp /etc/pihole/local.list.tmp
> + rm '/tmp/*.phgpb'
> + [[ true == true ]]
> + for file in ${piholeDir}/*.${domainsExtension}
> + [[ ! /etc/pihole/list.0.raw.githubusercontent.com.domains /etc/pihole/list.1.mirror1.malwaredomains.com.domains /etc/pihole/list.2.sysctl.org.domains /etc/pihole/list.3.zeustracker.abuse.ch.domains /etc/pihole/list.4.s3.amazonaws.com.domains /etc/pihole/list.5.s3.amazonaws.com.domains /etc/pihole/list.6.hosts-file.net.domains /etc/pihole/list.7.github.com.domains /etc/pihole/list.8.localhost.domains /etc/pihole/list.9.raw.githubusercontent.com.domains /etc/pihole/list.10.raw.githubusercontent.com.domains == *\/\e\t\c\/\p\i\h\o\l\e\/\l\i\s\t\.\0\.\r\a\w\.\g\i\t\h\u\b\u\s\e\r\c\o\n\t\e\n\t\.\c\o\m\.\d\o\m\a\i\n\s* ]]
> + for file in ${piholeDir}/*.${domainsExtension}
> + [[ ! /etc/pihole/list.0.raw.githubusercontent.com.domains /etc/pihole/list.1.mirror1.malwaredomains.com.domains /etc/pihole/list.2.sysctl.org.domains /etc/pihole/list.3.zeustracker.abuse.ch.domains /etc/pihole/list.4.s3.amazonaws.com.domains /etc/pihole/list.5.s3.amazonaws.com.domains /etc/pihole/list.6.hosts-file.net.domains /etc/pihole/list.7.github.com.domains /etc/pihole/list.8.localhost.domains /etc/pihole/list.9.raw.githubusercontent.com.domains /etc/pihole/list.10.raw.githubusercontent.com.domains == *\/\e\t\c\/\p\i\h\o\l\e\/\l\i\s\t\.\1\.\m\i\r\r\o\r\1\.\m\a\l\w\a\r\e\d\o\m\a\i\n\s\.\c\o\m\.\d\o\m\a\i\n\s* ]]
> + for file in ${piholeDir}/*.${domainsExtension}
> + [[ ! /etc/pihole/list.0.raw.githubusercontent.com.domains /etc/pihole/list.1.mirror1.malwaredomains.com.domains /etc/pihole/list.2.sysctl.org.domains /etc/pihole/list.3.zeustracker.abuse.ch.domains /etc/pihole/list.4.s3.amazonaws.com.domains /etc/pihole/list.5.s3.amazonaws.com.domains /etc/pihole/list.6.hosts-file.net.domains /etc/pihole/list.7.github.com.domains /etc/pihole/list.8.localhost.domains /etc/pihole/list.9.raw.githubusercontent.com.domains /etc/pihole/list.10.raw.githubusercontent.com.domains == *\/\e\t\c\/\p\i\h\o\l\e\/\l\i\s\t\.\1\0\.\r\a\w\.\g\i\t\h\u\b\u\s\e\r\c\o\n\t\e\n\t\.\c\o\m\.\d\o\m\a\i\n\s* ]]
> + for file in ${piholeDir}/*.${domainsExtension}
> + [[ ! /etc/pihole/list.0.raw.githubusercontent.com.domains /etc/pihole/list.1.mirror1.malwaredomains.com.domains /etc/pihole/list.2.sysctl.org.domains /etc/pihole/list.3.zeustracker.abuse.ch.domains /etc/pihole/list.4.s3.amazonaws.com.domains /etc/pihole/list.5.s3.amazonaws.com.domains /etc/pihole/list.6.hosts-file.net.domains /etc/pihole/list.7.github.com.domains /etc/pihole/list.8.localhost.domains /etc/pihole/list.9.raw.githubusercontent.com.domains /etc/pihole/list.10.raw.githubusercontent.com.domains == *\/\e\t\c\/\p\i\h\o\l\e\/\l\i\s\t\.\2\.\s\y\s\c\t\l\.\o\r\g\.\d\o\m\a\i\n\s* ]]
> + for file in ${piholeDir}/*.${domainsExtension}
> + [[ ! /etc/pihole/list.0.raw.githubusercontent.com.domains /etc/pihole/list.1.mirror1.malwaredomains.com.domains /etc/pihole/list.2.sysctl.org.domains /etc/pihole/list.3.zeustracker.abuse.ch.domains /etc/pihole/list.4.s3.amazonaws.com.domains /etc/pihole/list.5.s3.amazonaws.com.domains /etc/pihole/list.6.hosts-file.net.domains /etc/pihole/list.7.github.com.domains /etc/pihole/list.8.localhost.domains /etc/pihole/list.9.raw.githubusercontent.com.domains /etc/pihole/list.10.raw.githubusercontent.com.domains == *\/\e\t\c\/\p\i\h\o\l\e\/\l\i\s\t\.\3\.\z\e\u\s\t\r\a\c\k\e\r\.\a\b\u\s\e\.\c\h\.\d\o\m\a\i\n\s* ]]
> + for file in ${piholeDir}/*.${domainsExtension}
> + [[ ! /etc/pihole/list.0.raw.githubusercontent.com.domains /etc/pihole/list.1.mirror1.malwaredomains.com.domains /etc/pihole/list.2.sysctl.org.domains /etc/pihole/list.3.zeustracker.abuse.ch.domains /etc/pihole/list.4.s3.amazonaws.com.domains /etc/pihole/list.5.s3.amazonaws.com.domains /etc/pihole/list.6.hosts-file.net.domains /etc/pihole/list.7.github.com.domains /etc/pihole/list.8.localhost.domains /etc/pihole/list.9.raw.githubusercontent.com.domains /etc/pihole/list.10.raw.githubusercontent.com.domains == *\/\e\t\c\/\p\i\h\o\l\e\/\l\i\s\t\.\4\.\s\3\.\a\m\a\z\o\n\a\w\s\.\c\o\m\.\d\o\m\a\i\n\s* ]]
> + for file in ${piholeDir}/*.${domainsExtension}
> + [[ ! /etc/pihole/list.0.raw.githubusercontent.com.domains /etc/pihole/list.1.mirror1.malwaredomains.com.domains /etc/pihole/list.2.sysctl.org.domains /etc/pihole/list.3.zeustracker.abuse.ch.domains /etc/pihole/list.4.s3.amazonaws.com.domains /etc/pihole/list.5.s3.amazonaws.com.domains /etc/pihole/list.6.hosts-file.net.domains /etc/pihole/list.7.github.com.domains /etc/pihole/list.8.localhost.domains /etc/pihole/list.9.raw.githubusercontent.com.domains /etc/pihole/list.10.raw.githubusercontent.com.domains == *\/\e\t\c\/\p\i\h\o\l\e\/\l\i\s\t\.\5\.\s\3\.\a\m\a\z\o\n\a\w\s\.\c\o\m\.\d\o\m\a\i\n\s* ]]
> + for file in ${piholeDir}/*.${domainsExtension}
> + [[ ! /etc/pihole/list.0.raw.githubusercontent.com.domains /etc/pihole/list.1.mirror1.malwaredomains.com.domains /etc/pihole/list.2.sysctl.org.domains /etc/pihole/list.3.zeustracker.abuse.ch.domains /etc/pihole/list.4.s3.amazonaws.com.domains /etc/pihole/list.5.s3.amazonaws.com.domains /etc/pihole/list.6.hosts-file.net.domains /etc/pihole/list.7.github.com.domains /etc/pihole/list.8.localhost.domains /etc/pihole/list.9.raw.githubusercontent.com.domains /etc/pihole/list.10.raw.githubusercontent.com.domains == *\/\e\t\c\/\p\i\h\o\l\e\/\l\i\s\t\.\6\.\h\o\s\t\s\-\f\i\l\e\.\n\e\t\.\d\o\m\a\i\n\s* ]]
> + for file in ${piholeDir}/*.${domainsExtension}
> + [[ ! /etc/pihole/list.0.raw.githubusercontent.com.domains /etc/pihole/list.1.mirror1.malwaredomains.com.domains /etc/pihole/list.2.sysctl.org.domains /etc/pihole/list.3.zeustracker.abuse.ch.domains /etc/pihole/list.4.s3.amazonaws.com.domains /etc/pihole/list.5.s3.amazonaws.com.domains /etc/pihole/list.6.hosts-file.net.domains /etc/pihole/list.7.github.com.domains /etc/pihole/list.8.localhost.domains /etc/pihole/list.9.raw.githubusercontent.com.domains /etc/pihole/list.10.raw.githubusercontent.com.domains == *\/\e\t\c\/\p\i\h\o\l\e\/\l\i\s\t\.\7\.\g\i\t\h\u\b\.\c\o\m\.\d\o\m\a\i\n\s* ]]
> + for file in ${piholeDir}/*.${domainsExtension}
> + [[ ! /etc/pihole/list.0.raw.githubusercontent.com.domains /etc/pihole/list.1.mirror1.malwaredomains.com.domains /etc/pihole/list.2.sysctl.org.domains /etc/pihole/list.3.zeustracker.abuse.ch.domains /etc/pihole/list.4.s3.amazonaws.com.domains /etc/pihole/list.5.s3.amazonaws.com.domains /etc/pihole/list.6.hosts-file.net.domains /etc/pihole/list.7.github.com.domains /etc/pihole/list.8.localhost.domains /etc/pihole/list.9.raw.githubusercontent.com.domains /etc/pihole/list.10.raw.githubusercontent.com.domains == *\/\e\t\c\/\p\i\h\o\l\e\/\l\i\s\t\.\8\.\l\o\c\a\l\h\o\s\t\.\d\o\m\a\i\n\s* ]]
> + for file in ${piholeDir}/*.${domainsExtension}
> + [[ ! /etc/pihole/list.0.raw.githubusercontent.com.domains /etc/pihole/list.1.mirror1.malwaredomains.com.domains /etc/pihole/list.2.sysctl.org.domains /etc/pihole/list.3.zeustracker.abuse.ch.domains /etc/pihole/list.4.s3.amazonaws.com.domains /etc/pihole/list.5.s3.amazonaws.com.domains /etc/pihole/list.6.hosts-file.net.domains /etc/pihole/list.7.github.com.domains /etc/pihole/list.8.localhost.domains /etc/pihole/list.9.raw.githubusercontent.com.domains /etc/pihole/list.10.raw.githubusercontent.com.domains == *\/\e\t\c\/\p\i\h\o\l\e\/\l\i\s\t\.\9\.\r\a\w\.\g\i\t\h\u\b\u\s\e\r\c\o\n\t\e\n\t\.\c\o\m\.\d\o\m\a\i\n\s* ]]
> + echo -e '\r  [✓] Cleaning up stray matter'
>   [✓] Cleaning up stray matter
> + pidof pihole-FTL
> + [[ -n '' ]]
> + echo ''
> 
> + [[ -z '' ]]
> + /usr/local/bin/pihole restartdns force-reload
>   [✓] Force-reloading DNS service
> + /usr/local/bin/pihole status
>   [✗] DNS service is NOT running

root@mvps-vm1:~ # getent hosts pi.hole
127.0.0.1 localhost mvps-vm1 pi.hole

What are the contents of your current resolv.conf file:

cat /etc/resolv.conf

at the moment

root@mvps-vm1:~ # cat /etc/resolv.conf
nameserver 1.1.1.1

In one of your previous replies, you were using 3 nameservers. They aren't used in strict order, and with three listed, linux will choose randomly. You should use just a single IP in that file, whether it's the loopback or a commercial server.

yes, I have seen that too.
that was because of another script where I had done that as "workaround" for a dns query. but I have already disabled.
but the pihole updateGravity only works as long as I have not entered 127.0.0.1.
I just tested it again

do you have any further ideas?
or is it a bug and i had to make a workaround that i change the resolv.conf every x minutes?

This isn't a bug that we are aware of, and there is not any obvious reason for this behavior.

What are the outputs of these commands from the Pi-Hole host terminal:

dig doubleclick.com

dig doubleclick.com @127.0.0.1

dig doubleclick.com @ 1.1.1.1

echo ">stats" | nc localhost 4711

thanks for your reply.

root@mvps-vm1:~ # cat /etc/resolv.conf
nameserver 8.8.8.8

root@mvps-vm1:~ # dig doubleclick.com

; <<>> DiG 9.10.3-P4-Debian <<>> doubleclick.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 26643
;; flags: qr rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;doubleclick.com. IN A

;; ANSWER SECTION:
doubleclick.com. 299 IN A 64.233.177.138
doubleclick.com. 299 IN A 64.233.177.113
doubleclick.com. 299 IN A 64.233.177.101
doubleclick.com. 299 IN A 64.233.177.139
doubleclick.com. 299 IN A 64.233.177.100
doubleclick.com. 299 IN A 64.233.177.102

;; Query time: 26 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Wed Dec 05 10:30:21 GMT 2018
;; MSG SIZE rcvd: 140

root@mvps-vm1:~ # dig doubleclick.com @127.0.0.1

; <<>> DiG 9.10.3-P4-Debian <<>> doubleclick.com @127.0.0.1
;; global options: +cmd
;; connection timed out; no servers could be reached

root@mvps-vm1:~ # dig doubleclick.com @1.1.1.1

; <<>> DiG 9.10.3-P4-Debian <<>> doubleclick.com @1.1.1.1
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 41626
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1452
;; QUESTION SECTION:
;doubleclick.com. IN A

;; ANSWER SECTION:
doubleclick.com. 136 IN A 216.58.207.78

;; Query time: 11 msec
;; SERVER: 1.1.1.1#53(1.1.1.1)
;; WHEN: Wed Dec 05 10:30:56 GMT 2018
;; MSG SIZE rcvd: 60

root@mvps-vm1:~ # echo ">stats" | nc localhost 4711
domains_being_blocked 153624
dns_queries_today 0
ads_blocked_today 0
ads_percentage_today 0.000000
unique_domains 0
queries_forwarded 0
queries_cached 0
clients_ever_seen 0
unique_clients 0
dns_queries_all_types 0
reply_NODATA 0
reply_NXDOMAIN 0
reply_CNAME 0
reply_IP 0
status enabled
---EOM---

do i have to cancel this with ctrl +c ?

After making a DNS lookup, do you see any new lines in the log (/var/log/pihole.log)? Try restarting FTL sudo service pihole-FTL restart.

Hi, i hope you mean this:

root@mvps-vm1:~ # cat /etc/resolv.conf && date
nameserver 8.8.8.8
Di 11. Dez 13:57:46 GMT 2018
root@mvps-vm1:~ # dig doubleclick.com && date

; <<>> DiG 9.10.3-P4-Debian <<>> doubleclick.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 9699
;; flags: qr rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;doubleclick.com.               IN      A

;; ANSWER SECTION:
doubleclick.com.        299     IN      A       64.233.185.102
doubleclick.com.        299     IN      A       64.233.185.139
doubleclick.com.        299     IN      A       64.233.185.100
doubleclick.com.        299     IN      A       64.233.185.113
doubleclick.com.        299     IN      A       64.233.185.101
doubleclick.com.        299     IN      A       64.233.185.138

;; Query time: 26 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Tue Dec 11 13:57:58 GMT 2018
;; MSG SIZE  rcvd: 140

Di 11. Dez 13:57:58 GMT 2018
root@mvps-vm1:~ # dig doubleclick.com @127.0.0.1 && date

; <<>> DiG 9.10.3-P4-Debian <<>> doubleclick.com @127.0.0.1
;; global options: +cmd
;; connection timed out; no servers could be reached
root@mvps-vm1:~ # dig doubleclick.com @1.1.1.1 && date

; <<>> DiG 9.10.3-P4-Debian <<>> doubleclick.com @1.1.1.1
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 16026
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1452
;; QUESTION SECTION:
;doubleclick.com.               IN      A

;; ANSWER SECTION:
doubleclick.com.        291     IN      A       172.217.16.206

;; Query time: 9 msec
;; SERVER: 1.1.1.1#53(1.1.1.1)
;; WHEN: Tue Dec 11 13:58:42 GMT 2018
;; MSG SIZE  rcvd: 60

Di 11. Dez 13:58:42 GMT 2018

root@mvps-vm1:~ # service pihole-FTL restart

root@mvps-vm1:~ # cat /etc/resolv.conf && date
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.0.1
Di 11. Dez 13:59:11 GMT 2018
root@mvps-vm1:~ # dig doubleclick.com && date

; <<>> DiG 9.10.3-P4-Debian <<>> doubleclick.com
;; global options: +cmd
;; connection timed out; no servers could be reached
root@mvps-vm1:~ # dig doubleclick.com @127.0.0.1 && date

; <<>> DiG 9.10.3-P4-Debian <<>> doubleclick.com @127.0.0.1
;; global options: +cmd
;; connection timed out; no servers could be reached
root@mvps-vm1:~ # dig doubleclick.com @1.1.1.1 && date

; <<>> DiG 9.10.3-P4-Debian <<>> doubleclick.com @1.1.1.1
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 12718
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1452
;; QUESTION SECTION:
;doubleclick.com.               IN      A

;; ANSWER SECTION:
doubleclick.com.        213     IN      A       172.217.16.206

;; Query time: 11 msec
;; SERVER: 1.1.1.1#53(1.1.1.1)
;; WHEN: Tue Dec 11 14:00:00 GMT 2018
;; MSG SIZE  rcvd: 60

Di 11. Dez 14:00:00 GMT 2018
root@mvps-vm1:~ # tail -f /var/log/pihole.log
Dec 11 13:55:55 dnsmasq[28745]: exiting on receipt of SIGTERM
Dec 11 13:55:55 dnsmasq[9585]: started, version pi-hole-2.79 cachesize 10000
Dec 11 13:55:55 dnsmasq[9585]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth DNSSEC loop-detect inotify
Dec 11 13:55:55 dnsmasq[9585]: warning: failed to change owner of /var/log/pihole.log: Operation not permitted
Dec 11 13:55:55 dnsmasq[9585]: using nameserver 8.8.4.4#53
Dec 11 13:55:55 dnsmasq[9585]: using nameserver 8.8.8.8#53
Dec 11 13:55:55 dnsmasq[9585]: read /etc/hosts - 3 addresses
Dec 11 13:55:55 dnsmasq[9585]: read /etc/pihole/local.list - 2 addresses
Dec 11 13:55:55 dnsmasq[9585]: read /etc/pihole/black.list - 8 addresses
Dec 11 13:55:55 dnsmasq[9585]: read /etc/pihole/gravity.list - 307262 addresses
Dec 11 13:59:04 dnsmasq[9585]: exiting on receipt of SIGTERM
Dec 11 13:59:04 dnsmasq[10010]: started, version pi-hole-2.79 cachesize 10000
Dec 11 13:59:04 dnsmasq[10010]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth DNSSEC loop-detect inotify
Dec 11 13:59:04 dnsmasq[10010]: warning: failed to change owner of /var/log/pihole.log: Operation not permitted
Dec 11 13:59:04 dnsmasq[10010]: using nameserver 8.8.4.4#53
Dec 11 13:59:04 dnsmasq[10010]: using nameserver 8.8.8.8#53
Dec 11 13:59:04 dnsmasq[10010]: read /etc/hosts - 3 addresses
Dec 11 13:59:04 dnsmasq[10010]: read /etc/pihole/local.list - 2 addresses
Dec 11 13:59:04 dnsmasq[10010]: read /etc/pihole/black.list - 8 addresses
Dec 11 13:59:04 dnsmasq[10010]: read /etc/pihole/gravity.list - 307262 addresses
^C
root@mvps-vm1:~ #

this is a test vm. i can put your ssh key on it and gave you the ip.
then you can test it by yourself. if you want to.

Try updating to v4.1 and see if that changes anything.