Wrong IP over Pi-hole Admin Console

Expected Behaviour:

I have static ip configured over Raspbian.

sudo nano /etc/dhcpcd.conf

static ip_address=192.168.200.254/24

I confirm that is my actual IP, however this is not shown over Pi-hole Admin Console.

Actual Behaviour:

My Pi-hole Admin Console is showing a different IP address.

Pi-hole IPv4 address: 192.168.2.254/24

I've already updated and run a recovery

pihole -r

It also show IPv6, which is disabled.

Debug Token:

$ pihole -d

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] 2020-05-10:16:06:03 debug log has been initialized.

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

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

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

*** [ DIAGNOSING ]: FTL version
[✓] FTL: v5.0

*** [ DIAGNOSING ]: lighttpd version
[i] 1.4.45

*** [ DIAGNOSING ]: php version
[i] 7.0.33

*** [ DIAGNOSING ]: Operating system
[✓] Raspbian GNU/Linux 9 (stretch)

*** [ DIAGNOSING ]: SELinux
[i] SELinux not detected

*** [ DIAGNOSING ]: Processor
[✓] armv7l

*** [ DIAGNOSING ]: Networking
[✓] IPv4 address(es) bound to the eth0 interface:
   192.168.200.254/24 does not match the IP found in /etc/pihole/setupVars.conf (https://discourse.pi-hole.net/t/use-ipv6-ula-addresses-for-pi-hole/2127)

[✗] No IPv6 address(es) found on the eth0 interface.

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

*** [ DIAGNOSING ]: Ports in use
*:111 rpcbind (IPv4)
*:1880 node-red (IPv4)
*:1883 node-red (IPv6)
*:8080 node-red (IPv6)
*:9091 transmissi (IPv4)
*:51413 transmissi (IPv4)
*:51413 transmissi (IPv6)
127.0.0.1:10985 autossh (IPv4)
127.0.0.1:10984 ssh (IPv4)
*:46231 rpc.mountd (IPv4)
*:51507 rpc.mountd (IPv4)
*:59745 rpc.mountd (IPv4)
*:22 sshd (IPv4)
*:22 sshd (IPv6)
[80] is in use by lighttpd
[80] is in use by lighttpd
*:445 smbd (IPv6)
*:139 smbd (IPv6)
*:445 smbd (IPv4)
*:139 smbd (IPv4)
[53] is in use by pihole-FTL
[53] is in use by pihole-FTL
[4711] is in use by pihole-FTL
*:8888 rpimonitor (IPv4)

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

*** [ DIAGNOSING ]: Name resolution (IPv6) using a random blocked domain and a known ad-serving domain
[✗] Failed to resolve www.wiadomosci-web.24.eu via localhost (::1)
[✗] Failed to resolve www.wiadomosci-web.24.eu via Pi-hole (fd51:42f8:caae:d92e::ff)
[✗] Failed to resolve doubleclick.com via a remote, public DNS server (2001:4860:4860::8888)

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

*** [ DIAGNOSING ]: Setup variables
    BLOCKING_ENABLED=true
    DHCP_ACTIVE=true
    DHCP_START=192.168.200.50
    DHCP_END=192.168.200.100
    DHCP_ROUTER=192.168.200.1
    DHCP_LEASETIME=24
    PIHOLE_DOMAIN=lan
    DHCP_IPv6=false
    DHCP_rapid_commit=false
    DNSMASQ_LISTENING=single
    PIHOLE_DNS_3=208.67.222.222
    PIHOLE_DNS_4=208.67.220.220
    PIHOLE_DNS_5=181.213.132.2#53
    PIHOLE_DNS_6=181.213.132.3#53
    DNS_FQDN_REQUIRED=true
    DNS_BOGUS_PRIV=true
    DNSSEC=false
    CONDITIONAL_FORWARDING=false
    PIHOLE_INTERFACE=eth0
    IPV4_ADDRESS=192.168.2.254/24
    IPV6_ADDRESS=fd51:42f8:caae:d92e::ff
    PIHOLE_DNS_1=8.8.8.8
    PIHOLE_DNS_2=8.8.4.4
    QUERY_LOGGING=false
    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 and Database
-rw-rw-r-- 1 pihole pihole 6316032 mai 10 16:00 /etc/pihole/gravity.db

*** [ DIAGNOSING ]: Info table
   property              value                                   
   --------------------  ----------------------------------------
   version               12                                      
   updated               1589137204                              
   gravity_count         92699                                   
   Last gravity run finished at: dom mai 10 16:00:04 -03 2020

   ----- First 10 Gravity Domains -----
   localhost.localdomain
   01mspmd5yalky8.com
   0byv9mgbn0.com
   analytics.247sports.com
   www.analytics.247sports.com
   2no.co
   www.2no.co
   logitechlogitechglobal.112.2o7.net
   www.logitechlogitechglobal.112.2o7.net
   30-day-change.com


*** [ DIAGNOSING ]: Groups
   id    enabled  name                                                date_added           date_modified        description                                       
   ----  -------  --------------------------------------------------  -------------------  -------------------  --------------------------------------------------
   0           1  Default                                             2020-05-10 15:53:18  2020-05-10 15:53:18  The default group                                 

*** [ DIAGNOSING ]: Domainlist (0/1 = exact white-/blacklist, 2/3 = regex white-/blacklist)
   id    type  enabled  group_ids     domain                                                                                                date_added           date_modified        comment                                           
   ----  ----  -------  ------------  ----------------------------------------------------------------------------------------------------  -------------------  -------------------  --------------------------------------------------
 2020-05-10 15:53:18  2020-05-10 15:53:18  Migrated from /etc/pihole/blacklist.txt           
   17     1          1  0             r2---sn-bg07dnlk.googlevideo.com                                                                      2020-05-10 15:53:18  2020-05-10 15:53:18  Migrated from /etc/pihole/blacklist.txt           
   18     1          1  0             r4---sn-bg07dnze.googlevideo.com                                                                      2020-05-10 15:53:18  2020-05-10 15:53:18  Migrated from /etc/pihole/blacklist.txt           
   19     1          1  0             r1---sn-bg07dn6l.googlevideo.com                                                                      2020-05-10 15:53:18  2020-05-10 15:53:18  Migrated from /etc/pihole/blacklist.txt           
   20     1          1  0             r7---sn-xhcg5uxa-bg0l.googlevideo.com                                                                 2020-05-10 15:53:18  2020-05-10 15:53:18  Migrated from /etc/pihole/blacklist.txt           
   21     1          1  0             r2---sn-bg0ezn7z.googlevideo.com                                                                      2020-05-10 15:53:18  2020-05-10 15:53:18  Migrated from /etc/pihole/blacklist.txt           
   22     1          1  0             r4---sn-bg0ezn7z.googlevideo.com                                                                      2020-05-10 15:53:18  2020-05-10 15:53:18  Migrated from /etc/pihole/blacklist.txt           
   23     1          1  0             r5---sn-25glen7l.googlevideo.com                                                                      2020-05-10 15:53:18  2020-05-10 15:53:18  Migrated from /etc/pihole/blacklist.txt           
   24     1          1  0             r1---sn-bg07dnss.googlevideo.com                                                                      2020-05-10 15:53:18  2020-05-10 15:53:18  Migrated from /etc/pihole/blacklist.txt           
   25     1          1  0             r4---sn-bg0ezn7y.googlevideo.com                                                                      2020-05-10 15:53:18  2020-05-10 15:53:18  Migrated from /etc/pihole/blacklist.txt           
   26     1          1  0             r4.sn-bg07dnsr.googlevideo.com                                                                        2020-05-10 15:53:18  2020-05-10 15:53:18  Migrated from /etc/pihole/blacklist.txt           
   27     1          1  0             r3---sn-bg0ezne7.googlevideo.com                                                                      2020-05-10 15:53:18  2020-05-10 15:53:18  Migrated from /etc/pihole/blacklist.txt           
   28     1          1  0             r3---sn-bg07dney.googlevideo.com                                                                      2020-05-10 15:53:18  2020-05-10 15:53:18  Migrated from /etc/pihole/blacklist.txt           
   29     1          1  0             r3---sn-bg07dnsl.googlevideo.com                                                                      2020-05-10 15:53:18  2020-05-10 15:53:18  Migrated from /etc/pihole/blacklist.txt           
   30     1          1  0             r2---sn-bg07dnsy.googlevideo.com                                                                      2020-05-10 15:53:18  2020-05-10 15:53:18  Migrated from /etc/pihole/blacklist.txt           
   31     1          1  0             r3---sn-bg0ezn7l.googlevideo.com                                                                      2020-05-10 15:53:18  2020-05-10 15:53:18  Migrated from /etc/pihole/blacklist.txt           
   32     1          1  0             r2---sn-bg0ezn7l.googlevideo.com                                                                      2020-05-10 15:53:18  2020-05-10 15:53:18  Migrated from /etc/pihole/blacklist.txt           
   33     1          1  0             r1---sn-bg07dnze.googlevideo.com                                                                      2020-05-10 15:53:18  2020-05-10 15:53:18  Migrated from /etc/pihole/blacklist.txt           
   34     1          1  0             r1---sn-bg07dnsy.googlevideo.com                                                                      2020-05-10 15:53:18  2020-05-10 15:53:18  Migrated from /etc/pihole/blacklist.txt           
   35     1          1  0             r5---sn-bg07dnz7.googlevideo.com                                                                      2020-05-10 15:53:18  2020-05-10 15:53:18  Migrated from /etc/pihole/blacklist.txt           
   36     1          1  0             r2---sn-bg0ezn7y.googlevideo.com                                                                      2020-05-10 15:53:18  2020-05-10 15:53:18  Migrated from /etc/pihole/blacklist.txt           
   37     1          1  0             r4---sn-bg07dnls.googlevideo.com                                                                      2020-05-10 15:53:18  2020-05-10 15:53:18  Migrated from /etc/pihole/blacklist.txt           
   38     1          1  0             r4---sn-bg07dner.googlevideo.com                                                                      2020-05-10 15:53:18  2020-05-10 15:53:18  Migrated from /etc/pihole/blacklist.txt           
   39     1          1  0             r5---sn-bg07dnle.googlevideo.com                                                                      2020-05-10 15:53:18  2020-05-10 15:53:18  Migrated from /etc/pihole/blacklist.txt           
   40     1          1  0             r4---sn-oxunxg8pjvn-jo4l.googlevideo.com                                                              2020-05-10 15:53:18  2020-05-10 15:53:18  Migrated from /etc/pihole/blacklist.txt           
   41     1          1  0             r3---sn-bg07dnz7.googlevideo.com                                                                      2020-05-10 15:53:18  2020-05-10 15:53:18  Migrated from /etc/pihole/blacklist.txt           
   42    0           1  0             fahren.linkpc.net                                                                                     2020-05-10 15:53:19  2020-05-10 15:53:19  Migrated from /etc/pihole/whitelist.txt           
   43    0           1  0             192.168.200.254                                                                                       2020-05-10 15:53:19  2020-05-10 15:53:19  Migrated from /etc/pihole/whitelist.txt           
   44    0           1  0             api.ad.intl.xiaomi.com                                                                                2020-05-10 15:53:19  2020-05-10 15:53:19  Migrated from /etc/pihole/whitelist.txt           
   45    0           1  0             s.youtube.com                                                                                         2020-05-10 15:53:19  2020-05-10 15:53:19  Migrated from /etc/pihole/whitelist.txt           
   46    0           1  0             r2---sn-bg07dnle.googlevideo.com                                                                      2020-05-10 15:53:19  2020-05-10 15:53:19  Migrated from /etc/pihole/whitelist.txt           
   47    0           1  0             r4---sn-bg07dnss.googlevideo.com                                                                      2020-05-10 15:53:19  2020-05-10 15:53:19  Migrated from /etc/pihole/whitelist.txt           
   48    0           1  0             api-global.netflix.com                                                                                2020-05-10 15:53:19  2020-05-10 15:53:19  Migrated from /etc/pihole/whitelist.txt           
   49    0           1  0             r4---sn-bg07dn6l.googlevideo.com                                                                      2020-05-10 15:53:19  2020-05-10 15:53:19  Migrated from /etc/pihole/whitelist.txt           
   50    0           1  0             r3---sn-bg07dn6l.googlevideo.com                                                                      2020-05-10 15:53:19  2020-05-10 15:53:19  Migrated from /etc/pihole/whitelist.txt           
   51    0           1  0             r2---sn-oxunxg8pjvn-jo4s.googlevideo.com                                                              2020-05-10 15:53:19  2020-05-10 15:53:19  Migrated from /etc/pihole/whitelist.txt           
   52    0           1  0             r4---sn-bg0eznek.googlevideo.com                                                                      2020-05-10 15:53:19  2020-05-10 15:53:19  Migrated from /etc/pihole/whitelist.txt           
   53    0           1  0             r6---sn-oxunxg8pjvn-jo4l.googlevideo.com                                                              2020-05-10 15:53:19  2020-05-10 15:53:19  Migrated from /etc/pihole/whitelist.txt           
   54    0           1  0             r5---sn-bg07dnl7.googlevideo.com                                                                      2020-05-10 15:53:19  2020-05-10 15:53:19  Migrated from /etc/pihole/whitelist.txt           
   55    0           1  0             r3---sn-bg0ezn7y.googlevideo.com                                                                      2020-05-10 15:53:19  2020-05-10 15:53:19  Migrated from /etc/pihole/whitelist.txt           
   56    0           1  0             r8---sn-oxunxg8pjvn-jo4l.googlevideo.com                                                              2020-05-10 15:53:19  2020-05-10 15:53:19  Migrated from /etc/pihole/whitelist.txt           
   57    0           1  0             r1---sn-bg0eznek.googlevideo.com                                                                      2020-05-10 15:53:19  2020-05-10 15:53:19  Migrated from /etc/pihole/whitelist.txt           
   58    0           1  0             r1---sn-bg07dner.googlevideo.com                                                                      2020-05-10 15:53:19  2020-05-10 15:53:19  Migrated from /etc/pihole/whitelist.txt           
   59    0           1  0             r1---sn-oxunxg8pjvn-jo4e.googlevideo.com                                                              2020-05-10 15:53:19  2020-05-10 15:53:19  Migrated from /etc/pihole/whitelist.txt           
   60    0           1  0             r2---sn-bg07dn6l.googlevideo.com                                                                      2020-05-10 15:53:19  2020-05-10 15:53:19  Migrated from /etc/pihole/whitelist.txt           
   61    0           1  0             r2---sn-bg0ezn7s.googlevideo.com                                                                      2020-05-10 15:53:19  2020-05-10 15:53:19  Migrated from /etc/pihole/whitelist.txt           
   62    0           1  0             r4---sn-bg0ezne7.googlevideo.com                                                                      2020-05-10 15:53:19  2020-05-10 15:53:19  Migrated from /etc/pihole/whitelist.txt           
   63    0           1  0             r1---sn-oxunxg8pjvn-jo4l.googlevideo.com                                                              2020-05-10 15:53:19  2020-05-10 15:53:19  Migrated from /etc/pihole/whitelist.txt           
   64    0           1  0             r4---sn-bg0ezn7e.googlevideo.com                                                                      2020-05-10 15:53:19  2020-05-10 15:53:19  Migrated from /etc/pihole/whitelist.txt           
   65    0           1  0             r5---sn-oxunxg8pjvn-jo4l.googlevideo.com                                                              2020-05-10 15:53:19  2020-05-10 15:53:19  Migrated from /etc/pihole/whitelist.txt           
   66    0           1  0             r5---sn-bg0ezn7z.googlevideo.com                                                                      2020-05-10 15:53:19  2020-05-10 15:53:19  Migrated from /etc/pihole/whitelist.txt           
   67    0           1  0             r7---sn-oxunxg8pjvn-jo4l.googlevideo.com                                                              2020-05-10 15:53:19  2020-05-10 15:53:19  Migrated from /etc/pihole/whitelist.txt           
   68    0           1  0             r3---sn-oxunxg8pjvn-jo4l.googlevideo.com                                                              2020-05-10 15:53:19  2020-05-10 15:53:19  Migrated from /etc/pihole/whitelist.txt           
   69    0           1  0             r1---sn-oxunxg8pjvn-jo4s.googlevideo.com                                                              2020-05-10 15:53:19  2020-05-10 15:53:19  Migrated from /etc/pihole/whitelist.txt           
   70    0           1  0             r6---sn-gpv7dn7e.googlevideo.com                                                                      2020-05-10 15:53:19  2020-05-10 15:53:19  Migrated from /etc/pihole/whitelist.txt           
   71    0           1  0             r4---sn-bg07dnsr.googlevideo.com                                                                      2020-05-10 15:53:19  2020-05-10 15:53:19  Migrated from /etc/pihole/whitelist.txt           

*** [ DIAGNOSING ]: Clients

*** [ DIAGNOSING ]: Adlists
   id    enabled  group_ids     address                                                                                               date_added           date_modified        comment                                           
   ----  -------  ------------  ----------------------------------------------------------------------------------------------------  -------------------  -------------------  --------------------------------------------------
   1           1  0             https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts                                      2020-05-10 15:53:18  2020-05-10 15:53:18  Migrated from /etc/pihole/adlists.list            
   2           1  0             https://mirror1.malwaredomains.com/files/justdomains                                                  2020-05-10 15:53:18  2020-05-10 15:53:18  Migrated from /etc/pihole/adlists.list            
   3           1  0             http://sysctl.org/cameleon/hosts                                                                      2020-05-10 15:53:18  2020-05-10 15:53:18  Migrated from /etc/pihole/adlists.list            
   4           1  0             https://zeustracker.abuse.ch/blocklist.php?download=domainblocklist                                   2020-05-10 15:53:18  2020-05-10 15:53:18  Migrated from /etc/pihole/adlists.list            
   5           1  0             https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt                                      2020-05-10 15:53:18  2020-05-10 15:53:18  Migrated from /etc/pihole/adlists.list            
   6           1  0             https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt                                            2020-05-10 15:53:18  2020-05-10 15:53:18  Migrated from /etc/pihole/adlists.list            
   7           1  0             https://hosts-file.net/ad_servers.txt                                                                 2020-05-10 15:53:18  2020-05-10 15:53:18  Migrated from /etc/pihole/adlists.list            

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

-rw-r--r-- 1 root root 102 mai 10 16:00 /etc/pihole/local.list
   192.168.2.254 rasp
   fd51:42f8:caae:d92e::ff rasp
   192.168.2.254 pi.hole
   fd51:42f8:caae:d92e::ff pi.hole

-rw-r--r-- 1 root root 234 mai 10 15:58 /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
   }

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

