No DNS resolution

root@mvps-vm1:~ # pihole version
Pi-hole version is v4.0 (Latest: ERROR)
AdminLTE version is v4.0 (Latest: ERROR)
FTL version is v4.0 (Latest: ERROR)
root@mvps-vm1:~ # pihole updatePihole
  [i] Checking for updates...
fatal: unable to access 'https://github.com/pi-hole/pi-hole.git/': Could not resolve host: github.com
  [i] Pi-hole Core:     up to date
fatal: unable to access 'https://github.com/pi-hole/AdminLTE.git/': Could not resolve host: github.com
  [i] Web Interface:    up to date
  [i] FTL:              update available

  [i] FTL out of date, it will be updated by the installer.

  [✓] Root user check

        .;;,.
        .ccccc:,.
         :cccclll:.      ..,,
          :ccccclll.   ;ooodc
           'ccll:;ll .oooodc
             .;cll.;;looo:.
                 .. ','.
                .',,,,,,'.
              .',,,,,,,,,,.
            .',,,,,,,,,,,,....
          ....''',,,,,,,'.......
        .........  ....  .........
        ..........      ..........
        ..........      ..........
        .........  ....  .........
          ........,,,,,,,'......
            ....',,,,,,,,,,,,.
               .',,,,,,,,,'.
                .',,,,,,'.
                  ..'''.

  [i] Existing PHP installation detected : PHP version 7.0.33-0+deb9u1
  [i] Performing unattended setup, no whiptail dialogs will be displayed
  [✓] Disk space check

  [✓] Update local cache of available packages

  [✓] Checking apt-get for upgraded packages... up to date!

  [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...
  [✗] Downloading and Installing FTL
  Error: Unable to get latest release location from GitHub
  [✗] FTL Engine not installed
  [✓] 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

  Unable to complete update, please contact Pi-hole Support
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
root@mvps-vm1:~ # echo "nameserver 8.8.8.8" > /etc/resolv.conf
root@mvps-vm1:~ # cat /etc/resolv.conf
nameserver 8.8.8.8
root@mvps-vm1:~ # pihole updatePihole
  [i] Checking for updates...
  [i] Pi-hole Core:     update available
  [i] Web Interface:    update available
  [i] FTL:              update available

  [i] Pi-hole core files out of date, updating local repo.
  [✓] Check for existing repository in /etc/.pihole
  [✓] Update repo in /etc/.pihole

  [i] If you had made any changes in '/etc/.pihole/', they have been stashed using 'git stash'

  [i] Pi-hole Web Admin files out of date, updating local repo.
  [✓] Check for existing repository in /var/www/html/admin
  [✓] Update repo in /var/www/html/admin

  [i] If you had made any changes in '/var/www/html/admin/', they have been stashed using 'git stash'

  [i] FTL out of date, it will be updated by the installer.

  [✓] Root user check

        .;;,.
        .ccccc:,.
         :cccclll:.      ..,,
          :ccccclll.   ;ooodc
           'ccll:;ll .oooodc
             .;cll.;;looo:.
                 .. ','.
                .',,,,,,'.
              .',,,,,,,,,,.
            .',,,,,,,,,,,,....
          ....''',,,,,,,'.......
        .........  ....  .........
        ..........      ..........
        ..........      ..........
        .........  ....  .........
          ........,,,,,,,'......
            ....',,,,,,,,,,,,.
               .',,,,,,,,,'.
                .',,,,,,'.
                  ..'''.

  [i] Existing PHP installation detected : PHP version 7.0.33-0+deb9u1
  [i] Performing unattended setup, no whiptail dialogs will be displayed
  [✓] Disk space check
  [✓] Update local cache of available packages

  [✓] Checking apt-get for upgraded packages... up to date!

  [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...
  [✓] Checking for user 'pihole'
  [✓] 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...
  [✓] Downloading and Installing FTL
  [i] Backing up /etc/dnsmasq.conf to /etc/dnsmasq.conf.old
  [✓] man pages installed and database updated
  [i] Testing if systemd-resolved is enabled
  [i] Systemd-resolved is not enabled
  [✓] Starting lighttpd service...
  [✓] Enabling lighttpd service to start on reboot...
  [i] Restarting services...
  [✓] Enabling pihole-FTL service to start on reboot...
  [✓] Starting pihole-FTL service...
  [✓] Deleting existing list cache
  [i] Pi-hole blocking is enabled
  [✗] DNS resolution is currently unavailable
  [✓] DNS resolution is now available

  [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: Retrieval successful

  [i] Target: sysctl.org (hosts)
  [✓] Status: Retrieval successful

  [i] Target: zeustracker.abuse.ch (blocklist.php?download=domainblocklist)
  [✓] Status: Retrieval successful

  [i] Target: s3.amazonaws.com (simple_tracking.txt)
  [✓] Status: Retrieval successful

  [i] Target: s3.amazonaws.com (simple_ad.txt)
  [✓] Status: Retrieval successful

  [i] Target: hosts-file.net (ad_servers.txt)
  [✓] Status: Retrieval successful

  [i] Target: github.com (spy.txt)
  [✓] Status: Retrieval successful

  [i] Target: localhost (adblock.hosts)
  [✓] Status: Retrieval successful
  [i] Received empty file: using previously cached list

  [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: 174623
  [✓] Removing duplicate domains
  [i] Number of unique domains trapped in the Event Horizon: 150533
  [i] Number of whitelisted domains: 10
  [i] Number of blacklisted domains: 4
  [i] Number of regex filters: 1
  [✓] Parsing domains into hosts format
  [✓] Cleaning up stray matter

  [✓] Force-reloading DNS service
  [✗] DNS service is NOT running

  [i] The install log is located at: /etc/pihole/install.log
Update Complete!

  Current Pi-hole version is v4.1
  Current AdminLTE version is v4.1
  Current FTL version is v4.1
root@mvps-vm1:~ # pihole updateGravity
  [i] Pi-hole blocking is enabled
  [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] Received empty file: using previously cached list

  [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: 174623
  [✓] Removing duplicate domains
  [i] Number of unique domains trapped in the Event Horizon: 150533
  [i] Number of whitelisted domains: 10
  [i] Number of blacklisted domains: 4
  [i] Number of regex filters: 1
  [✓] Parsing domains into hosts format
  [✓] Cleaning up stray matter

  [✓] Force-reloading DNS service

  [✗] DNS service is NOT running
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
root@mvps-vm1:~ # pihole debug#
[...]
[?] Would you like to upload the log? [y/N] y
    * 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

i change the resolv and do a new debug.

root@mvps-vm1:~ # pihole debug
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] 2018-12-12:20:56:30 debug log has been initialized.

*** [ INITIALIZING ] Sourcing setup variables
[i] Sourcing /etc/pihole/setupVars.conf...

*** [ DIAGNOSING ]: Core version
[i] Core: v4.1 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
[i] Branch: master
[i] Commit: v4.1-0-gf65f793

*** [ DIAGNOSING ]: Web version
[i] Web: v4.1 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
[i] Branch: master
[i] Commit: v4.1-0-g5ec769d9

*** [ DIAGNOSING ]: FTL version
[✓] FTL: v4.1

*** [ 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:
   194.99.21.232/24 matches the IP found in /etc/pihole/setupVars.conf

[✓] IPv6 address(es) bound to the eth0 interface:
   fe80::9b6b:fc24:fb80:73a4 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)

   ^ Please note that you may have more than one IP address listed.
   As long as one of them is green, and it matches what is in /etc/pihole/setupVars.conf, there is no need for concern.

   The link to the FAQ is for an issue that sometimes occurs when the IPv6 address changes, which is why we check for it.

[i] Default IPv4 gateway: 194.99.21.1
   * Pinging 194.99.21.1...
[✓] Gateway responded.

*** [ DIAGNOSING ]: Ports in use
*:111 rpcbind (IPv4)
*:111 rpcbind (IPv6)
*:22 sshd (IPv4)
*:22 sshd (IPv6)
*:4200 shellinabo (IPv4)
[*:80] is in use by lighttpd
[*:80] is in use by lighttpd
[*: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
[[::1]:4711] is in use by pihole-FTL
194.99.21.232:5666 nrpe (IPv4)

*** [ DIAGNOSING ]: Name resolution (IPv4) using a random blocked domain and a known ad-serving domain
[✗] Failed to resolve px-conf.perimeterx.net via localhost (127.0.0.1)
[✗] Failed to resolve px-conf.perimeterx.net via Pi-hole (194.99.21.232)
[✓] doubleclick.com is 64.233.177.138 via a remote, public DNS server (8.8.8.8)

*** [ DIAGNOSING ]: Pi-hole processes
[✓] lighttpd daemon is active
[✓] pihole-FTL daemon is active

*** [ DIAGNOSING ]: Setup variables
    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

*** [ 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 3403135 Dez 12 20:24 /etc/pihole/gravity.list
   -----head of gravity.list------
   !rdio.com
   -x3.vindicosuite.com
   0-hjsochvj-ios-1-2-3.mobile-sdk-api.intercom.io
   0-jovd32f9-ios-7-0-1.mobile-sdk-api.intercom.io

   -----tail of gravity.list------
   zzz.clickbank.net
   zzzezeroe.fr
   zzzpooeaz-france.com
   zzzrtrcm2.com

*** [ DIAGNOSING ]: contents of /etc/pihole

-rw-r--r-- 1 root root 658 Nov 27 03:10 /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://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

-rw-r--r-- 1 root root 62 Nov 27 02:37 /etc/pihole/blacklist.txt
   www.coin-hive.com
   coin-hive.com
   www.coinhive.com
   coinhive.com

-rw-r--r-- 1 root root 45 Dez 12 20:24 /etc/pihole/local.list
   194.99.21.232 mvps-vm1
   194.99.21.232 pi.hole

-rw-r--r-- 1 root root 234 Dez 12 20:17 /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 165 Nov 27 02:37 /etc/pihole/whitelist.txt
   raw.githubusercontent.com
   mirror1.malwaredomains.com
   sysctl.org
   zeustracker.abuse.ch
   s3.amazonaws.com
   hosts-file.net
   localhost
   outlook.live.com
   sharewareonsale.com

*** [ DIAGNOSING ]: contents of /etc/dnsmasq.d

-rw-r--r-- 1 root root 1413 Dez 12 20:17 /etc/dnsmasq.d/01-pihole.conf
   addn-hosts=/etc/pihole/gravity.list
   addn-hosts=/etc/pihole/black.list
   addn-hosts=/etc/pihole/local.list
   user=pihole
   group=pihole
   localise-queries
   no-resolv
   cache-size=10000
   log-queries
   log-facility=/var/log/pihole.log
   local-ttl=2
   log-async
   server=8.8.8.8
   server=8.8.4.4
   interface=eth0

*** [ DIAGNOSING ]: contents of /etc/lighttpd

-rw-r--r-- 1 root root 3102 Dez 12 20:17 /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 1703 Dez 12 20:17 /etc/cron.d/pihole
   8 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
   18 15  * * *   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 17585 Dez 12 20:55 /var/log/lighttpd/error.log
   2018-12-10 06:25:03: (server.c.1534) logfiles cycled UID = 0 PID = 20604
   2018-12-10 07:12:01: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined index: HTTP_HOST in /var/www/html/pihole/index.php on line 10
   2018-12-10 07:12:03: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined index: HTTP_HOST in /var/www/html/pihole/index.php on line 10
   2018-12-10 09:12:57: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined index: HTTP_HOST in /var/www/html/pihole/index.php on line 10
   2018-12-10 09:47:39: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined index: HTTP_HOST in /var/www/html/pihole/index.php on line 10
   2018-12-10 11:23:17: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined index: HTTP_HOST in /var/www/html/pihole/index.php on line 10
   2018-12-10 11:28:11: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined index: HTTP_HOST in /var/www/html/pihole/index.php on line 10
   2018-12-10 13:02:04: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined index: HTTP_HOST in /var/www/html/pihole/index.php on line 10
   2018-12-10 20:44:31: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined index: HTTP_HOST in /var/www/html/pihole/index.php on line 10
   2018-12-10 21:32:24: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined index: HTTP_HOST in /var/www/html/pihole/index.php on line 10
   2018-12-10 21:32:25: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined index: HTTP_HOST in /var/www/html/pihole/index.php on line 10
   2018-12-11 03:54:59: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined index: HTTP_HOST in /var/www/html/pihole/index.php on line 10
   2018-12-11 03:56:58: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined index: HTTP_HOST in /var/www/html/pihole/index.php on line 10
   2018-12-11 05:20:25: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined index: HTTP_HOST in /var/www/html/pihole/index.php on line 10
   2018-12-11 06:25:40: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined index: HTTP_HOST in /var/www/html/pihole/index.php on line 10
   2018-12-11 11:18:46: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined index: HTTP_HOST in /var/www/html/pihole/index.php on line 10
   2018-12-11 11:25:29: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined index: HTTP_HOST in /var/www/html/pihole/index.php on line 10
   2018-12-11 12:01:25: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined index: HTTP_HOST in /var/www/html/pihole/index.php on line 10
   2018-12-11 12:02:36: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined index: HTTP_HOST in /var/www/html/pihole/index.php on line 10
   2018-12-11 12:03:49: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined index: HTTP_HOST in /var/www/html/pihole/index.php on line 10
   2018-12-11 12:09:53: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined index: HTTP_HOST in /var/www/html/pihole/index.php on line 10
   2018-12-11 12:27:54: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined index: HTTP_HOST in /var/www/html/pihole/index.php on line 10
   2018-12-11 12:42:39: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined index: HTTP_HOST in /var/www/html/pihole/index.php on line 10
   2018-12-11 12:50:34: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined index: HTTP_HOST in /var/www/html/pihole/index.php on line 10
   2018-12-11 13:16:43: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined index: HTTP_HOST in /var/www/html/pihole/index.php on line 10

*** [ DIAGNOSING ]: contents of /var/log

-rw-r--r-- 1 pihole pihole 10562 Dez 12 20:27 /var/log/pihole-FTL.log
   -----head of pihole-FTL.log------
   [2018-12-12 19:37:45.196] ########## FTL started! ##########
   [2018-12-12 19:37:45.196] FTL branch:
   [2018-12-12 19:37:45.196] FTL version: v4.0
   [2018-12-12 19:37:45.200] FTL commit: 8493df4
   [2018-12-12 19:37:45.200] FTL date: 2018-08-05 13:40:30 -0700
   [2018-12-12 19:37:45.200] FTL user: pihole
   [2018-12-12 19:37:45.200] Starting config file parsing (/etc/pihole/pihole-FTL.conf)
   [2018-12-12 19:37:45.200]    SOCKET_LISTENING: only local
   [2018-12-12 19:37:45.200]    AAAA_QUERY_ANALYSIS: Show AAAA queries
   [2018-12-12 19:37:45.200]    MAXDBDAYS: max age for stored queries is 365 days
   [2018-12-12 19:37:45.200]    RESOLVE_IPV6: Resolve IPv6 addresses
   [2018-12-12 19:37:45.200]    RESOLVE_IPV4: Resolve IPv4 addresses
   [2018-12-12 19:37:45.200]    DBINTERVAL: saving to DB file every minute
   [2018-12-12 19:37:45.200]    DBFILE: Using /etc/pihole/pihole-FTL.db
   [2018-12-12 19:37:45.200]    MAXLOGAGE: Importing up to 24.0 hours of log data
   [2018-12-12 19:37:45.200]    PRIVACYLEVEL: Set to 0
   [2018-12-12 19:37:45.200]    IGNORE_LOCALHOST: Show queries from localhost
   [2018-12-12 19:37:45.201]    BLOCKINGMODE: Null IPs for blocked domains
   [2018-12-12 19:37:45.201]    REGEX_DEBUGMODE: Inactive
   [2018-12-12 19:37:45.201] Finished config file parsing
   [2018-12-12 19:37:45.201] Skipping empty regex filter on line 1
   [2018-12-12 19:37:45.201] Compiled 0 Regex filters and 10 whitelisted domains in 0.1 msec (0 errors)
   [2018-12-12 19:37:45.202] Database successfully initialized
   [2018-12-12 19:37:45.202] Imported 0 queries from the long-term database
   [2018-12-12 19:37:45.203]  -> Total DNS queries: 0
   [2018-12-12 19:37:45.203]  -> Cached DNS queries: 0
   [2018-12-12 19:37:45.203]  -> Forwarded DNS queries: 0
   [2018-12-12 19:37:45.203]  -> Exactly blocked DNS queries: 0
   [2018-12-12 19:37:45.203]  -> Unknown DNS queries: 0
   [2018-12-12 19:37:45.203]  -> Unique domains: 0
   [2018-12-12 19:37:45.203]  -> Unique clients: 0
   [2018-12-12 19:37:45.203]  -> Known forward destinations: 0
   [2018-12-12 19:37:45.203] Successfully accessed setupVars.conf
   [2018-12-12 19:37:45.215] PID of FTL process: 3256
   [2018-12-12 19:37:45.215] Listening on port 4711 for incoming IPv4 telnet connections

   -----tail of pihole-FTL.log------
   [2018-12-12 20:27:16.423]    BLOCKINGMODE: Null IPs for blocked domains
   [2018-12-12 20:27:16.423]    REGEX_DEBUGMODE: Inactive
   [2018-12-12 20:27:16.423]    ANALYZE_ONLY_A_AND_AAAA: Disabled. Analyzing all queries
   [2018-12-12 20:27:16.423]    DBIMPORT: Importing history from database
   [2018-12-12 20:27:16.423]    PIDFILE: Using /var/run/pihole-FTL.pid
   [2018-12-12 20:27:16.423]    PORTFILE: Using /var/run/pihole-FTL.port
   [2018-12-12 20:27:16.423]    SOCKETFILE: Using /var/run/pihole/FTL.sock
   [2018-12-12 20:27:16.423]    WHITELISTFILE: Using /etc/pihole/whitelist.txt
   [2018-12-12 20:27:16.423]    BLACKLISTFILE: Using /etc/pihole/black.list
   [2018-12-12 20:27:16.423]    GRAVITYFILE: Using /etc/pihole/gravity.list
   [2018-12-12 20:27:16.423]    REGEXLISTFILE: Using /etc/pihole/regex.list
   [2018-12-12 20:27:16.423]    SETUPVARSFILE: Using /etc/pihole/setupVars.conf
   [2018-12-12 20:27:16.423]    AUDITLISTFILE: Using /etc/pihole/auditlog.list
   [2018-12-12 20:27:16.423] Finished config file parsing
   [2018-12-12 20:27:16.423] Skipping empty regex filter on line 1
   [2018-12-12 20:27:16.424] Compiled 0 Regex filters and 10 whitelisted domains in 0.1 msec (0 errors)
   [2018-12-12 20:27:16.428] Database successfully initialized
   [2018-12-12 20:27:16.428] Imported 0 queries from the long-term database
   [2018-12-12 20:27:16.428]  -> Total DNS queries: 0
   [2018-12-12 20:27:16.428]  -> Cached DNS queries: 0
   [2018-12-12 20:27:16.428]  -> Forwarded DNS queries: 0
   [2018-12-12 20:27:16.428]  -> Exactly blocked DNS queries: 0
   [2018-12-12 20:27:16.428]  -> Unknown DNS queries: 0
   [2018-12-12 20:27:16.429]  -> Unique domains: 0
   [2018-12-12 20:27:16.429]  -> Unique clients: 0
   [2018-12-12 20:27:16.429]  -> Known forward destinations: 0
   [2018-12-12 20:27:16.429] Successfully accessed setupVars.conf
   [2018-12-12 20:27:16.439] PID of FTL process: 8559
   [2018-12-12 20:27:16.440] Listening on port 4711 for incoming IPv4 telnet connections
   [2018-12-12 20:27:16.440] Listening on port 4711 for incoming IPv6 telnet connections
   [2018-12-12 20:27:16.440] Listening on Unix socket
   [2018-12-12 20:27:16.440] Skipping empty regex filter on line 1
   [2018-12-12 20:27:16.440] Compiled 0 Regex filters and 10 whitelisted domains in 0.1 msec (0 errors)
   [2018-12-12 20:27:16.450] /etc/pihole/black.list: parsed 4 domains (took 0.0 ms)
   [2018-12-12 20:27:16.826] /etc/pihole/gravity.list: parsed 150531 domains (took 375.3 ms)

*** [ DIAGNOSING ]: Locale
    LANG=de_DE.UTF-8

*** [ DIAGNOSING ]: Pi-hole log
-rw-r--r-- 1 pihole pihole 2816 Dez 12 20:27 /var/log/pihole.log
   -----head of pihole.log------
   Dec 12 19:37:43 dnsmasq[10010]: exiting on receipt of SIGTERM
   Dec 12 19:37:45 dnsmasq[3256]: started, version pi-hole-2.79 cachesize 10000
   Dec 12 19:37:45 dnsmasq[3256]: 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 12 19:37:45 dnsmasq[3256]: warning: failed to change owner of /var/log/pihole.log: Operation not permitted
   Dec 12 19:37:45 dnsmasq[3256]: using nameserver 8.8.4.4#53
   Dec 12 19:37:45 dnsmasq[3256]: using nameserver 8.8.8.8#53
   Dec 12 19:37:45 dnsmasq[3256]: read /etc/hosts - 3 addresses
   Dec 12 19:37:45 dnsmasq[3256]: read /etc/pihole/local.list - 2 addresses
   Dec 12 19:37:45 dnsmasq[3256]: read /etc/pihole/black.list - 8 addresses
   Dec 12 19:37:46 dnsmasq[3256]: read /etc/pihole/gravity.list - 307262 addresses
   Dec 12 20:17:17 dnsmasq[3256]: exiting on receipt of SIGTERM
   Dec 12 20:17:19 dnsmasq[7033]: started, version pi-hole-2.79 cachesize 10000
   Dec 12 20:17:19 dnsmasq[7033]: 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 12 20:17:19 dnsmasq[7033]: using nameserver 8.8.4.4#53
   Dec 12 20:17:19 dnsmasq[7033]: using nameserver 8.8.8.8#53
   Dec 12 20:17:19 dnsmasq[7033]: read /etc/hosts - 3 addresses
   Dec 12 20:17:19 dnsmasq[7033]: read /etc/pihole/local.list - 2 addresses
   Dec 12 20:17:19 dnsmasq[7033]: read /etc/pihole/black.list - 8 addresses
   Dec 12 20:17:20 dnsmasq[7033]: read /etc/pihole/gravity.list - 307262 addresses
   Dec 12 20:18:16 dnsmasq[7033]: read /etc/hosts - 3 addresses


********************************************
********************************************
[✓] ** 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.

[?] Would you like to upload the log? [y/N] y
    * Using openssl for transmission.

***********************************
***********************************
[✓] Your debug token is: 8nxbinyms3
***********************************
***********************************

   * Provide the token above to the Pi-hole team for assistance at
   * https://discourse.pi-hole.net
   * Your log will self-destruct on our server after 48 hours.
   * A local copy of the debug log can be found at: /var/log/pihole_debug-sanitized.log

am I doing something wrong?

Check if you have a firewall rule that's preventing you from resolving via port 53: sudo iptables -L

Also run these commands and share the output:

sudo service pihole-FTL stop
sudo -u pihole pihole-FTL debug

Hello,
I use the iptables to filter who can ask the dns.
I do not want that anyone can use the dns.

root@mvps-vm1:~ # iptables -L -n
Chain INPUT (policy ACCEPT)
target     prot opt source               destination
ACCEPT     udp  --  127.0.0.1            0.0.0.0/0            udp dpt:53
[HOST 1]  all  --  0.0.0.0/0            0.0.0.0/0
DROP       udp  --  0.0.0.0/0            0.0.0.0/0            udp dpt:53
DROP       tcp  --  0.0.0.0/0            0.0.0.0/0            tcp dpt:53

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

Chain [HOST 1] (1 references)
target     prot opt source               destination
ACCEPT     all  --  XXX.XX.XX.XXX        0.0.0.0/0
root@mvps-vm1:~ #

i also try with a clear iptables

root@mvps-vm1:~# iptables -F && iptables -X
root@mvps-vm1:~# iptables -L -n
Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
root@mvps-vm1:~#

But it remains the same result

root@mvps-vm1:~ # sudo service pihole-FTL stop
root@mvps-vm1:~ # sudo -u pihole pihole-FTL debug
[2018-12-14 13:38:10.593] Using log file /var/log/pihole-FTL.log
[2018-12-14 13:38:10.593] ########## FTL started! ##########
[2018-12-14 13:38:10.594] FTL branch: master
[2018-12-14 13:38:10.594] FTL version: v4.1
[2018-12-14 13:38:10.595] FTL commit: d42bcb7
[2018-12-14 13:38:10.595] FTL date: 2018-12-09 14:21:03 -0600
[2018-12-14 13:38:10.595] FTL user: pihole
[2018-12-14 13:38:10.595] Starting config file parsing (/etc/pihole/pihole-FTL.conf)
[2018-12-14 13:38:10.595]    SOCKET_LISTENING: only local
[2018-12-14 13:38:10.595]    AAAA_QUERY_ANALYSIS: Show AAAA queries
[2018-12-14 13:38:10.596]    MAXDBDAYS: max age for stored queries is 365 days
[2018-12-14 13:38:10.596]    RESOLVE_IPV6: Resolve IPv6 addresses
[2018-12-14 13:38:10.596]    RESOLVE_IPV4: Resolve IPv4 addresses
[2018-12-14 13:38:10.596]    DBINTERVAL: saving to DB file every minute
[2018-12-14 13:38:10.596]    DBFILE: Using /etc/pihole/pihole-FTL.db
[2018-12-14 13:38:10.596]    MAXLOGAGE: Importing up to 24.0 hours of log data
[2018-12-14 13:38:10.596]    PRIVACYLEVEL: Set to 0
[2018-12-14 13:38:10.596]    IGNORE_LOCALHOST: Show queries from localhost
[2018-12-14 13:38:10.597]    BLOCKINGMODE: Null IPs for blocked domains
[2018-12-14 13:38:10.597]    REGEX_DEBUGMODE: Inactive
[2018-12-14 13:38:10.597]    ANALYZE_ONLY_A_AND_AAAA: Disabled. Analyzing all queries
[2018-12-14 13:38:10.597]    DBIMPORT: Importing history from database
[2018-12-14 13:38:10.597]    PIDFILE: Using /var/run/pihole-FTL.pid
[2018-12-14 13:38:10.597]    PORTFILE: Using /var/run/pihole-FTL.port
[2018-12-14 13:38:10.597]    SOCKETFILE: Using /var/run/pihole/FTL.sock
[2018-12-14 13:38:10.597]    WHITELISTFILE: Using /etc/pihole/whitelist.txt
[2018-12-14 13:38:10.597]    BLACKLISTFILE: Using /etc/pihole/black.list
[2018-12-14 13:38:10.598]    GRAVITYFILE: Using /etc/pihole/gravity.list
[2018-12-14 13:38:10.598]    REGEXLISTFILE: Using /etc/pihole/regex.list
[2018-12-14 13:38:10.598]    SETUPVARSFILE: Using /etc/pihole/setupVars.conf
[2018-12-14 13:38:10.598]    AUDITLISTFILE: Using /etc/pihole/auditlog.list
[2018-12-14 13:38:10.598] Finished config file parsing
[2018-12-14 13:38:10.598] Skipping empty regex filter on line 1
[2018-12-14 13:38:10.598] Compiled 0 Regex filters and 10 whitelisted domains in 0.2 msec (0 errors)
[2018-12-14 13:38:10.599] Database successfully initialized
[2018-12-14 13:38:10.599] SELECT * FROM queries WHERE timestamp >= 1544708290
[2018-12-14 13:38:10.600] Imported 0 queries from the long-term database
[2018-12-14 13:38:10.600]  -> Total DNS queries: 0
[2018-12-14 13:38:10.600]  -> Cached DNS queries: 0
[2018-12-14 13:38:10.600]  -> Forwarded DNS queries: 0
[2018-12-14 13:38:10.600]  -> Exactly blocked DNS queries: 0
[2018-12-14 13:38:10.600]  -> Unknown DNS queries: 0
[2018-12-14 13:38:10.600]  -> Unique domains: 0
[2018-12-14 13:38:10.600]  -> Unique clients: 0
[2018-12-14 13:38:10.601]  -> Known forward destinations: 0
[2018-12-14 13:38:10.601] Successfully accessed setupVars.conf
[2018-12-14 13:38:10.604] PID of FTL process: 21371
[2018-12-14 13:38:10.604] Listening on port 4711 for incoming IPv4 telnet connections
[2018-12-14 13:38:10.605] Found 4 IPv4 and 2 IPv6 capable interfaces
[2018-12-14 13:38:10.605] Listening on port 4711 for incoming IPv6 telnet connections
[2018-12-14 13:38:10.605] Listening on Unix socket
dnsmasq: started, version pi-hole-2.79 cachesize 10000
dnsmasq: 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
dnsmasq: using nameserver 8.8.4.4#53
dnsmasq: using nameserver 8.8.8.8#53
[2018-12-14 13:38:10.606] Blocking status is enabled
[2018-12-14 13:38:10.606] Skipping empty regex filter on line 1
[2018-12-14 13:38:10.606] Compiled 0 Regex filters and 10 whitelisted domains in 0.2 msec (0 errors)
dnsmasq: read /etc/hosts - 3 addresses
dnsmasq: read /etc/pihole/local.list - 2 addresses
[2018-12-14 13:38:10.607] /etc/pihole/black.list: parsed 4 domains (took 0.0 ms)
dnsmasq: read /etc/pihole/black.list - 8 addresses
[2018-12-14 13:38:10.981] /etc/pihole/gravity.list: parsed 150531 domains (took 374.1 ms)
dnsmasq: read /etc/pihole/gravity.list - 301062 addresses
[2018-12-14 13:39:00.041] Notice: Queries stored in DB: 0 (took 8.8 ms)
[2018-12-14 13:40:00.040] Notice: Queries stored in DB: 0 (took 9.3 ms)
[2018-12-14 13:41:00.108] Notice: Queries stored in DB: 0 (took 7.5 ms)
[2018-12-14 13:42:00.115] Notice: Queries stored in DB: 0 (took 18.8 ms)
[2018-12-14 13:43:00.010] Notice: Queries stored in DB: 0 (took 6.9 ms)
[2018-12-14 13:44:00.076] Notice: Queries stored in DB: 0 (took 8.4 ms)
[2018-12-14 13:45:00.050] Notice: Queries stored in DB: 0 (took 7.6 ms)
[2018-12-14 13:46:00.018] Notice: Queries stored in DB: 0 (took 7.0 ms)
[2018-12-14 13:47:00.074] Notice: Queries stored in DB: 0 (took 7.3 ms)
[2018-12-14 13:48:00.066] Notice: Queries stored in DB: 0 (took 7.7 ms)
[2018-12-14 13:49:00.048] Notice: Queries stored in DB: 0 (took 6.9 ms)
[2018-12-14 13:50:00.100] Notice: Queries stored in DB: 0 (took 9.5 ms)
[2018-12-14 13:51:00.072] Notice: Queries stored in DB: 0 (took 6.6 ms)
[2018-12-14 13:52:00.017] Notice: Queries stored in DB: 0 (took 9.5 ms)
[2018-12-14 13:53:00.065] Notice: Queries stored in DB: 0 (took 9.2 ms)
[2018-12-14 13:54:00.099] Notice: Queries stored in DB: 0 (took 8.2 ms)
[2018-12-14 13:55:00.056] Notice: Queries stored in DB: 0 (took 10.8 ms)
[2018-12-14 13:56:00.030] Notice: Queries stored in DB: 0 (took 12.5 ms)
[2018-12-14 13:57:00.074] Notice: Queries stored in DB: 0 (took 7.5 ms)
[2018-12-14 13:58:00.028] Notice: Queries stored in DB: 0 (took 6.7 ms)
[2018-12-14 13:59:00.028] GC starting, mintime: 1544709540 Thu Dec 13 13:59:00 2018

[2018-12-14 13:59:00.029] Notice: GC removed 0 queries (took 0.62 ms)
[2018-12-14 13:59:00.075] Notice: Queries stored in DB: 0 (took 8.9 ms)
[2018-12-14 13:59:00.076] Notice: Database size is 0.03 MB, deleted 0 rows
[2018-12-14 14:00:00.033] Notice: Queries stored in DB: 0 (took 6.6 ms)
[2018-12-14 14:01:00.094] Notice: Queries stored in DB: 0 (took 5.8 ms)
[2018-12-14 14:02:00.070] Notice: Queries stored in DB: 0 (took 5.7 ms)
[2018-12-14 14:03:00.067] Notice: Queries stored in DB: 0 (took 8.6 ms)
[2018-12-14 14:04:00.032] Notice: Queries stored in DB: 0 (took 7.7 ms)
[2018-12-14 14:05:00.101] Notice: Queries stored in DB: 0 (took 6.6 ms)
[2018-12-14 14:06:00.070] Notice: Queries stored in DB: 0 (took 13.5 ms)
[2018-12-14 14:07:00.037] Notice: Queries stored in DB: 0 (took 8.0 ms)
[2018-12-14 14:08:00.105] Notice: Queries stored in DB: 0 (took 9.5 ms)
[2018-12-14 14:09:00.062] Notice: Queries stored in DB: 0 (took 8.6 ms)
[2018-12-14 14:10:00.035] Notice: Queries stored in DB: 0 (took 14.0 ms)
[2018-12-14 14:11:00.105] Notice: Queries stored in DB: 0 (took 27.1 ms)
[2018-12-14 14:12:00.051] Notice: Queries stored in DB: 0 (took 8.6 ms)
[2018-12-14 14:13:00.086] Notice: Queries stored in DB: 0 (took 7.0 ms)
[2018-12-14 14:14:00.032] Notice: Queries stored in DB: 0 (took 8.7 ms)
[2018-12-14 14:15:00.016] Notice: Queries stored in DB: 0 (took 7.0 ms)
[2018-12-14 14:16:00.072] Notice: Queries stored in DB: 0 (took 5.9 ms)
[2018-12-14 14:17:00.054] Notice: Queries stored in DB: 0 (took 10.1 ms)
[2018-12-14 14:18:00.100] Notice: Queries stored in DB: 0 (took 6.1 ms)
[2018-12-14 14:19:00.075] Notice: Queries stored in DB: 0 (took 6.6 ms)
[2018-12-14 14:20:00.046] Notice: Queries stored in DB: 0 (took 10.4 ms)
[2018-12-14 14:21:00.064] Notice: Queries stored in DB: 0 (took 17.6 ms)
[2018-12-14 14:22:00.042] Notice: Queries stored in DB: 0 (took 25.2 ms)
[2018-12-14 14:23:00.022] Notice: Queries stored in DB: 0 (took 9.6 ms)
[2018-12-14 14:24:00.090] Notice: Queries stored in DB: 0 (took 11.4 ms)
[2018-12-14 14:25:00.037] Notice: Queries stored in DB: 0 (took 7.4 ms)
[2018-12-14 14:26:00.096] Notice: Queries stored in DB: 0 (took 8.1 ms)

Yes, but you should allow localhost to access its own services.

This looks like you are dropping all traffic to port 53, even traffic from localhost (because the DROP rules appear after the ACCEPT rule).

Okay this seem it was MY Problem!
i can't believe it. Sorry for that.

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
root@mvps-vm1:~ # pihole updatePihole
  [i] Checking for updates...
  [i] Pi-hole Core:     up to date
  [i] Web Interface:    up to date
  [i] FTL:              up to date

  [?] Everything is up to date!
root@mvps-vm1:~ # pihole updateGravity
  [i] Pi-hole blocking is enabled
  [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] Received empty file: using previously cached list

  [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: 174629
  [?] Removing duplicate domains
  [i] Number of unique domains trapped in the Event Horizon: 150545
  [i] Number of whitelisted domains: 10
  [i] Number of blacklisted domains: 4
  [i] Number of regex filters: 1
  [?] Parsing domains into hosts format
  [?] Cleaning up stray matter

  [?] Force-reloading DNS service
  [?] DNS service is running
  [?] Pi-hole blocking is Enabled
root@mvps-vm1:~ # pihole restartdns
  [?] Restarting DNS service
root@mvps-vm1:~ # apt update && apt upgrade
OK:1 http://deb.debian.org/debian stretch-updates InRelease
OK:2 http://security.debian.org/debian-security stretch/updates InRelease
Ign:3 http://deb.debian.org/debian stable InRelease
OK:4 http://deb.debian.org/debian stable Release
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Alle Pakete sind aktuell.
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Paketaktualisierung (Upgrade) wird berechnet... Fertig
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
root@mvps-vm1:~ # iptables -L --line-numbers -n
Chain INPUT (policy ACCEPT)
num  target     prot opt source               destination
1    ACCEPT     udp  --  127.0.0.1            0.0.0.0/0            udp dpt:53
2    ACCEPT     tcp  --  127.0.0.1            0.0.0.0/0            tcp dpt:53
3    [DOMAIN 1]  all  --  0.0.0.0/0            0.0.0.0/0
[...]
22   DROP       udp  --  0.0.0.0/0            0.0.0.0/0            udp dpt:53
23   DROP       tcp  --  0.0.0.0/0            0.0.0.0/0            tcp dpt:53
24   DROP       udp  --  0.0.0.0/0            0.0.0.0/0            udp dpt:161
25   DROP       udp  --  0.0.0.0/0            0.0.0.0/0            udp dpt:162
26   DROP       tcp  --  0.0.0.0/0            0.0.0.0/0            tcp dpt:5666

thanks for your help

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