Hi guys, how are u?
I installed Pi-Hoe and Unbound to create my own DNS server but I'm getting some errors and I don't know what else to do.
First I installed unbound and test it, everething was working. I ran DIG ( dig sigfail.verteiltesysteme.net @127.0.0.1 -p 5335
and dig sigok.verteiltesysteme.net @127.0.0.1 -p 5335
) the first give me SERVFAIL (as expected) and the second NOERROR (as expected too). After this I installed Pi-hole and set the DNS as 127.0.0.1 with port 5335 (as shown at pihole documentation). But after this nothing works.
When I look at the queries log in pi-hole web admin all of them return with SERVFAIL.
I'm running pihole and unbound at my raspberry pi 4 model b 4GB.
Now if i try to run dig again it only shows me connection timed out; no servers could be reached
Here's my config:
server:
# If no logfile is specified, syslog is used
logfile: "/var/log/unbound/unbound.log"
verbosity: 5
interface: 127.0.0.1
port: 5335
do-ip4: yes
do-udp: yes
do-tcp: yes
# May be set to yes if you have IPv6 connectivity
do-ip6: no
# You want to leave this to no unless you have *native* IPv6. With 6to4 and
# Terredo tunnels your web browser should favor IPv4 for the same reasons
prefer-ip6: no
# Use this only when you downloaded the list of primary root servers!
# If you use the default dns-root-data package, unbound will find it automatically
#root-hints: "/var/lib/unbound/root.hints"
# Trust glue only if it is within the server's authority
harden-glue: yes
# Require DNSSEC data for trust-anchored zones, if such data is absent, the zone becomes BOGUS
harden-dnssec-stripped: yes
# Don't use Capitalization randomization as it known to cause DNSSEC issues sometimes
# see https://discourse.pi-hole.net/t/unbound-stubby-or-dnscrypt-proxy/9378 for further details
use-caps-for-id: no
# Reduce EDNS reassembly buffer size.
# IP fragmentation is unreliable on the Internet today, and can cause
# transmission failures when large DNS messages are sent via UDP. Even
# when fragmentation does work, it may not be secure; it is theoretically
# possible to spoof parts of a fragmented DNS message, without easy
# detection at the receiving end. Recently, there was an excellent study
# >>> Defragmenting DNS - Determining the optimal maximum UDP response size for DNS <<<
# by Axel Koolhaas, and Tjeerd Slokker (https://indico.dns-oarc.net/event/36/contributions/776/)
# in collaboration with NLnet Labs explored DNS using real world data from the
# the RIPE Atlas probes and the researchers suggested different values for
# IPv4 and IPv6 and in different scenarios. They advise that servers should
# be configured to limit DNS messages sent over UDP to a size that will not
# trigger fragmentation on typical network links. DNS servers can switch
# from UDP to TCP when a DNS response is too big to fit in this limited
# buffer size. This value has also been suggested in DNS Flag Day 2020.
edns-buffer-size: 1232
# Perform prefetching of close to expired message cache entries
# This only applies to domains that have been frequently queried
prefetch: yes
# One thread should be sufficient, can be increased on beefy machines. In reality for most users running on small networks or on a single machine, it should be unnecessary to seek performance enhancement by increasing num-threads above 1.
num-threads: 5
# Ensure kernel buffer is large enough to not lose messages in traffic spikes
so-rcvbuf: 1m
# Ensure privacy of local IP ranges
private-address: 192.168.0.0/16
private-address: 169.254.0.0/16
private-address: 172.16.0.0/12
private-address: 10.0.0.0/8
private-address: fd00::/8
private-address: fe80::/10
My resolv.conf
file:
# Generated by resolvconf
domain Dlink
nameserver 127.0.0.1
And my debug log:
This process collects information from your Pi-hole, and optionally uploads it to a unique and random directory on tricorder.pi-hole.net.
The intent of this script is to allow users to self-diagnose their installations. This is accomplished by running tests against our software and providing the user with links to FAQ articles when a problem is detected. Since we are a small team and Pi-hole has been growing steadily, it is our hope that this will help us spend more time on development.
NOTE: All log files auto-delete after 48 hours and ONLY the Pi-hole developers can access your data via the given token. We have taken these extra steps to secure your data and will work to further reduce any personal information gathered.
*** [ INITIALIZING ]
[i] 2022-08-29:02:41:27 debug log has been initialized.
[i] System has been running for 0 days, 2 hours, 9 minutes
*** [ INITIALIZING ] Sourcing setup variables
[i] Sourcing /etc/pihole/setupVars.conf...
*** [ DIAGNOSING ]: Core version
[i] Core: v5.11.4 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
[i] Remotes: origin https://github.com/pi-hole/pi-hole.git (fetch)
origin https://github.com/pi-hole/pi-hole.git (push)
[i] Branch: master
[i] Commit: v5.11.4-0-gaefbe1f
*** [ DIAGNOSING ]: Web version
[i] Web: v5.13 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
[i] Remotes: origin https://github.com/pi-hole/AdminLTE.git (fetch)
origin https://github.com/pi-hole/AdminLTE.git (push)
[i] Branch: master
[i] Commit: v5.13-0-g1714b08
*** [ DIAGNOSING ]: FTL version
[β] FTL: v5.16.3
*** [ DIAGNOSING ]: lighttpd version
[i] 1.4.59
*** [ DIAGNOSING ]: php version
[i] 7.4.30
*** [ DIAGNOSING ]: Operating system
[i] dig return code: 10
[i] dig response: dig: couldn't get address for 'ns1.pi-hole.net': failure
[β] Distro: Debian
[β] Error: Debian is not a supported distro (https://docs.pi-hole.net/main/prerequisites/)
*** [ DIAGNOSING ]: SELinux
[i] SELinux not detected
*** [ DIAGNOSING ]: FirewallD
[i] Firewalld service inactive
*** [ DIAGNOSING ]: Processor
[β] aarch64
*** [ DIAGNOSING ]: Disk usage
Sist. Arq. Tam. Usado Disp. Uso% Montado em
/dev/root 29G 1,8G 26G 7% /
devtmpfs 1,7G 0 1,7G 0% /dev
tmpfs 1,9G 1,2M 1,9G 1% /dev/shm
tmpfs 759M 884K 759M 1% /run
tmpfs 5,0M 4,0K 5,0M 1% /run/lock
/dev/mmcblk0p1 253M 31M 222M 12% /boot
tmpfs 380M 0 380M 0% /run/user/1000
tmpfs 380M 0 380M 0% /run/user/999
*** [ DIAGNOSING ]: Network interfaces and addresses
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether e4:5f:01:64:ad:8e brd ff:ff:ff:ff:ff:ff
inet 10.15.0.53/24 brd 10.15.0.255 scope global noprefixroute eth0
valid_lft forever preferred_lft forever
inet6 fd01::6e7b:14e8:e850:af70/64 scope global dynamic mngtmpaddr noprefixroute
valid_lft 294sec preferred_lft 294sec
inet6 fe80::b848:bedc:b6b5:7b01/64 scope link
valid_lft forever preferred_lft forever
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
link/ether e4:5f:01:64:ad:8f brd ff:ff:ff:ff:ff:ff
*** [ DIAGNOSING ]: Network routing table
default via 10.15.0.5 dev eth0 src 10.15.0.53 metric 202
10.15.0.0/24 dev eth0 proto dhcp scope link src 10.15.0.53 metric 202
*** [ DIAGNOSING ]: Networking
[β] IPv4 address(es) bound to the eth0 interface:
10.15.0.53/24
[β] IPv6 address(es) bound to the eth0 interface:
fd01::6e7b:14e8:e850:af70/64
fe80::b848:bedc:b6b5:7b01/64
[i] Default IPv4 gateway: 10.15.0.5
* Pinging 10.15.0.5...
[β] Gateway responded.
*** [ DIAGNOSING ]: Ports in use
udp:0.0.0.0:33862 is in use by pihole-FTL
udp:0.0.0.0:56443 is in use by pihole-FTL
udp:127.0.0.1:5335 is in use by unbound
udp:127.0.0.1:5335 is in use by unbound
udp:127.0.0.1:5335 is in use by unbound
udp:127.0.0.1:5335 is in use by unbound
udp:127.0.0.1:5335 is in use by unbound
udp:0.0.0.0:5353 is in use by avahi-daemon
udp:0.0.0.0:60732 is in use by pihole-FTL
udp:0.0.0.0:58709 is in use by avahi-daemon
udp:0.0.0.0:40574 is in use by pihole-FTL
udp:0.0.0.0:38651 is in use by pihole-FTL
udp:0.0.0.0:55163 is in use by pihole-FTL
udp:0.0.0.0:38819 is in use by pihole-FTL
udp:0.0.0.0:49070 is in use by pihole-FTL
[β] udp:0.0.0.0:53 is in use by pihole-FTL
udp:0.0.0.0:67 is in use by pihole-FTL
udp:0.0.0.0:68 is in use by dhcpcd
udp:0.0.0.0:51398 is in use by pihole-FTL
udp:0.0.0.0:59842 is in use by pihole-FTL
udp:0.0.0.0:43518 is in use by pihole-FTL
udp:0.0.0.0:37883 is in use by pihole-FTL
udp:*:5353 is in use by avahi-daemon
[β] udp:*:53 is in use by pihole-FTL
udp:*:546 is in use by dhcpcd
udp:*:35473 is in use by avahi-daemon
tcp:0.0.0.0:22 is in use by sshd
[β] tcp:0.0.0.0:53 is in use by pihole-FTL
[β] tcp:0.0.0.0:80 is in use by lighttpd
tcp:127.0.0.1:8953 is in use by unbound
[β] tcp:127.0.0.1:4711 is in use by pihole-FTL
tcp:127.0.0.1:5335 is in use by unbound
tcp:127.0.0.1:5335 is in use by unbound
tcp:127.0.0.1:5335 is in use by unbound
tcp:127.0.0.1:5335 is in use by unbound
tcp:127.0.0.1:5335 is in use by unbound
tcp:*:22 is in use by sshd
[β] tcp:*:53 is in use by pihole-FTL
[β] tcp:*:80 is in use by lighttpd
[β] tcp:[::1]:4711 is in use by pihole-FTL
*** [ DIAGNOSING ]: Name resolution (IPv4) using a random blocked domain and a known ad-serving domain
[β] www.friendlystorewyo.com is 0.0.0.0 on lo (127.0.0.1)
[β] www.friendlystorewyo.com is 0.0.0.0 on eth0 (10.15.0.53)
[β] No IPv4 address available on wlan0
[β] doubleclick.com is 64.233.161.138 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
[β] archswimming.com is :: on lo (::1)
[β] archswimming.com is :: on eth0 (fd01::6e7b:14e8:e850:af70)
[β] archswimming.com is :: on eth0 (fe80::b848:bedc:b6b5:7b01)
[β] No IPv6 address available on wlan0
[β] Failed to resolve doubleclick.com via a remote, public DNS server (2001:4860:4860::8888)
*** [ DIAGNOSING ]: Discovering active DHCP servers (takes 10 seconds)
Scanning all your interfaces for DHCP servers
Timeout: 10 seconds
* Received 310 bytes from eth0:10.15.0.53
Offered IP address: 10.15.0.54
Server IP address: 10.15.0.53
Relay-agent IP address: N/A
BOOTP server: (empty)
BOOTP file: (empty)
DHCP options:
Message type: DHCPOFFER (2)
server-identifier: 10.15.0.53
lease-time: 86400 ( 1d )
renewal-time: 43200 ( 12h )
rebinding-time: 75600 ( 21h )
netmask: 255.255.255.0
broadcast: 10.15.0.255
dns-server: 10.15.0.53
domain-name: "lan"
hostname: "raspberrypi"
router: 10.15.0.5
--- end of options ---
DHCP packets received on interface wlan0: 0DHCP packets received on interface lo: 0
DHCP packets received on interface eth0: 1
*** [ DIAGNOSING ]: Pi-hole processes
[β] lighttpd daemon is active
[β] pihole-FTL daemon is active
*** [ DIAGNOSING ]: Pi-hole-FTL full status
β pihole-FTL.service - LSB: pihole-FTL daemon
Loaded: loaded (/etc/init.d/pihole-FTL; generated)
Active: active (exited) since Mon 2022-08-29 02:12:13 -03; 29min ago
Docs: man:systemd-sysv-generator(8)
Process: 27549 ExecStart=/etc/init.d/pihole-FTL start (code=exited, status=0/SUCCESS)
CPU: 42ms
ago 29 02:12:13 raspberrypi systemd[1]: Starting LSB: pihole-FTL daemon...
ago 29 02:12:13 raspberrypi pihole-FTL[27549]: Not running
ago 29 02:12:13 raspberrypi su[27568]: (to pihole) root on none
ago 29 02:12:13 raspberrypi su[27568]: pam_unix(su:session): session opened for user pihole(uid=999) by (uid=0)
ago 29 02:12:13 raspberrypi su[27568]: pam_unix(su:session): session closed for user pihole
ago 29 02:12:13 raspberrypi systemd[1]: Started LSB: pihole-FTL daemon.
*** [ DIAGNOSING ]: Setup variables
PIHOLE_INTERFACE=eth0
QUERY_LOGGING=true
INSTALL_WEB_SERVER=true
INSTALL_WEB_INTERFACE=true
LIGHTTPD_ENABLED=true
CACHE_SIZE=10000
DNS_FQDN_REQUIRED=true
DNS_BOGUS_PRIV=true
DNSMASQ_LISTENING=local
BLOCKING_ENABLED=true
DNSSEC=false
REV_SERVER=false
DHCP_ACTIVE=true
DHCP_START=10.15.0.50
DHCP_END=10.15.0.150
DHCP_ROUTER=10.15.0.5
DHCP_LEASETIME=24
PIHOLE_DOMAIN=lan
DHCP_IPv6=false
DHCP_rapid_commit=false
REV_SERVER_CIDR=10.15.0.0/16
REV_SERVER_TARGET=10.15.0.53
REV_SERVER_DOMAIN=local
PIHOLE_DNS_1=127.0.0.1#5335
*** [ DIAGNOSING ]: Dashboard and block page
[β] Block page X-Header: X-Header does not match or could not be retrieved.
HTTP/1.1 200 OK
Content-type: text/html; charset=UTF-8
Expires: Mon, 29 Aug 2022 05:42:02 GMT
Cache-Control: max-age=0
Date: Mon, 29 Aug 2022 05:42:02 GMT
Server: lighttpd/1.4.59
[β] Web interface X-Header: X-Pi-hole: The Pi-hole Web interface is working!
*** [ DIAGNOSING ]: Gravity Database
-rw-rw-r-- 1 pihole pihole 9,7M ago 29 01:00 /etc/pihole/gravity.db
*** [ DIAGNOSING ]: Info table
property value
-------------------- ----------------------------------------
version 15
updated 1661745650
gravity_count 136942
Last gravity run finished at: seg 29 ago 2022 01:00:50 -03
----- First 10 Gravity Domains -----
localhost.localdomain
eu1.clevertap-prod.com
wizhumpgyros.com
coccyxwickimp.com
webmail-who-int.000webhostapp.com
010sec.com
01mspmd5yalky8.com
0byv9mgbn0.com
ns6.0pendns.org
dns.0pengl.com
*** [ DIAGNOSING ]: Groups
id enabled name date_added date_modified description
---- ------- -------------------------------------------------- ------------------- ------------------- --------------------------------------------------
0 1 Default 2022-08-29 01:00:47 2022-08-29 01:00:47 The default group
*** [ DIAGNOSING ]: Domainlist (0/1 = exact white-/blacklist, 2/3 = regex white-/blacklist)
*** [ 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 2022-08-29 01:00:47 2022-08-29 01:00:47 Migrated from /etc/pihole/adlists.list
*** [ DIAGNOSING ]: contents of /etc/pihole
-rw-r--r-- 1 root root 0 ago 29 01:00 /etc/pihole/custom.list
-rw-r--r-- 1 root root 65 ago 29 01:00 /etc/pihole/local.list
-rw-r--r-- 1 root root 241 ago 29 01:00 /etc/pihole/logrotate
/var/log/pihole/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-rw-r-- 1 pihole root 146 ago 29 02:12 /etc/pihole/pihole-FTL.conf
PRIVACYLEVEL=0
RATE_LIMIT=1000/60
*** [ DIAGNOSING ]: contents of /etc/dnsmasq.d
-rw-r--r-- 1 root root 1,5K ago 29 02:12 /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-queries
log-facility=/var/log/pihole/pihole.log
log-async
dhcp-name-match=set:hostname-ignore,wpad
dhcp-name-match=set:hostname-ignore,localhost
dhcp-ignore-names=tag:hostname-ignore
server=127.0.0.1#5335
domain-needed
expand-hosts
bogus-priv
local-service
-rw-r--r-- 1 root root 488 ago 29 02:12 /etc/dnsmasq.d/02-pihole-dhcp.conf
dhcp-authoritative
dhcp-range=10.15.0.50,10.15.0.150,24h
dhcp-option=option:router,10.15.0.5
dhcp-leasefile=/etc/pihole/dhcp.leases
domain=lan
local=/lan/
-rw-r--r-- 1 root root 51 ago 29 01:04 /etc/dnsmasq.d/04-pihole-static-dhcp.conf
dhcp-host=E4:5F:01:64:AD:8E,10.15.0.53,raspberrypi
-rw-r--r-- 1 root root 2,2K ago 29 01:00 /etc/dnsmasq.d/06-rfc6761.conf
server=/test/
server=/localhost/
server=/invalid/
server=/bind/
server=/onion/
*** [ DIAGNOSING ]: contents of /etc/lighttpd
-rw-r--r-- 1 root root 0 ago 29 01:00 /etc/lighttpd/external.conf
-rw-r--r-- 1 root root 3,9K ago 29 01:00 /etc/lighttpd/lighttpd.conf
server.modules = (
"mod_access",
"mod_accesslog",
"mod_auth",
"mod_expire",
"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-pihole.log"
server.pid-file = "/run/lighttpd.pid"
server.username = "www-data"
server.groupname = "www-data"
server.port = 80
accesslog.filename = "/var/log/lighttpd/access-pihole.log"
accesslog.format = "%{%s}t|%V|%r|%s|%b"
server.stream-response-body = 1
index-file.names = ( "index.php", "index.html", "index.lighttpd.html" )
url.access-deny = ( "~", ".inc", ".md", ".yml", ".ini" )
static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
mimetype.assign = (
".ico" => "image/x-icon",
".jpeg" => "image/jpeg",
".jpg" => "image/jpeg",
".png" => "image/png",
".svg" => "image/svg+xml",
".css" => "text/css; charset=utf-8",
".html" => "text/html; charset=utf-8",
".js" => "text/javascript; charset=utf-8",
".json" => "application/json; charset=utf-8",
".map" => "application/json; charset=utf-8",
".txt" => "text/plain; charset=utf-8",
".eot" => "application/vnd.ms-fontobject",
".otf" => "font/otf",
".ttc" => "font/collection",
".ttf" => "font/ttf",
".woff" => "font/woff",
".woff2" => "font/woff2"
)
include_shell "cat external.conf 2>/dev/null"
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"] =~ "^/admin/\.(.*)" {
url.access-deny = ("")
}
$HTTP["url"] =~ "/(teleporter|api_token)\.php$" {
$HTTP["referer"] =~ "/admin/settings\.php" {
setenv.add-response-header = ( "X-Frame-Options" => "SAMEORIGIN" )
}
}
expire.url = ( "" => "access plus 0 seconds" )
*** [ DIAGNOSING ]: contents of /etc/cron.d
-rw-r--r-- 1 root root 1,8K ago 29 01:00 /etc/cron.d/pihole
44 4 * * 7 root PATH="$PATH:/usr/sbin:/usr/local/bin/" pihole updateGravity >/var/log/pihole/pihole_updateGravity.log || cat /var/log/pihole/pihole_updateGravity.log
00 00 * * * root PATH="$PATH:/usr/sbin:/usr/local/bin/" pihole flush once quiet
@reboot root /usr/sbin/logrotate --state /var/lib/logrotate/pihole /etc/pihole/logrotate
*/10 * * * * root PATH="$PATH:/usr/sbin:/usr/local/bin/" pihole updatechecker local
38 16 * * * root PATH="$PATH:/usr/sbin:/usr/local/bin/" pihole updatechecker remote
@reboot root PATH="$PATH:/usr/sbin:/usr/local/bin/" pihole updatechecker remote reboot
*** [ DIAGNOSING ]: contents of /var/log/lighttpd
-rw-r--r-- 1 www-data www-data 69 ago 29 01:00 /var/log/lighttpd/error-pihole.log
-----head of error-pihole.log------
2022-08-29 01:00:43: server.c.1513) server started (lighttpd/1.4.59)
-----tail of error-pihole.log------
2022-08-29 01:00:43: server.c.1513) server started (lighttpd/1.4.59)
*** [ DIAGNOSING ]: contents of /var/log/pihole
-rw-r--r-- 1 pihole pihole 62K ago 29 02:41 /var/log/pihole/FTL.log
-----head of FTL.log------
[2022-08-29 01:00:46.697 21248M] Using log file /var/log/pihole/FTL.log
[2022-08-29 01:00:46.697 21248M] ########## FTL started on raspberrypi! ##########
[2022-08-29 01:00:46.697 21248M] FTL branch: master
[2022-08-29 01:00:46.697 21248M] FTL version: v5.16.3
[2022-08-29 01:00:46.697 21248M] FTL commit: 832b8c9
[2022-08-29 01:00:46.697 21248M] FTL date: 2022-08-21 08:38:10 +0200
[2022-08-29 01:00:46.697 21248M] FTL user: pihole
[2022-08-29 01:00:46.697 21248M] Compiled for aarch64 (compiled on CI) using aarch64-linux-gnu-gcc (Debian 6.3.0-18) 6.3.0 20170516
[2022-08-29 01:00:46.697 21248M] Creating mutex
[2022-08-29 01:00:46.697 21248M] Creating mutex
[2022-08-29 01:00:46.698 21248M] Starting config file parsing (/etc/pihole/pihole-FTL.conf)
[2022-08-29 01:00:46.698 21248M] SOCKET_LISTENING: only local
[2022-08-29 01:00:46.698 21248M] AAAA_QUERY_ANALYSIS: Show AAAA queries
[2022-08-29 01:00:46.698 21248M] MAXDBDAYS: max age for stored queries is 365 days
[2022-08-29 01:00:46.698 21248M] RESOLVE_IPV6: Resolve IPv6 addresses
[2022-08-29 01:00:46.698 21248M] RESOLVE_IPV4: Resolve IPv4 addresses
[2022-08-29 01:00:46.698 21248M] DBINTERVAL: saving to DB file every minute
[2022-08-29 01:00:46.698 21248M] DBFILE: Using /etc/pihole/pihole-FTL.db
[2022-08-29 01:00:46.698 21248M] MAXLOGAGE: Importing up to 24.0 hours of log data
[2022-08-29 01:00:46.698 21248M] PRIVACYLEVEL: Set to 0
[2022-08-29 01:00:46.698 21248M] IGNORE_LOCALHOST: Show queries from localhost
[2022-08-29 01:00:46.699 21248M] BLOCKINGMODE: Null IPs for blocked domains
[2022-08-29 01:00:46.699 21248M] ANALYZE_ONLY_A_AND_AAAA: Disabled. Analyzing all queries
[2022-08-29 01:00:46.699 21248M] DBIMPORT: Importing history from database
[2022-08-29 01:00:46.699 21248M] PIDFILE: Using /run/pihole-FTL.pid
[2022-08-29 01:00:46.699 21248M] PORTFILE: Using /run/pihole-FTL.port
[2022-08-29 01:00:46.699 21248M] SOCKETFILE: Using /run/pihole/FTL.sock
[2022-08-29 01:00:46.699 21248M] SETUPVARSFILE: Using /etc/pihole/setupVars.conf
[2022-08-29 01:00:46.699 21248M] MACVENDORDB: Using /etc/pihole/macvendor.db
[2022-08-29 01:00:46.699 21248M] GRAVITYDB: Using /etc/pihole/gravity.db
[2022-08-29 01:00:46.699 21248M] PARSE_ARP_CACHE: Active
[2022-08-29 01:00:46.699 21248M] CNAME_DEEP_INSPECT: Active
[2022-08-29 01:00:46.699 21248M] DELAY_STARTUP: No delay requested.
[2022-08-29 01:00:46.699 21248M] BLOCK_ESNI: Enabled, blocking _esni.{blocked domain}
[2022-08-29 01:00:46.699 21248M] NICE: Set process niceness to -10 (default)
-----tail of FTL.log------
[2022-08-29 02:12:13.126 27570M] Database version is 12
[2022-08-29 02:12:13.126 27570M] Resizing "FTL-strings" from 40960 to (81920 * 1) == 81920 (/dev/shm: 712.7KB used, 2.0GB total, FTL uses 700.8KB)
[2022-08-29 02:12:13.126 27570M] Imported 0 alias-clients
[2022-08-29 02:12:13.126 27570M] Database successfully initialized
[2022-08-29 02:12:13.143 27570M] New upstream server: 8.8.8.8:53 (0/512)
[2022-08-29 02:12:13.144 27570M] New upstream server: 127.0.0.1:5335 (1/512)
[2022-08-29 02:12:13.153 27570M] New upstream server: 10.15.0.5:53 (2/512)
[2022-08-29 02:12:13.174 27570M] Resizing "FTL-queries" from 229376 to (8192 * 56) == 458752 (/dev/shm: 753.7KB used, 2.0GB total, FTL uses 741.7KB)
[2022-08-29 02:12:13.192 27570M] Imported 6873 queries from the long-term database
[2022-08-29 02:12:13.193 27570M] -> Total DNS queries: 6873
[2022-08-29 02:12:13.193 27570M] -> Cached DNS queries: 29
[2022-08-29 02:12:13.193 27570M] -> Forwarded DNS queries: 6825
[2022-08-29 02:12:13.193 27570M] -> Blocked DNS queries: 8
[2022-08-29 02:12:13.193 27570M] -> Unknown DNS queries: 0
[2022-08-29 02:12:13.193 27570M] -> Unique domains: 108
[2022-08-29 02:12:13.193 27570M] -> Unique clients: 7
[2022-08-29 02:12:13.193 27570M] -> Known forward destinations: 3
[2022-08-29 02:12:13.193 27570M] Successfully accessed setupVars.conf
[2022-08-29 02:12:13.194 27570M] listening on 0.0.0.0 port 53
[2022-08-29 02:12:13.194 27570M] listening on :: port 53
[2022-08-29 02:12:13.197 27572M] PID of FTL process: 27572
[2022-08-29 02:12:13.198 27572M] Listening on port 4711 for incoming IPv4 telnet connections
[2022-08-29 02:12:13.198 27572M] Listening on port 4711 for incoming IPv6 telnet connections
[2022-08-29 02:12:13.199 27572M] Listening on port 4711 for incoming socket telnet connections
[2022-08-29 02:12:13.200 27572M] INFO: FTL is running as user pihole (UID 999)
[2022-08-29 02:12:13.200 27572M] Reloading DNS cache
[2022-08-29 02:12:13.302 27572/T27588] Compiled 0 whitelist and 0 blacklist regex filters for 7 clients in 0.6 msec
[2022-08-29 02:12:13.302 27572/T27588] Blocking status is enabled
[2022-08-29 02:13:57.712 27572M] WARNING in dnsmasq core: no address range available for DHCP request via lo
[2022-08-29 02:13:57.729 27572M] WARNING in dnsmasq core: not using configured address 10.15.0.53 because it is in use by the server or relay
[2022-08-29 02:14:01.053 27572M] WARNING in dnsmasq core: DHCP packet received on wlan0 which has no address
[2022-08-29 02:21:47.287 27572M] Resizing "FTL-queries" from 458752 to (12288 * 56) == 688128 (/dev/shm: 983.0KB used, 2.0GB total, FTL uses 971.1KB)
[2022-08-29 02:41:52.027 27572M] WARNING in dnsmasq core: no address range available for DHCP request via lo
[2022-08-29 02:41:52.049 27572M] WARNING in dnsmasq core: not using configured address 10.15.0.53 because it is in use by the server or relay
[2022-08-29 02:41:55.389 27572M] WARNING in dnsmasq core: DHCP packet received on wlan0 which has no address
*** [ DIAGNOSING ]: contents of /dev/shm
-rw------- 1 pihole pihole 84K ago 29 02:12 /dev/shm/FTL-clients
-rw------- 1 pihole pihole 244 ago 29 02:12 /dev/shm/FTL-counters
-rw------- 1 pihole pihole 4,0K ago 29 02:12 /dev/shm/FTL-dns-cache
-rw------- 1 pihole pihole 12K ago 29 02:12 /dev/shm/FTL-domains
-rw------- 1 pihole pihole 104 ago 29 02:12 /dev/shm/FTL-lock
-rw------- 1 pihole pihole 8,0K ago 29 02:12 /dev/shm/FTL-overTime
-rw------- 1 pihole pihole 4,0K ago 29 02:12 /dev/shm/FTL-per-client-regex
-rw------- 1 pihole pihole 672K ago 29 02:40 /dev/shm/FTL-queries
-rw------- 1 pihole pihole 12 ago 29 02:12 /dev/shm/FTL-settings
-rw------- 1 pihole pihole 80K ago 29 02:12 /dev/shm/FTL-strings
-rw------- 1 pihole pihole 308K ago 29 02:12 /dev/shm/FTL-upstreams
*** [ DIAGNOSING ]: contents of /etc
-rw-r--r-- 1 root root 24 ago 29 01:00 /etc/dnsmasq.conf
conf-dir=/etc/dnsmasq.d
-rw-r--r-- 1 root root 60 ago 29 02:24 /etc/resolv.conf
domain Dlink
nameserver 127.0.0.1
*** [ DIAGNOSING ]: Pi-hole diagnosis messages
count last timestamp type message blob1 blob2 blob3 blob4 blob5
------ ------------------- -------------------- ------------------------------------------------------------ -------------------- -------------------- -------------------- -------------------- --------------------
2 2022-08-29 02:41:55 DNSMASQ_WARN DHCP packet received on wlan0 which has no address
2 2022-08-29 02:41:52 DNSMASQ_WARN no address range available for DHCP request via lo
2 2022-08-29 02:41:52 DNSMASQ_WARN not using configured address 10.15.0.53 because it is in use
by the server or relay
*** [ DIAGNOSING ]: Locale
LANG=pt_BR.UTF-8
*** [ DIAGNOSING ]: Pi-hole log
-rw-r----- 1 pihole pihole 2,8M ago 29 02:42 /var/log/pihole/pihole.log
-----head of pihole.log------
Aug 29 01:00:47 dnsmasq[21250]: started, version pi-hole-2.87test8 cachesize 10000
Aug 29 01:00:47 dnsmasq[21250]: DNS service limited to local subnets
Aug 29 01:00:47 dnsmasq[21250]: compile time options: IPv6 GNU-getopt no-DBus no-UBus no-i18n IDN DHCP DHCPv6 Lua TFTP no-conntrack ipset no-nftset auth cryptohash DNSSEC loop-detect inotify dumpfile
Aug 29 01:00:47 dnsmasq[21250]: using nameserver 8.8.8.8#53
Aug 29 01:00:47 dnsmasq[21250]: using nameserver 8.8.4.4#53
Aug 29 01:00:47 dnsmasq[21250]: using only locally-known addresses for onion
Aug 29 01:00:47 dnsmasq[21250]: using only locally-known addresses for bind
Aug 29 01:00:47 dnsmasq[21250]: using only locally-known addresses for invalid
Aug 29 01:00:47 dnsmasq[21250]: using only locally-known addresses for localhost
Aug 29 01:00:47 dnsmasq[21250]: using only locally-known addresses for test
Aug 29 01:00:47 dnsmasq[21250]: read /etc/hosts - 5 addresses
Aug 29 01:00:47 dnsmasq[21250]: read /etc/pihole/custom.list - 0 addresses
Aug 29 01:00:47 dnsmasq[21250]: failed to load names from /etc/pihole/local.list: Arquivo ou diretΓ³rio inexistente
Aug 29 01:00:51 dnsmasq[21250]: read /etc/hosts - 5 addresses
Aug 29 01:00:51 dnsmasq[21250]: read /etc/pihole/custom.list - 0 addresses
Aug 29 01:00:51 dnsmasq[21250]: read /etc/pihole/local.list - 0 addresses
Aug 29 01:02:07 dnsmasq[21250]: query[A] 0.debian.pool.ntp.org from 127.0.0.1
Aug 29 01:02:07 dnsmasq[21250]: forwarded 0.debian.pool.ntp.org to 8.8.8.8
Aug 29 01:02:07 dnsmasq[21250]: forwarded 0.debian.pool.ntp.org to 8.8.4.4
Aug 29 01:02:07 dnsmasq[21250]: query[AAAA] 0.debian.pool.ntp.org from 127.0.0.1
-----tail of pihole.log------
Aug 29 02:41:49 dnsmasq[27572]: gravity blocked archswimming.com is ::
Aug 29 02:41:49 dnsmasq[27572]: query[AAAA] archswimming.com from fe80::b848:bedc:b6b5:7b01
Aug 29 02:41:49 dnsmasq[27572]: gravity blocked archswimming.com is ::
Aug 29 02:41:52 dnsmasq-dhcp[27572]: no address range available for DHCP request via lo
Aug 29 02:41:52 dnsmasq-dhcp[27572]: not using configured address 10.15.0.53 because it is in use by the server or relay
Aug 29 02:41:52 dnsmasq[27572]: query[A] 2.debian.pool.ntp.org from 127.0.0.1
Aug 29 02:41:52 dnsmasq[27572]: forwarded 2.debian.pool.ntp.org to 127.0.0.1#5335
Aug 29 02:41:52 dnsmasq[27572]: query[AAAA] 2.debian.pool.ntp.org from 127.0.0.1
Aug 29 02:41:52 dnsmasq[27572]: forwarded 2.debian.pool.ntp.org to 127.0.0.1#5335
Aug 29 02:41:55 dnsmasq-dhcp[27572]: DHCPDISCOVER(eth0) e4:5f:01:64:ad:8e
Aug 29 02:41:55 dnsmasq-dhcp[27572]: DHCPOFFER(eth0) 10.15.0.54 e4:5f:01:64:ad:8e
Aug 29 02:41:55 dnsmasq-dhcp[27572]: DHCP packet received on wlan0 which has no address
Aug 29 02:41:57 dnsmasq[27572]: query[A] 2.debian.pool.ntp.org.Dlink from 127.0.0.1
Aug 29 02:41:57 dnsmasq[27572]: forwarded 2.debian.pool.ntp.org.Dlink to 127.0.0.1#5335
Aug 29 02:41:57 dnsmasq[27572]: query[AAAA] 2.debian.pool.ntp.org.Dlink from 127.0.0.1
Aug 29 02:41:57 dnsmasq[27572]: forwarded 2.debian.pool.ntp.org.Dlink to 127.0.0.1#5335
Aug 29 02:42:02 dnsmasq[27572]: query[A] 2.debian.pool.ntp.org.Dlink from 127.0.0.1
Aug 29 02:42:02 dnsmasq[27572]: forwarded 2.debian.pool.ntp.org.Dlink to 127.0.0.1#5335
Aug 29 02:42:02 dnsmasq[27572]: query[AAAA] 2.debian.pool.ntp.org.Dlink from 127.0.0.1
Aug 29 02:42:02 dnsmasq[27572]: forwarded 2.debian.pool.ntp.org.Dlink to 127.0.0.1#5335
********************************************
********************************************
[β] ** FINISHED DEBUGGING! **
* The debug log can be uploaded to tricorder.pi-hole.net for sharing with developers only.
[?] Would you like to upload the log? [y/N] y
* Using curl for transmission.
* curl failed, contact Pi-hole support for assistance.
* Error message: curl: (6) Could not resolve host: tricorder.pi-hole.net
[β] 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/pihole_debug.log
As you can see I can't even send the debug log.
I disabled the DHCP server on my router and I'm using the Pi-hole as DHCP. I can acces the internet but all queries return with SERVFAIL.
My router ip is 10.15.0.5 and the DHCP range is 10.15.0.50 until 10.15.0.150. The raspberry ip is 10.15.0.53 (static)
What I'am doing wrong?