-rw-r--r-- 1 root root 1503 mai 10 15:58 /etc/dnsmasq.d/01-pihole.conf
   addn-hosts=/etc/pihole/local.list
   addn-hosts=/etc/pihole/custom.list
   localise-queries
   no-resolv
   cache-size=10000
   log-facility=/var/log/pihole.log
   local-ttl=2
   log-async
   server=8.8.8.8
   server=8.8.4.4
   server=208.67.222.222
   server=208.67.220.220
   server=181.213.132.2
   server=181.213.132.3
   domain-needed
   bogus-priv
   interface=eth0
   server=/use-application-dns.net/

-rw-r--r-- 1 root root 488 mai 10 15:58 /etc/dnsmasq.d/02-pihole-dhcp.conf
   dhcp-authoritative
   dhcp-range=192.168.200.50,192.168.200.100,24h
   dhcp-option=option:router,192.168.200.1
   dhcp-leasefile=/etc/pihole/dhcp.leases
   domain=lan

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

-rw-r--r-- 1 root root 3499 mai 10 15:58 /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" )
   mimetype.assign   = ( ".png"  => "image/png",
                         ".jpg"  => "image/jpeg",
                         ".jpeg" => "image/jpeg",
                         ".html" => "text/html",
                         ".css" => "text/css; charset=utf-8",
                         ".js" => "application/javascript",
                         ".json" => "application/json",
                         ".txt"  => "text/plain",
                         ".svg"  => "image/svg+xml" )
   include_shell "/usr/share/lighttpd/use-ipv6.pl " + server.port
   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 mai 10 15:58 /etc/cron.d/pihole
   7 3   * * 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
   14 17  * * *   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 5312 mai 10 16:06 /var/log/lighttpd/error.log
   2020-05-10 06:25:02: (server.c.1534) logfiles cycled UID = 0 PID = 29953 
   2020-05-10 09:17:32: (log.c.217) server started 
   2020-05-10 09:17:32: (server.c.1295) WARNING: unknown config-key: alias.url (ignored) 
   2020-05-10 13:29:41: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined offset: 0 in /var/www/html/pihole/index.php on line 188
   2020-05-10 13:29:41: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Warning:  array_key_exists() expects parameter 2 to be array, null given in /var/www/html/pihole/index.php on line 189
   2020-05-10 13:45:58: (server.c.1828) server stopped by UID = 0 PID = 1 
   2020-05-10 13:46:18: (log.c.217) server started 
   2020-05-10 13:46:18: (server.c.1295) WARNING: unknown config-key: alias.url (ignored) 
   2020-05-10 13:56:02: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined offset: 0 in /var/www/html/pihole/index.php on line 188
   2020-05-10 13:56:02: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Warning:  array_key_exists() expects parameter 2 to be array, null given in /var/www/html/pihole/index.php on line 189
   2020-05-10 14:21:31: (server.c.1828) server stopped by UID = 0 PID = 1 
   2020-05-10 14:21:32: (log.c.217) server started 
   2020-05-10 14:21:32: (server.c.1295) WARNING: unknown config-key: alias.url (ignored) 
   2020-05-10 14:22:54: (server.c.1828) server stopped by UID = 0 PID = 1 
   2020-05-10 14:23:21: (log.c.217) server started 
   2020-05-10 14:23:21: (server.c.1295) WARNING: unknown config-key: alias.url (ignored) 
   2020-05-10 14:25:18: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined offset: 0 in /var/www/html/pihole/index.php on line 188
   2020-05-10 14:25:18: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Warning:  array_key_exists() expects parameter 2 to be array, null given in /var/www/html/pihole/index.php on line 189
   2020-05-10 14:27:29: (server.c.1828) server stopped by UID = 0 PID = 1 
   2020-05-10 14:27:30: (log.c.217) server started 
   2020-05-10 14:27:30: (server.c.1295) WARNING: unknown config-key: alias.url (ignored) 
   2020-05-10 14:28:36: (server.c.1828) server stopped by UID = 0 PID = 1 
   2020-05-10 14:28:55: (log.c.217) server started 
   2020-05-10 14:28:55: (server.c.1295) WARNING: unknown config-key: alias.url (ignored) 
   2020-05-10 14:31:00: (server.c.1828) server stopped by UID = 0 PID = 1 

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

-rw-r--r-- 1 pihole pihole 132187 mai 10 16:00 /var/log/pihole-FTL.log
   -----head of pihole-FTL.log------
   [2020-05-10 00:14:07.200 875] Resizing "/FTL-strings" from 40960 to 45056
   [2020-05-10 00:20:16.416 946] Using log file /var/log/pihole-FTL.log
   [2020-05-10 00:20:16.417 946] ########## FTL started! ##########
   [2020-05-10 00:20:16.418 946] FTL branch: master
   [2020-05-10 00:20:16.418 946] FTL version: v4.3.1
   [2020-05-10 00:20:16.418 946] FTL commit: b60d63f
   [2020-05-10 00:20:16.418 946] FTL date: 2019-05-25 21:37:26 +0200
   [2020-05-10 00:20:16.418 946] FTL user: pihole
   [2020-05-10 00:20:16.418 946] Starting config file parsing (/etc/pihole/pihole-FTL.conf)
   [2020-05-10 00:20:16.418 946]    SOCKET_LISTENING: only local
   [2020-05-10 00:20:16.418 946]    AAAA_QUERY_ANALYSIS: Show AAAA queries
   [2020-05-10 00:20:16.418 946]    MAXDBDAYS: max age for stored queries is 365 days
   [2020-05-10 00:20:16.418 946]    RESOLVE_IPV6: Resolve IPv6 addresses
   [2020-05-10 00:20:16.418 946]    RESOLVE_IPV4: Resolve IPv4 addresses
   [2020-05-10 00:20:16.418 946]    DBINTERVAL: saving to DB file every minute
   [2020-05-10 00:20:16.418 946]    DBFILE: Using /etc/pihole/pihole-FTL.db
   [2020-05-10 00:20:16.418 946]    MAXLOGAGE: Importing up to 24.0 hours of log data
   [2020-05-10 00:20:16.419 946]    PRIVACYLEVEL: Set to 0
   [2020-05-10 00:20:16.419 946]    IGNORE_LOCALHOST: Show queries from localhost
   [2020-05-10 00:20:16.419 946]    BLOCKINGMODE: Null IPs for blocked domains
   [2020-05-10 00:20:16.419 946]    ANALYZE_ONLY_A_AND_AAAA: Disabled. Analyzing all queries
   [2020-05-10 00:20:16.419 946]    DBIMPORT: Importing history from database
   [2020-05-10 00:20:16.419 946]    PIDFILE: Using /var/run/pihole-FTL.pid
   [2020-05-10 00:20:16.419 946]    PORTFILE: Using /var/run/pihole-FTL.port
   [2020-05-10 00:20:16.419 946]    SOCKETFILE: Using /var/run/pihole/FTL.sock
   [2020-05-10 00:20:16.419 946]    WHITELISTFILE: Using /etc/pihole/whitelist.txt
   [2020-05-10 00:20:16.419 946]    BLACKLISTFILE: Using /etc/pihole/black.list
   [2020-05-10 00:20:16.419 946]    GRAVITYFILE: Using /etc/pihole/gravity.list
   [2020-05-10 00:20:16.419 946]    REGEXLISTFILE: Using /etc/pihole/regex.list
   [2020-05-10 00:20:16.419 946]    SETUPVARSFILE: Using /etc/pihole/setupVars.conf
   [2020-05-10 00:20:16.419 946]    AUDITLISTFILE: Using /etc/pihole/auditlog.list
   [2020-05-10 00:20:16.419 946]    MACVENDORDB: Using /etc/pihole/macvendor.db
   [2020-05-10 00:20:16.419 946]    PARSE_ARP_CACHE: Active
   [2020-05-10 00:20:16.420 946] Finished config file parsing
   [2020-05-10 00:20:16.425 946] Database version is 3

   -----tail of pihole-FTL.log------
   [2020-05-10 16:00:57.488 749] New upstream server: 8.8.8.8 (3/1024)
   [2020-05-10 16:00:57.488 749] New upstream server: 8.8.4.4 (4/1024)
   [2020-05-10 16:00:57.507 749] Resizing "/FTL-strings" from 8192 to 12288
   [2020-05-10 16:00:57.571 749] Resizing "/FTL-queries" from 229376 to 458752
   [2020-05-10 16:00:57.584 749] Resizing "/FTL-strings" from 12288 to 16384
   [2020-05-10 16:00:57.670 749] Resizing "/FTL-queries" from 458752 to 688128
   [2020-05-10 16:00:57.672 749] Resizing "/FTL-strings" from 16384 to 20480
   [2020-05-10 16:00:57.720 749] Resizing "/FTL-strings" from 20480 to 24576
   [2020-05-10 16:00:57.818 749] Resizing "/FTL-queries" from 688128 to 917504
   [2020-05-10 16:00:57.859 749] Resizing "/FTL-strings" from 24576 to 28672
   [2020-05-10 16:00:57.986 749] Resizing "/FTL-queries" from 917504 to 1146880
   [2020-05-10 16:00:58.016 749] Resizing "/FTL-strings" from 28672 to 32768
   [2020-05-10 16:00:58.124 749] Resizing "/FTL-queries" from 1146880 to 1376256
   [2020-05-10 16:00:58.130 749] New upstream server: 181.213.132.3 (5/1024)
   [2020-05-10 16:00:58.135 749] Resizing "/FTL-strings" from 32768 to 36864
   [2020-05-10 16:00:58.232 749] Resizing "/FTL-strings" from 36864 to 40960
   [2020-05-10 16:00:58.305 749] Resizing "/FTL-queries" from 1376256 to 1605632
   [2020-05-10 16:00:58.345 749] Imported 25005 queries from the long-term database
   [2020-05-10 16:00:58.347 749]  -> Total DNS queries: 25005
   [2020-05-10 16:00:58.347 749]  -> Cached DNS queries: 12037
   [2020-05-10 16:00:58.347 749]  -> Forwarded DNS queries: 11773
   [2020-05-10 16:00:58.347 749]  -> Blocked DNS queries: 1195
   [2020-05-10 16:00:58.347 749]  -> Unknown DNS queries: 0
   [2020-05-10 16:00:58.347 749]  -> Unique domains: 1593
   [2020-05-10 16:00:58.347 749]  -> Unique clients: 10
   [2020-05-10 16:00:58.347 749]  -> Known forward destinations: 6
   [2020-05-10 16:00:58.347 749] Successfully accessed setupVars.conf
   [2020-05-10 16:00:58.388 761] PID of FTL process: 761
   [2020-05-10 16:00:58.388 761] Listening on port 4711 for incoming IPv4 telnet connections
   [2020-05-10 16:00:58.388 761] Listening on Unix socket
   [2020-05-10 16:00:58.393 761] Reloading DNS cache
   [2020-05-10 16:00:58.393 761] Blocking status is enabled
   [2020-05-10 16:00:58.415 761] INFO: No regex blacklist entries found
   [2020-05-10 16:00:58.416 761] INFO: No regex whitelist entries found
   [2020-05-10 16:00:58.435 761] Compiled 0 whitelist and 0 blacklist regex filters in 29.0 msec

*** [ DIAGNOSING ]: contents of /dev/shm
-rw------- 1 pihole pihole 643072 mai 10 16:00 /dev/shm/FTL-clients
-rw------- 1 pihole pihole 124 mai 10 16:00 /dev/shm/FTL-counters
-rw------- 1 pihole pihole 4096 mai 10 16:00 /dev/shm/FTL-dns-cache
-rw------- 1 pihole pihole 65536 mai 10 16:00 /dev/shm/FTL-domains
-rw------- 1 pihole pihole 28 mai 10 16:00 /dev/shm/FTL-lock
-rw------- 1 pihole pihole 28672 mai 10 16:00 /dev/shm/FTL-overTime
-rw------- 1 pihole pihole 4096 mai 10 16:00 /dev/shm/FTL-per-client-regex
-rw------- 1 pihole pihole 1605632 mai 10 16:01 /dev/shm/FTL-queries
-rw------- 1 pihole pihole 12 mai 10 16:00 /dev/shm/FTL-settings
-rw------- 1 pihole pihole 40960 mai 10 16:00 /dev/shm/FTL-strings
-rw------- 1 pihole pihole 20480 mai 10 16:00 /dev/shm/FTL-upstreams

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

*** [ DIAGNOSING ]: Pi-hole log
-rw-r--r-- 1 pihole pihole 47762 mai 10 16:00 /var/log/pihole.log
   -----head of pihole.log------
   May 10 00:00:47 dnsmasq-dhcp[875]: DHCPREQUEST(eth0) 192.168.200.92 30:ff:f6:1a:68:e1 
   May 10 00:00:47 dnsmasq-dhcp[875]: DHCPACK(eth0) 192.168.200.92 30:ff:f6:1a:68:e1 
   May 10 00:20:17 dnsmasq[948]: started, version pi-hole-2.80 cachesize 10000
   May 10 00:20:17 dnsmasq[948]: 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 dumpfile
   May 10 00:20:17 dnsmasq-dhcp[948]: DHCP, IP range 192.168.200.50 -- 192.168.200.100, lease time 1d
   May 10 00:20:17 dnsmasq[948]: using nameserver 181.213.132.2#53
   May 10 00:20:17 dnsmasq[948]: using nameserver 208.67.220.220#53
   May 10 00:20:17 dnsmasq[948]: using nameserver 208.67.222.222#53
   May 10 00:20:17 dnsmasq[948]: using nameserver 8.8.4.4#53
   May 10 00:20:17 dnsmasq[948]: using nameserver 8.8.8.8#53
   May 10 00:20:17 dnsmasq[948]: read /etc/hosts - 6 addresses
   May 10 00:20:17 dnsmasq[948]: read /etc/pihole/local.list - 4 addresses
   May 10 00:20:17 dnsmasq[948]: read /etc/pihole/black.list - 41 addresses
   May 10 00:20:18 dnsmasq[948]: read /etc/pihole/gravity.list - 129657 addresses
   May 10 03:00:50 dnsmasq-dhcp[948]: DHCPDISCOVER(eth0) 30:ff:f6:1a:68:e1 
   May 10 03:00:50 dnsmasq-dhcp[948]: DHCPOFFER(eth0) 192.168.200.92 30:ff:f6:1a:68:e1 
   May 10 03:00:50 dnsmasq-dhcp[948]: DHCPREQUEST(eth0) 192.168.200.92 30:ff:f6:1a:68:e1 
   May 10 03:00:50 dnsmasq-dhcp[948]: DHCPACK(eth0) 192.168.200.92 30:ff:f6:1a:68:e1 
   May 10 03:09:32 dnsmasq[948]: read /etc/hosts - 6 addresses
   May 10 03:09:32 dnsmasq[948]: read /etc/pihole/local.list - 4 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.


You have the IP set incorrectly in Pi-hole. You can run pihole -r and select reconfigure to get Pi-hole on the correct IP. Doing this will overwrite your adlists, so save them with teleporter and reimport when you have reconfigured.

jfb thanks, however, as I stated. I've already done that. Also, went through thousand posts like mine. However, it is still wrong.

Let's try this. Manually edit /etc/pihole/setupVars.conf, make the change and save and exit the editor.

Then restart FTL with sudo service pihole-FTL restart

Thanks. That solved my problem.

Verify that the permissions on your file match these:

ls -lha /etc/pihole/setupVars.conf
-rw-r--r-- 1 root root 522 May  9 16:13 /etc/pihole/setupVars.conf

Here is the output:

$ ls -lha /etc/pihole/setupVars.conf
-rw-r--r-- 1 root root 698 mai 10 17:04 /etc/pihole/setupVars.conf

Seems ok.

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